Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_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.000728/0.0007279, allocations: 93.73 kB / 16.02 MB, free: 84 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.000855/0.000855, allocations: 184.3 kB / 16.92 MB, free: 6.934 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.253/1.253, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6537/0.6537, allocations: 115.5 MB / 407.6 MB, free: 2.656 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002858/0.0002859, allocations: 9.25 kB / 496 MB, free: 6.238 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1353, allocations: 77.53 MB / 0.5601 GB, free: 8.902 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.004933/0.1403, allocations: 4.703 MB / 0.5647 GB, free: 4.176 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00412/0.1444, allocations: 3.281 MB / 0.5679 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001535/0.1446, allocations: 11.94 kB / 0.5679 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005032/0.1451, allocations: 171.1 kB / 0.568 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006827/0.1458, allocations: 346.4 kB / 0.5684 GB, free: 372 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004868/0.1463, allocations: 251.5 kB / 0.5686 GB, free: 120 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008697/0.1472, allocations: 0.853 MB / 0.5694 GB, free: 15.26 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001132/0.1483, allocations: 0.8323 MB / 0.5702 GB, free: 14.41 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002519/0.1486, allocations: 211.2 kB / 0.5704 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003506/0.149, allocations: 271 kB / 0.5707 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.965e-05/0.149, allocations: 16 kB / 0.5707 GB, free: 13.92 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004654/0.1495, allocations: 331.4 kB / 0.571 GB, free: 13.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001281/0.1496, allocations: 139.6 kB / 0.5712 GB, free: 13.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001903/0.1498, allocations: 228.6 kB / 0.5714 GB, free: 13.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000692/0.1505, allocations: 0.7983 MB / 0.5722 GB, free: 12.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1505, allocations: 3.984 kB / 0.5722 GB, free: 12.42 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1505, allocations: 0 / 0.5722 GB, free: 12.42 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.1506, allocations: 0 / 0.5722 GB, free: 12.42 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001159/0.1517, allocations: 0.7231 MB / 0.5729 GB, free: 11.65 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.1518, allocations: 12.03 kB / 0.5729 GB, free: 11.64 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.719e-05/0.1519, allocations: 70.72 kB / 0.573 GB, free: 11.56 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002746/0.1546, allocations: 0.675 MB / 0.5736 GB, free: 10.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006194/0.1552, allocations: 455.9 kB / 0.5741 GB, free: 10.4 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.1553, allocations: 24.97 kB / 0.5741 GB, free: 10.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.419e-05/0.1554, allocations: 35.94 kB / 0.5741 GB, free: 10.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/0.1569, allocations: 0.8356 MB / 0.5749 GB, free: 9.477 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.1569, allocations: 0 / 0.5749 GB, free: 9.477 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.111e-05/0.157, allocations: 20 kB / 0.5749 GB, free: 9.457 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001694/0.1571, allocations: 60.58 kB / 0.575 GB, free: 9.398 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002054/0.1592, allocations: 0.9311 MB / 0.5759 GB, free: 8.465 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00355/0.1628, allocations: 2.863 MB / 0.5787 GB, free: 5.387 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00167/0.1645, allocations: 0.5566 MB / 0.5793 GB, free: 4.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007526/0.1652, allocations: 312.6 kB / 0.5795 GB, free: 4.512 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001021/0.1653, allocations: 89.05 kB / 0.5796 GB, free: 4.406 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.1654, allocations: 34.55 kB / 0.5797 GB, free: 4.363 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.633e-06/0.1654, allocations: 0 / 0.5797 GB, free: 4.363 MB / 446.1 MB Notification: Performance of matching and sorting (n=32): time 0.01245/0.1778, allocations: 3.539 MB / 0.5831 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.1779, allocations: 59.41 kB / 0.5832 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004303/0.1783, allocations: 396.5 kB / 0.5836 GB, free: 316 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.439e-05/0.1784, allocations: 33.64 kB / 0.5836 GB, free: 276 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.1785, allocations: 231.9 kB / 0.5838 GB, free: 40 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.2457/0.4242, allocations: 108.4 kB / 0.5839 GB, free: 31.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.219e-05/0.4243, allocations: 35.5 kB / 0.5839 GB, free: 31.15 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.146e-05/0.4244, allocations: 345.9 kB / 0.5843 GB, free: 30.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/0.4255, allocations: 391 kB / 0.5847 GB, free: 30.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/0.4265, allocations: 473.4 kB / 0.5851 GB, free: 30.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00194/0.4285, allocations: 0.8436 MB / 0.5859 GB, free: 30.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.4285, allocations: 0.8438 kB / 0.5859 GB, free: 30.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.005932/0.4344, allocations: 1.684 MB / 0.5876 GB, free: 30.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.806e-05/0.4345, allocations: 150.5 kB / 0.5877 GB, free: 30.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.4345, allocations: 2.062 kB / 0.5877 GB, free: 30.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004445/0.439, allocations: 0.931 MB / 0.5886 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006402/0.4396, allocations: 132.5 kB / 0.5888 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008082/0.4477, allocations: 6.221 MB / 0.5948 GB, free: 25.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000807/0.4485, allocations: 113.3 kB / 0.5949 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.724e-05/0.4486, allocations: 18.39 kB / 0.595 GB, free: 25.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.797e-06/0.4486, allocations: 4.094 kB / 0.595 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005085/0.4537, allocations: 1.609 MB / 0.5965 GB, free: 25.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.4537, allocations: 4.094 kB / 0.5965 GB, free: 25.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003152/0.4569, allocations: 0.6771 MB / 0.5972 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006489/0.4575, allocations: 140.4 kB / 0.5973 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004984/0.4625, allocations: 5.333 MB / 0.6025 GB, free: 20.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007685/0.4633, allocations: 106.7 kB / 0.6026 GB, free: 20.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-05/0.4634, allocations: 17.58 kB / 0.6027 GB, free: 20.82 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003589/0.4637, allocations: 328.8 kB / 0.603 GB, free: 20.58 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.159e-05/0.4638, allocations: 40.11 kB / 0.603 GB, free: 20.56 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005123/0.469, allocations: 1.572 MB / 0.6045 GB, free: 20.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.469, allocations: 6.938 kB / 0.6045 GB, free: 20.15 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.469, allocations: 2.781 kB / 0.6046 GB, free: 20.15 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.469, allocations: 1.406 kB / 0.6046 GB, free: 20.15 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005324/0.4743, allocations: 2.254 MB / 0.6068 GB, free: 19.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.4743, allocations: 5.281 kB / 0.6068 GB, free: 19.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003905/0.4747, allocations: 84.25 kB / 0.6068 GB, free: 19.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003629/0.4784, allocations: 0.8657 MB / 0.6077 GB, free: 18.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.323e-05/0.4784, allocations: 6.281 kB / 0.6077 GB, free: 18.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005882/0.4843, allocations: 6.07 MB / 0.6136 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.4843, allocations: 5.031 kB / 0.6136 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004539/0.4889, allocations: 1.575 MB / 0.6152 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001941/0.4891, allocations: 178.3 kB / 0.6153 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.762e-05/0.4891, allocations: 7.219 kB / 0.6153 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005981/0.4897, allocations: 92.3 kB / 0.6154 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.4899, allocations: 36.92 kB / 0.6155 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/0.4899, allocations: 7.531 kB / 0.6155 GB, free: 12.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002988/0.4902, allocations: 303.5 kB / 0.6158 GB, free: 12.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4902, allocations: 0 / 0.6158 GB, free: 12.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009286/0.4912, allocations: 232.9 kB / 0.616 GB, free: 12.09 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * 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: 3 * 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,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004802/0.496, allocations: 2.149 MB / 0.6181 GB, free: 10.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003854/0.4998, allocations: 2.196 MB / 0.6202 GB, free: 9.121 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.4999, allocations: 1.281 kB / 0.6202 GB, free: 9.121 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001263/0.5011, allocations: 0.815 MB / 0.621 GB, free: 8.527 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006719/0.5018, allocations: 128.9 kB / 0.6211 GB, free: 8.465 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01404/0.5159, allocations: 7.264 MB / 0.6282 GB, free: 3.621 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.5162, allocations: 0.9296 MB / 0.6291 GB, free: 2.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004737/0.5167, allocations: 159.2 kB / 0.6293 GB, free: 2.508 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001992/0.5169, allocations: 135.4 kB / 0.6294 GB, free: 2.375 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.5169, allocations: 0 / 0.6294 GB, free: 2.375 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02891/0.5458, allocations: 17.33 MB / 0.6464 GB, free: 1.359 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002231/0.546, allocations: 264.7 kB / 0.6466 GB, free: 1.098 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.976/2.522, allocations: 0 / 0.6466 GB, free: 1.098 MB / 462.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGrid.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)