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.0008043/0.0008043, allocations: 92.86 kB / 15.7 MB, free: 472 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.0008751/0.0008753, allocations: 172.9 kB / 16.58 MB, free: 6.012 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.259/1.259, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6242/0.6242, allocations: 113.7 MB / 405.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003059/0.0003059, allocations: 8 kB / 493.2 MB, free: 8.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1378, allocations: 77.12 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01242/0.1503, allocations: 12.65 MB / 0.5693 GB, free: 14.97 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01126/0.1616, allocations: 8.739 MB / 0.5778 GB, free: 6.207 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.1627, allocations: 55.62 kB / 0.5778 GB, free: 6.152 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006791/0.1634, allocations: 265.9 kB / 0.5781 GB, free: 5.891 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003387/0.1668, allocations: 1.274 MB / 0.5793 GB, free: 4.621 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001413/0.1682, allocations: 0.5145 MB / 0.5798 GB, free: 4.105 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003084/0.1713, allocations: 2.68 MB / 0.5825 GB, free: 1.418 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2598/0.4311, allocations: 1.797 MB / 0.5842 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001804/0.4329, allocations: 0.8417 MB / 0.585 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001571/0.4345, allocations: 1.03 MB / 0.586 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001959/0.4347, allocations: 71.16 kB / 0.5861 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001124/0.4358, allocations: 439.1 kB / 0.5865 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006297/0.4365, allocations: 0.4989 MB / 0.587 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004516/0.4369, allocations: 344.9 kB / 0.5873 GB, free: 13.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002712/0.4397, allocations: 2.122 MB / 0.5894 GB, free: 13.64 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.4397, allocations: 0.625 kB / 0.5894 GB, free: 13.64 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4397, allocations: 0 / 0.5894 GB, free: 13.64 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.247e-05/0.4397, allocations: 0 / 0.5894 GB, free: 13.64 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.003658/0.4434, allocations: 1.832 MB / 0.5912 GB, free: 12.67 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.4434, allocations: 9.812 kB / 0.5912 GB, free: 12.67 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002991/0.4437, allocations: 194.3 kB / 0.5914 GB, free: 12.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0105/0.4543, allocations: 2.145 MB / 0.5935 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003922/0.4582, allocations: 1.158 MB / 0.5946 GB, free: 12.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.604e-05/0.4583, allocations: 89.36 kB / 0.5947 GB, free: 12.13 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003036/0.4587, allocations: 121.7 kB / 0.5948 GB, free: 12.13 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006012/0.4647, allocations: 2.693 MB / 0.5975 GB, free: 11.72 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.758e-05/0.4647, allocations: 11.06 kB / 0.5975 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001862/0.4649, allocations: 52.47 kB / 0.5975 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000589/0.4655, allocations: 182.1 kB / 0.5977 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00702/0.4726, allocations: 2.841 MB / 0.6005 GB, free: 11.68 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01304/0.4856, allocations: 10.56 MB / 0.6108 GB, free: 21.4 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005475/0.4911, allocations: 2.566 MB / 0.6133 GB, free: 20.44 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002558/0.4937, allocations: 1.3 MB / 0.6146 GB, free: 20.13 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.767e-05/0.4938, allocations: 10.22 kB / 0.6146 GB, free: 20.13 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.4938, allocations: 49.95 kB / 0.6146 GB, free: 20.08 MB / 462.1 MB Notification: Performance of pre-optimization done (n=89): time 3.026e-06/0.4938, allocations: 0 / 0.6146 GB, free: 20.08 MB / 462.1 MB Notification: Performance of matching and sorting (n=131): time 0.0369/0.5307, allocations: 13.44 MB / 0.6277 GB, free: 12.87 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.5308, allocations: 68.67 kB / 0.6278 GB, free: 12.79 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/0.5324, allocations: 1.101 MB / 0.6289 GB, free: 11.67 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001325/0.5325, allocations: 52.8 kB / 0.6289 GB, free: 11.62 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000552/0.5331, allocations: 0.7162 MB / 0.6296 GB, free: 10.9 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004653/0.5336, allocations: 455.7 kB / 0.6301 GB, free: 10.46 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.5337, allocations: 28 kB / 0.6301 GB, free: 10.43 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.5339, allocations: 357.9 kB / 0.6304 GB, free: 10.07 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002782/0.5367, allocations: 1.35 MB / 0.6318 GB, free: 8.723 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002972/0.5396, allocations: 1.627 MB / 0.6333 GB, free: 7.012 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002917/0.5426, allocations: 1.456 MB / 0.6348 GB, free: 5.559 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.5426, allocations: 0 / 0.6348 GB, free: 5.559 MB / 462.1 MB Notification: Performance of matching and sorting (n=168) (initialization): time 0.009805/0.5524, allocations: 4.468 MB / 0.6391 GB, free: 1.125 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/0.5524, allocations: 12.16 kB / 0.6391 GB, free: 1.113 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.5525, allocations: 8 kB / 0.6392 GB, free: 1.105 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004513/0.557, allocations: 1.426 MB / 0.6405 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001788/0.5588, allocations: 449.8 kB / 0.641 GB, free: 15.23 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02437/0.5832, allocations: 24.52 MB / 0.6649 GB, free: 5.109 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002714/0.5859, allocations: 315.6 kB / 0.6652 GB, free: 4.801 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000195/0.5861, allocations: 59.97 kB / 0.6653 GB, free: 4.742 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001086/0.5872, allocations: 432.7 kB / 0.6657 GB, free: 4.32 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003004/0.5875, allocations: 162.1 kB / 0.6658 GB, free: 4.16 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01026/0.5978, allocations: 4.486 MB / 0.6702 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/0.5979, allocations: 15.98 kB / 0.6702 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.141e-05/0.5979, allocations: 20 kB / 0.6703 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.5979, allocations: 3.984 kB / 0.6703 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01362/0.6115, allocations: 6.811 MB / 0.6769 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.6116, allocations: 4 kB / 0.6769 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00149/0.6131, allocations: 387 kB / 0.6773 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004007/0.6171, allocations: 1.316 MB / 0.6786 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00013/0.6172, allocations: 35.97 kB / 0.6786 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02232/0.6396, allocations: 23.5 MB / 0.7016 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.6396, allocations: 8.094 kB / 0.7016 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009567/0.6492, allocations: 4.23 MB / 0.7057 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001214/0.6504, allocations: 458.9 kB / 0.7061 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003464/0.6508, allocations: 27.98 kB / 0.7062 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001804/0.6526, allocations: 315.5 kB / 0.7065 GB, free: 8.707 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000414/0.653, allocations: 124.7 kB / 0.7066 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001255/0.6532, allocations: 51.92 kB / 0.7066 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001147/0.6543, allocations: 0.737 MB / 0.7073 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6543, allocations: 4 kB / 0.7074 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002351/0.6567, allocations: 0.5781 MB / 0.7079 GB, free: 7.215 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(2,100.0%) 4,(3,100.0%) 9,(2,100.0%) 4,(3,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009767/0.6665, allocations: 4.81 MB / 0.7126 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0103/0.6768, allocations: 5.143 MB / 0.7176 GB, free: 13 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/0.6769, allocations: 4.125 kB / 0.7176 GB, free: 13 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006393/0.6833, allocations: 3.503 MB / 0.7211 GB, free: 9.328 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002847/0.6862, allocations: 0.509 MB / 0.7216 GB, free: 8.828 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02991/0.7161, allocations: 14.39 MB / 0.7356 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001276/0.7174, allocations: 1.473 MB / 0.737 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00191/0.7193, allocations: 425.6 kB / 0.7375 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009057/0.7202, allocations: 0.6203 MB / 0.7381 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of SimCode: time 1.283e-06/0.7203, allocations: 0 / 0.7381 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07917/0.7994, allocations: 49.68 MB / 0.7866 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001637/0.7996, allocations: 211.9 kB / 0.7868 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.752/3.551, allocations: 3.938 kB / 0.7868 GB, free: 6.215 MB / 0.6075 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) Environment - environmentSimulation: