Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",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.001195/0.001195, allocations: 107.3 kB / 16.4 MB, free: 6.508 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.001488/0.001488, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7324/0.7324, allocations: 115.3 MB / 406.5 MB, free: 6.203 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 65.97 kB / 0.5572 GB, free: 32.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1327, allocations: 76.19 MB / 0.6316 GB, free: 4.93 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.007962/0.1407, allocations: 6.137 MB / 0.6376 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005332/0.146, allocations: 3.168 MB / 0.6407 GB, free: 11.58 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007661/0.1468, allocations: 27.81 kB / 0.6407 GB, free: 11.55 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002697/0.1496, allocations: 0.9376 MB / 0.6416 GB, free: 10.61 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001388/0.151, allocations: 473.5 kB / 0.6421 GB, free: 10.15 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.1522, allocations: 0.4972 MB / 0.6426 GB, free: 9.652 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00146/0.1537, allocations: 1.096 MB / 0.6436 GB, free: 8.551 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/0.1547, allocations: 0.6416 MB / 0.6443 GB, free: 7.906 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006894/0.1554, allocations: 446.3 kB / 0.6447 GB, free: 7.469 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007002/0.1561, allocations: 474.2 kB / 0.6451 GB, free: 7.004 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001271/0.1563, allocations: 56 kB / 0.6452 GB, free: 6.949 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008542/0.1571, allocations: 487 kB / 0.6457 GB, free: 6.473 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002823/0.1574, allocations: 283.2 kB / 0.6459 GB, free: 6.195 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004668/0.1579, allocations: 409.9 kB / 0.6463 GB, free: 5.793 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001427/0.1593, allocations: 1.184 MB / 0.6475 GB, free: 4.605 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.1594, allocations: 0 / 0.6475 GB, free: 4.605 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1594, allocations: 0 / 0.6475 GB, free: 4.605 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.291e-05/0.1594, allocations: 0 / 0.6475 GB, free: 4.605 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001846/0.1613, allocations: 1.063 MB / 0.6485 GB, free: 3.488 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.1613, allocations: 12.03 kB / 0.6485 GB, free: 3.477 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001355/0.1614, allocations: 114.7 kB / 0.6486 GB, free: 3.355 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001509/0.163, allocations: 215.7 kB / 0.6488 GB, free: 3.145 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.164, allocations: 0.5921 MB / 0.6494 GB, free: 2.512 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.885e-05/0.164, allocations: 53.66 kB / 0.6495 GB, free: 2.461 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.948e-05/0.1641, allocations: 64.36 kB / 0.6495 GB, free: 2.398 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/0.1655, allocations: 1.03 MB / 0.6505 GB, free: 1.254 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.201e-05/0.1655, allocations: 15.78 kB / 0.6505 GB, free: 1.238 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.708e-05/0.1656, allocations: 31.97 kB / 0.6506 GB, free: 1.207 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.213e-05/0.1657, allocations: 69.28 kB / 0.6506 GB, free: 1.141 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/0.1667, allocations: 0.6918 MB / 0.6513 GB, free: 460 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004851/0.1716, allocations: 5.737 MB / 0.6569 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007928/0.1724, allocations: 0.5977 MB / 0.6575 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007922/0.1732, allocations: 441 kB / 0.6579 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.523e-05/0.1732, allocations: 7.781 kB / 0.6579 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.1733, allocations: 42.56 kB / 0.658 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 2.435e-06/0.1733, allocations: 0 / 0.658 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.004147/0.1774, allocations: 2.01 MB / 0.6599 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.1775, allocations: 59.34 kB / 0.66 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004626/0.178, allocations: 462.8 kB / 0.6604 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/0.178, allocations: 33.7 kB / 0.6605 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002248/0.1782, allocations: 387 kB / 0.6608 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.1783, allocations: 149.8 kB / 0.661 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/0.1785, allocations: 114.2 kB / 0.6611 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1787, allocations: 362.8 kB / 0.6614 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003311/0.179, allocations: 241.2 kB / 0.6617 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004435/0.1794, allocations: 453 kB / 0.6621 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008469/0.1803, allocations: 0.748 MB / 0.6628 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.1803, allocations: 4 kB / 0.6628 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001755/0.1821, allocations: 1.043 MB / 0.6638 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.1821, allocations: 9.406 kB / 0.6639 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.1821, allocations: 11.94 kB / 0.6639 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009978/0.1831, allocations: 319.2 kB / 0.6642 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003193/0.1835, allocations: 95.83 kB / 0.6643 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007362/0.1908, allocations: 7.481 MB / 0.6716 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005176/0.1914, allocations: 28.03 kB / 0.6716 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.333e-05/0.1915, allocations: 31.98 kB / 0.6716 GB, free: 10.24 MB / 0.5137 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004901/0.192, allocations: 245.6 kB / 0.6719 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001466/0.1922, allocations: 59.28 kB / 0.6719 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001656/0.1938, allocations: 0.8884 MB / 0.6728 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.1938, allocations: 4 kB / 0.6728 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.1939, allocations: 4 kB / 0.6728 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.1939, allocations: 0 / 0.6728 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002715/0.1966, allocations: 1.68 MB / 0.6744 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/0.1966, allocations: 4 kB / 0.6744 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001711/0.1968, allocations: 39.91 kB / 0.6745 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008835/0.1977, allocations: 311.3 kB / 0.6748 GB, free: 6.883 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.109e-05/0.1977, allocations: 12 kB / 0.6748 GB, free: 6.871 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006789/0.2045, allocations: 7.471 MB / 0.6821 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.2045, allocations: 7.938 kB / 0.6821 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/0.2062, allocations: 0.9835 MB / 0.683 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003107/0.2065, allocations: 176.2 kB / 0.6832 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.2066, allocations: 12 kB / 0.6832 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002918/0.2069, allocations: 31.91 kB / 0.6833 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.207, allocations: 39.89 kB / 0.6833 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/0.2071, allocations: 8 kB / 0.6833 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003353/0.2074, allocations: 314.9 kB / 0.6836 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2074, allocations: 0 / 0.6836 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008084/0.2082, allocations: 196 kB / 0.6838 GB, free: 13.02 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001867/0.2101, allocations: 1.552 MB / 0.6853 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002052/0.2122, allocations: 1.187 MB / 0.6865 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.827e-06/0.2122, allocations: 7.938 kB / 0.6865 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001196/0.2134, allocations: 0.8581 MB / 0.6873 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009667/0.2144, allocations: 199 kB / 0.6875 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008223/0.2226, allocations: 5.873 MB / 0.6932 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007113/0.2233, allocations: 0.9921 MB / 0.6942 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003302/0.2237, allocations: 101.3 kB / 0.6943 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002752/0.224, allocations: 231.3 kB / 0.6945 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of SimCode: time 5.31e-07/0.224, allocations: 0 / 0.6945 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04383/0.2678, allocations: 15.66 MB / 0.7098 GB, free: 2.129 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.854/10.12, allocations: 0 / 0.7098 GB, free: 2.129 MB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)