Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.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.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",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.0009187/0.0009187, allocations: 98.81 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009589/0.0009588, allocations: 185.5 kB / 16.92 MB, free: 6.754 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.322/1.322, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.659/0.659, allocations: 115.5 MB / 407.6 MB, free: 2.738 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002877/0.0002878, allocations: 15.98 kB / 496 MB, free: 6.258 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1419, allocations: 77.53 MB / 0.5601 GB, free: 8.934 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01218/0.1541, allocations: 11.28 MB / 0.5711 GB, free: 13.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007361/0.1615, allocations: 5.268 MB / 0.5762 GB, free: 8.336 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007629/0.1623, allocations: 31.88 kB / 0.5762 GB, free: 8.305 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009343/0.1632, allocations: 318 kB / 0.5766 GB, free: 7.992 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001371/0.1646, allocations: 0.5912 MB / 0.5771 GB, free: 7.398 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.1661, allocations: 0.6187 MB / 0.5777 GB, free: 6.781 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003179/0.1693, allocations: 3.601 MB / 0.5813 GB, free: 3.172 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2598/0.429, allocations: 4.085 MB / 0.5852 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001874/0.431, allocations: 0.7559 MB / 0.586 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001752/0.4327, allocations: 1.038 MB / 0.587 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002286/0.433, allocations: 93.89 kB / 0.5871 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001007/0.434, allocations: 440.3 kB / 0.5875 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009347/0.4349, allocations: 0.7242 MB / 0.5882 GB, free: 14.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009779/0.4359, allocations: 0.8042 MB / 0.589 GB, free: 13.76 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004443/0.4404, allocations: 3.373 MB / 0.5923 GB, free: 13.51 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.4404, allocations: 0 / 0.5923 GB, free: 13.51 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.286e-06/0.4404, allocations: 5.125 kB / 0.5923 GB, free: 13.51 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.904e-05/0.4405, allocations: 0 / 0.5923 GB, free: 13.51 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: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.003846/0.4444, allocations: 1.595 MB / 0.5938 GB, free: 12.69 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.4444, allocations: 13.5 kB / 0.5939 GB, free: 12.69 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003897/0.4448, allocations: 252.5 kB / 0.5941 GB, free: 12.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002321/0.4471, allocations: 454.4 kB / 0.5945 GB, free: 12.56 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001939/0.4491, allocations: 1.093 MB / 0.5956 GB, free: 12.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.975e-05/0.4492, allocations: 113.6 kB / 0.5957 GB, free: 12.24 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003133/0.4495, allocations: 156.6 kB / 0.5959 GB, free: 12.24 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005333/0.4549, allocations: 2.746 MB / 0.5985 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.844e-05/0.455, allocations: 9.438 kB / 0.5986 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002032/0.4552, allocations: 62.12 kB / 0.5986 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003669/0.4555, allocations: 145.2 kB / 0.5988 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003824/0.4594, allocations: 2.283 MB / 0.601 GB, free: 12 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01036/0.4697, allocations: 10.45 MB / 0.6112 GB, free: 4.918 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008557/0.4706, allocations: 0.5642 MB / 0.6117 GB, free: 4.617 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005321/0.4712, allocations: 383.5 kB / 0.6121 GB, free: 4.422 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.344e-05/0.4713, allocations: 95 kB / 0.6122 GB, free: 4.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.4713, allocations: 36.92 kB / 0.6122 GB, free: 4.277 MB / 446.1 MB Notification: Performance of pre-optimization done (n=36): time 2.234e-06/0.4713, allocations: 0 / 0.6122 GB, free: 4.277 MB / 446.1 MB Notification: Performance of matching and sorting (n=52): time 0.01841/0.4897, allocations: 5.75 MB / 0.6178 GB, free: 1.293 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/0.4898, allocations: 57.72 kB / 0.6179 GB, free: 1.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.4908, allocations: 0.8794 MB / 0.6188 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.968e-05/0.4909, allocations: 32.52 kB / 0.6188 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003022/0.4912, allocations: 0.7627 MB / 0.6195 GB, free: 32 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001773/0.4914, allocations: 181 kB / 0.6197 GB, free: 15.88 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.4915, allocations: 74.78 kB / 0.6198 GB, free: 15.82 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.4917, allocations: 395.6 kB / 0.6202 GB, free: 15.45 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008979/0.4926, allocations: 0.6248 MB / 0.6208 GB, free: 15.12 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001187/0.4938, allocations: 0.992 MB / 0.6217 GB, free: 14.32 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002107/0.4959, allocations: 1.646 MB / 0.6233 GB, free: 13.21 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.4959, allocations: 7.062 kB / 0.6234 GB, free: 13.21 MB / 462.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.008411/0.5043, allocations: 3.138 MB / 0.6264 GB, free: 11.64 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002704/0.5046, allocations: 430.3 kB / 0.6268 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.5046, allocations: 13.06 kB / 0.6268 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007552/0.5122, allocations: 1.748 MB / 0.6285 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008681/0.5131, allocations: 229.9 kB / 0.6288 GB, free: 10.19 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01365/0.5268, allocations: 9.911 MB / 0.6384 GB, free: 424 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/0.5282, allocations: 171.6 kB / 0.6386 GB, free: 252 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000151/0.5284, allocations: 44 kB / 0.6386 GB, free: 208 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.365e-06/0.5284, allocations: 4 kB / 0.6387 GB, free: 204 kB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007308/0.5357, allocations: 2.579 MB / 0.6412 GB, free: 13.69 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.727e-05/0.5358, allocations: 8 kB / 0.6412 GB, free: 13.68 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005133/0.5409, allocations: 1.16 MB / 0.6423 GB, free: 12.52 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009226/0.5418, allocations: 248.9 kB / 0.6425 GB, free: 12.29 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007266/0.5491, allocations: 5.429 MB / 0.6479 GB, free: 6.621 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/0.5503, allocations: 135.8 kB / 0.648 GB, free: 6.488 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.996e-05/0.5504, allocations: 47.98 kB / 0.648 GB, free: 6.441 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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): 95 * 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): 2 systems {(2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001584/0.552, allocations: 0.8395 MB / 0.6488 GB, free: 5.609 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002154/0.5522, allocations: 82.47 kB / 0.6489 GB, free: 5.531 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007864/0.5601, allocations: 2.609 MB / 0.6515 GB, free: 2.906 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.5601, allocations: 4 kB / 0.6515 GB, free: 2.902 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.5601, allocations: 4.062 kB / 0.6515 GB, free: 2.898 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.5601, allocations: 7.984 kB / 0.6515 GB, free: 2.891 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01106/0.5712, allocations: 4.525 MB / 0.6559 GB, free: 14.28 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/0.5712, allocations: 8.031 kB / 0.6559 GB, free: 14.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004314/0.5717, allocations: 90.92 kB / 0.656 GB, free: 14.19 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006897/0.5786, allocations: 1.605 MB / 0.6576 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.022e-05/0.5787, allocations: 14.72 kB / 0.6576 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01236/0.591, allocations: 9.469 MB / 0.6668 GB, free: 2.582 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.5911, allocations: 4.031 kB / 0.6668 GB, free: 2.578 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007748/0.5988, allocations: 2.575 MB / 0.6693 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005761/0.5994, allocations: 276.1 kB / 0.6696 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001552/0.5996, allocations: 8 kB / 0.6696 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008363/0.6004, allocations: 123.8 kB / 0.6697 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002203/0.6007, allocations: 51.88 kB / 0.6698 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-05/0.6007, allocations: 16 kB / 0.6698 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009425/0.6017, allocations: 0.6307 MB / 0.6704 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.41e-07/0.6017, allocations: 0 / 0.6704 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00229/0.604, allocations: 0.582 MB / 0.671 GB, free: 14.27 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 38 * 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): 2 systems {(2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007905/0.6119, allocations: 3.152 MB / 0.6741 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005142/0.617, allocations: 3.092 MB / 0.6771 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.6171, allocations: 4.188 kB / 0.6771 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001807/0.6189, allocations: 1.19 MB / 0.6782 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/0.6203, allocations: 226.6 kB / 0.6785 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03281/0.6531, allocations: 14.8 MB / 0.6929 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001752/0.6549, allocations: 1.622 MB / 0.6945 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001345/0.6563, allocations: 486.2 kB / 0.695 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006979/0.657, allocations: 496 kB / 0.6954 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of SimCode: time 9.52e-07/0.657, allocations: 4 kB / 0.6954 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05559/0.7126, allocations: 33.67 MB / 0.7283 GB, free: 3.352 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002003/0.7129, allocations: 259.4 kB / 0.7286 GB, free: 3.098 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.194/2.907, allocations: 0 / 0.7286 GB, free: 3.098 MB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)