Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.001139/0.001139, allocations: 101.9 kB / 16.27 MB, free: 6.344 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.00118/0.00118, allocations: 188.5 kB / 17.2 MB, free: 5.949 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.316/1.316, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7311/0.7311, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 63.91 kB / 0.4912 GB, free: 7.332 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3259, allocations: 77.93 MB / 0.5673 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01423/0.3402, allocations: 14.02 MB / 0.581 GB, free: 23.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01163/0.3519, allocations: 9.39 MB / 0.5902 GB, free: 16.26 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001494/0.3534, allocations: 53.81 kB / 0.5902 GB, free: 16.24 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003527/0.357, allocations: 1.681 MB / 0.5919 GB, free: 14.95 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004558/0.3616, allocations: 1.55 MB / 0.5934 GB, free: 13.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001718/0.3633, allocations: 0.7516 MB / 0.5941 GB, free: 13.14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003275/0.3666, allocations: 2.51 MB / 0.5965 GB, free: 11.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001522/0.3681, allocations: 1.423 MB / 0.5979 GB, free: 10.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001479/0.3696, allocations: 1.033 MB / 0.5989 GB, free: 10.36 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001079/0.3707, allocations: 1.156 MB / 0.6001 GB, free: 9.195 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001822/0.3709, allocations: 164 kB / 0.6002 GB, free: 9.035 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001236/0.3722, allocations: 0.7877 MB / 0.601 GB, free: 8.246 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003555/0.3725, allocations: 0.6232 MB / 0.6016 GB, free: 7.621 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006041/0.3731, allocations: 0.9368 MB / 0.6025 GB, free: 6.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001791/0.3749, allocations: 2.726 MB / 0.6052 GB, free: 3.945 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3749, allocations: 0 / 0.6052 GB, free: 3.945 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.375, allocations: 0 / 0.6052 GB, free: 3.945 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.801e-05/0.375, allocations: 0 / 0.6052 GB, free: 3.945 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003027/0.378, allocations: 2.139 MB / 0.6073 GB, free: 1.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.3781, allocations: 12.62 kB / 0.6073 GB, free: 1.738 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001821/0.3783, allocations: 198.4 kB / 0.6075 GB, free: 1.535 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01093/0.3892, allocations: 2.085 MB / 0.6095 GB, free: 15.44 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002476/0.3917, allocations: 1.193 MB / 0.6107 GB, free: 14.19 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.269e-05/0.3918, allocations: 94.73 kB / 0.6108 GB, free: 14.1 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002324/0.392, allocations: 123.9 kB / 0.6109 GB, free: 13.98 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005523/0.3976, allocations: 2.682 MB / 0.6135 GB, free: 11.14 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.786e-05/0.3976, allocations: 7.938 kB / 0.6135 GB, free: 11.14 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001622/0.3978, allocations: 51.98 kB / 0.6136 GB, free: 11.09 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006366/0.3984, allocations: 186.1 kB / 0.6137 GB, free: 10.9 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007462/0.4059, allocations: 2.791 MB / 0.6165 GB, free: 8.102 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01494/0.4209, allocations: 10.51 MB / 0.6267 GB, free: 13.01 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006669/0.4275, allocations: 2.531 MB / 0.6292 GB, free: 10.41 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003052/0.4306, allocations: 1.292 MB / 0.6305 GB, free: 9.109 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.137e-05/0.4307, allocations: 12.98 kB / 0.6305 GB, free: 9.098 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.4308, allocations: 43.56 kB / 0.6305 GB, free: 9.047 MB / 478.1 MB Notification: Performance of pre-optimization done (n=89): time 2.896e-06/0.4308, allocations: 0 / 0.6305 GB, free: 9.047 MB / 478.1 MB Notification: Performance of matching and sorting (n=131): time 0.04585/0.4766, allocations: 13.36 MB / 0.6436 GB, free: 11.47 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.4767, allocations: 68.72 kB / 0.6436 GB, free: 11.39 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001461/0.4782, allocations: 1.113 MB / 0.6447 GB, free: 10.27 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001275/0.4783, allocations: 45.7 kB / 0.6448 GB, free: 10.21 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004632/0.4788, allocations: 0.7155 MB / 0.6455 GB, free: 9.492 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004063/0.4792, allocations: 453.5 kB / 0.6459 GB, free: 9.043 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004903/0.4797, allocations: 259.4 kB / 0.6461 GB, free: 8.785 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.4798, allocations: 365.9 kB / 0.6465 GB, free: 8.422 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003232/0.483, allocations: 1.339 MB / 0.6478 GB, free: 7.082 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003514/0.4866, allocations: 1.6 MB / 0.6494 GB, free: 5.383 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006795/0.4934, allocations: 2.994 MB / 0.6523 GB, free: 2.293 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.106e-05/0.4934, allocations: 4 kB / 0.6523 GB, free: 2.289 MB / 494.1 MB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01121/0.5046, allocations: 4.442 MB / 0.6566 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.5047, allocations: 8 kB / 0.6566 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.5047, allocations: 8 kB / 0.6566 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005179/0.5099, allocations: 1.447 MB / 0.658 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002032/0.5119, allocations: 435.3 kB / 0.6585 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02522/0.5371, allocations: 26.69 MB / 0.6845 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002519/0.5397, allocations: 307.4 kB / 0.6848 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002237/0.5399, allocations: 63.97 kB / 0.6849 GB, free: 14.98 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008123/0.5408, allocations: 442.4 kB / 0.6853 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003657/0.5411, allocations: 158.3 kB / 0.6855 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01142/0.5526, allocations: 4.457 MB / 0.6898 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.5526, allocations: 15.94 kB / 0.6898 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.681e-05/0.5526, allocations: 12 kB / 0.6898 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.5527, allocations: 3.984 kB / 0.6898 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01505/0.5677, allocations: 6.774 MB / 0.6965 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/0.5677, allocations: 8.281 kB / 0.6965 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001821/0.5696, allocations: 383.3 kB / 0.6968 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004652/0.5742, allocations: 1.308 MB / 0.6981 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001282/0.5744, allocations: 39.97 kB / 0.6981 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0231/0.5975, allocations: 25.51 MB / 0.7231 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.5975, allocations: 0 / 0.7231 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01071/0.6082, allocations: 4.212 MB / 0.7272 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008977/0.6092, allocations: 455 kB / 0.7276 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003738/0.6095, allocations: 24 kB / 0.7276 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002161/0.6117, allocations: 311.5 kB / 0.7279 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004189/0.6121, allocations: 124.7 kB / 0.728 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001263/0.6123, allocations: 47.97 kB / 0.7281 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009963/0.6133, allocations: 0.7526 MB / 0.7288 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6133, allocations: 4 kB / 0.7288 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002116/0.6154, allocations: 0.5664 MB / 0.7294 GB, free: 15.21 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01078/0.6262, allocations: 4.797 MB / 0.7341 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01206/0.6383, allocations: 5.509 MB / 0.7394 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/0.6383, allocations: 3.938 kB / 0.7395 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007069/0.6454, allocations: 3.484 MB / 0.7429 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003102/0.6485, allocations: 0.5495 MB / 0.7434 GB, free: 452 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2665/0.9151, allocations: 20.34 MB / 0.7633 GB, free: 149.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001083/0.9162, allocations: 1.477 MB / 0.7647 GB, free: 148.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001658/0.9179, allocations: 420.1 kB / 0.7651 GB, free: 148.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007015/0.9186, allocations: 0.6257 MB / 0.7657 GB, free: 147.8 MB / 0.5762 GB Notification: Performance of SimCode: time 9.12e-07/0.9186, allocations: 0 / 0.7657 GB, free: 147.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08659/1.005, allocations: 51.25 MB / 0.8158 GB, free: 105.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.709/10.71, allocations: 7.734 kB / 0.8158 GB, free: 105.8 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)