Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004686/0.004686, allocations: 97.84 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 197.1 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00245/0.00245, allocations: 274.2 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.083/1.083, allocations: 178.6 MB / 0.5074 GB, free: 4.488 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002714/0.002714, allocations: 98.28 kB / 0.6943 GB, free: 3.598 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4732/0.4759, allocations: 89.13 MB / 0.7813 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01549/0.4915, allocations: 10.08 MB / 0.7912 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007101/0.4986, allocations: 3.175 MB / 0.7943 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/0.4998, allocations: 37.78 kB / 0.7943 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002049/0.5019, allocations: 0.594 MB / 0.7949 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002225/0.5041, allocations: 0.7456 MB / 0.7956 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002051/0.5062, allocations: 0.7417 MB / 0.7964 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004231/0.5104, allocations: 2.993 MB / 0.7993 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003793/0.5143, allocations: 2.582 MB / 0.8018 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002425/0.5167, allocations: 1.254 MB / 0.803 GB, free: 220 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002965/0.5197, allocations: 1.568 MB / 0.8046 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0008023/0.5205, allocations: 234.8 kB / 0.8048 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001865/0.5224, allocations: 0.4975 MB / 0.8053 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001958/0.5243, allocations: 1.066 MB / 0.8063 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002623/0.527, allocations: 1.111 MB / 0.8074 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005914/0.5329, allocations: 3.698 MB / 0.811 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.5329, allocations: 3.938 kB / 0.811 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.783e-06/0.533, allocations: 0 / 0.811 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001221/0.5331, allocations: 0 / 0.811 GB, free: 11.12 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.007072/0.5402, allocations: 2.19 MB / 0.8131 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.5402, allocations: 9.188 kB / 0.8132 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001022/0.5413, allocations: 269.5 kB / 0.8134 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009641/0.5509, allocations: 1.317 MB / 0.8147 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004133/0.5551, allocations: 1.312 MB / 0.816 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001499/0.5553, allocations: 116.4 kB / 0.8161 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009575/0.5562, allocations: 156.4 kB / 0.8162 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009892/0.5661, allocations: 3.432 MB / 0.8196 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-05/0.5662, allocations: 2.688 kB / 0.8196 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006273/0.5669, allocations: 74.86 kB / 0.8197 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004038/0.5673, allocations: 208.6 kB / 0.8199 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007768/0.5751, allocations: 3.122 MB / 0.8229 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02547/0.6006, allocations: 13.56 MB / 0.8362 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003217/0.6038, allocations: 1.724 MB / 0.8378 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002448/0.6063, allocations: 1.44 MB / 0.8392 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001328/0.6065, allocations: 13 kB / 0.8393 GB, free: 2.805 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/0.6065, allocations: 43.56 kB / 0.8393 GB, free: 2.754 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=104): time 2.936e-06/0.6065, allocations: 0 / 0.8393 GB, free: 2.754 MB / 0.5919 GB Notification: Performance of matching and sorting (n=183): time 0.1618/0.7683, allocations: 36.73 MB / 0.8752 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.441e-05/0.7684, allocations: 73.41 kB / 0.8752 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001795/0.7702, allocations: 1.05 MB / 0.8763 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0003068/0.7705, allocations: 53.7 kB / 0.8763 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006392/0.7712, allocations: 0.8132 MB / 0.8771 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007932/0.772, allocations: 0.6585 MB / 0.8777 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001037/0.773, allocations: 359.5 kB / 0.8781 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.7732, allocations: 301.1 kB / 0.8784 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003111/0.7763, allocations: 1.932 MB / 0.8803 GB, free: 8.586 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003429/0.7797, allocations: 2.289 MB / 0.8825 GB, free: 6.176 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006651/0.7864, allocations: 4.39 MB / 0.8868 GB, free: 1.66 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.908e-06/0.7864, allocations: 0 / 0.8868 GB, free: 1.66 MB / 0.6387 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02251/0.8089, allocations: 9.03 MB / 0.8956 GB, free: 8.602 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.985e-05/0.809, allocations: 12.03 kB / 0.8956 GB, free: 8.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.226e-05/0.809, allocations: 11.98 kB / 0.8956 GB, free: 8.578 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01899/0.828, allocations: 4.983 MB / 0.9005 GB, free: 3.582 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000944/0.829, allocations: 195.6 kB / 0.9007 GB, free: 3.391 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06515/0.8942, allocations: 38.92 MB / 0.9387 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00215/0.8963, allocations: 103.9 kB / 0.9388 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003742/0.8967, allocations: 68 kB / 0.9389 GB, free: 11.73 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001706/0.8984, allocations: 0.8095 MB / 0.9396 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004169/0.8989, allocations: 143.1 kB / 0.9398 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02241/0.9213, allocations: 8.89 MB / 0.9485 GB, free: 1.836 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.232e-05/0.9213, allocations: 20 kB / 0.9485 GB, free: 1.816 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.84e-05/0.9214, allocations: 28 kB / 0.9485 GB, free: 1.789 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.812e-05/0.9215, allocations: 7.969 kB / 0.9485 GB, free: 1.781 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0302/0.9517, allocations: 13.41 MB / 0.9616 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.951e-05/0.9517, allocations: 7.938 kB / 0.9616 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005359/0.9523, allocations: 119.8 kB / 0.9617 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01798/0.9703, allocations: 4.841 MB / 0.9665 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003104/0.9706, allocations: 39.98 kB / 0.9665 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0608/1.031, allocations: 36.86 MB / 1.003 GB, free: 9.75 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.004e-05/1.031, allocations: 11.88 kB / 1.003 GB, free: 9.738 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02128/1.053, allocations: 8.589 MB / 1.011 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001393/1.054, allocations: 0.6483 MB / 1.012 GB, free: 400 kB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000448/1.055, allocations: 32 kB / 1.012 GB, free: 368 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001424/1.056, allocations: 91.89 kB / 1.012 GB, free: 276 kB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000775/1.057, allocations: 169.6 kB / 1.012 GB, free: 104 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001698/1.057, allocations: 48 kB / 1.012 GB, free: 56 kB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001125/1.058, allocations: 0.7343 MB / 1.013 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.51e-07/1.058, allocations: 0 / 1.013 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00314/1.061, allocations: 1.008 MB / 1.014 GB, free: 14.3 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02098/1.082, allocations: 9.203 MB / 1.023 GB, free: 5.004 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01089/1.093, allocations: 5.951 MB / 1.028 GB, free: 15 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/1.093, allocations: 4 kB / 1.028 GB, free: 15 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.008475/1.102, allocations: 3.944 MB / 1.032 GB, free: 11 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001566/1.103, allocations: 228.8 kB / 1.032 GB, free: 10.78 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06509/1.168, allocations: 31.08 MB / 1.063 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002538/1.171, allocations: 1.855 MB / 1.065 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000964/1.172, allocations: 363.4 kB / 1.065 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009377/1.173, allocations: 0.6125 MB / 1.066 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of SimCode: time 7.21e-07/1.173, allocations: 0 / 1.066 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4413/1.614, allocations: 76.17 MB / 1.14 GB, free: 226 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/14.13, allocations: 11.69 kB / 1.14 GB, free: 226 MB / 0.8262 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)