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: translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008591/0.0008593, allocations: 89.8 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.001094/0.001094, allocations: 176.8 kB / 16.91 MB, free: 6.676 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.428/1.428, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6854/0.6854, allocations: 115.5 MB / 407.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003339/0.0003339, allocations: 8 kB / 495.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.154, allocations: 77.53 MB / 0.56 GB, free: 9.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.007022/0.1611, allocations: 5.731 MB / 0.5656 GB, free: 3.262 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005072/0.1662, allocations: 3.142 MB / 0.5686 GB, free: 112 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005668/0.1668, allocations: 23.81 kB / 0.5687 GB, free: 88 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000437/0.1672, allocations: 122.9 kB / 0.5688 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001182/0.1684, allocations: 438 kB / 0.5692 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001201/0.1696, allocations: 470.2 kB / 0.5696 GB, free: 15.08 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001581/0.1712, allocations: 1.471 MB / 0.5711 GB, free: 13.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001847/0.1731, allocations: 0.9805 MB / 0.572 GB, free: 12.6 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006934/0.1738, allocations: 362.3 kB / 0.5724 GB, free: 12.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007334/0.1745, allocations: 442.2 kB / 0.5728 GB, free: 11.81 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000105/0.1747, allocations: 28 kB / 0.5728 GB, free: 11.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001079/0.1757, allocations: 0.5807 MB / 0.5734 GB, free: 11.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002878/0.176, allocations: 251.3 kB / 0.5736 GB, free: 10.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000499/0.1765, allocations: 383.7 kB / 0.574 GB, free: 10.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00164/0.1782, allocations: 1.172 MB / 0.5751 GB, free: 9.398 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1782, allocations: 0 / 0.5751 GB, free: 9.398 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1782, allocations: 0 / 0.5751 GB, free: 9.398 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.855e-05/0.1783, allocations: 0 / 0.5751 GB, free: 9.398 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001921/0.1802, allocations: 0.927 MB / 0.576 GB, free: 8.418 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.1803, allocations: 12.03 kB / 0.5761 GB, free: 8.406 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00162/0.1819, allocations: 211.7 kB / 0.5763 GB, free: 8.199 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008632/0.1828, allocations: 0.5376 MB / 0.5768 GB, free: 7.625 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.281e-05/0.1828, allocations: 49.67 kB / 0.5768 GB, free: 7.578 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.183, allocations: 64.34 kB / 0.5769 GB, free: 7.516 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/0.1845, allocations: 1.038 MB / 0.5779 GB, free: 6.367 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.611e-05/0.1846, allocations: 15.78 kB / 0.5779 GB, free: 6.352 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.944e-05/0.1847, allocations: 35.97 kB / 0.578 GB, free: 6.316 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.925e-05/0.1848, allocations: 65.28 kB / 0.578 GB, free: 6.254 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/0.1859, allocations: 0.6879 MB / 0.5787 GB, free: 5.566 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3106/0.4965, allocations: 5.767 MB / 0.5843 GB, free: 27.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.4978, allocations: 0.5985 MB / 0.5849 GB, free: 27.46 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001257/0.499, allocations: 414.9 kB / 0.5853 GB, free: 27.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.268e-05/0.4991, allocations: 4.859 kB / 0.5853 GB, free: 27.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.4991, allocations: 37.38 kB / 0.5853 GB, free: 27.42 MB / 446.1 MB Notification: Performance of pre-optimization done (n=41): time 3.317e-06/0.4991, allocations: 0 / 0.5853 GB, free: 27.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.007151/0.5063, allocations: 2.069 MB / 0.5874 GB, free: 26.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.5064, allocations: 59.48 kB / 0.5874 GB, free: 26.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008717/0.5073, allocations: 461.7 kB / 0.5879 GB, free: 26.72 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.629e-05/0.5073, allocations: 34.45 kB / 0.5879 GB, free: 26.69 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003149/0.5076, allocations: 387.8 kB / 0.5883 GB, free: 26.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/0.5078, allocations: 151.4 kB / 0.5884 GB, free: 26.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.5079, allocations: 51.2 kB / 0.5885 GB, free: 26.37 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.5081, allocations: 369.5 kB / 0.5888 GB, free: 26.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006273/0.5087, allocations: 245 kB / 0.589 GB, free: 25.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007377/0.5095, allocations: 467.6 kB / 0.5895 GB, free: 25.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001364/0.5108, allocations: 0.7517 MB / 0.5902 GB, free: 25.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.5109, allocations: 6.031 kB / 0.5902 GB, free: 25.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.003073/0.5139, allocations: 1.054 MB / 0.5913 GB, free: 24.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.948e-05/0.514, allocations: 8.688 kB / 0.5913 GB, free: 24.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/0.514, allocations: 9.156 kB / 0.5913 GB, free: 24.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001609/0.5156, allocations: 327.3 kB / 0.5916 GB, free: 24.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005194/0.5162, allocations: 102.2 kB / 0.5917 GB, free: 24.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009052/0.5252, allocations: 6.949 MB / 0.5985 GB, free: 18.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008303/0.5261, allocations: 33.27 kB / 0.5985 GB, free: 18.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.49e-05/0.5262, allocations: 31.2 kB / 0.5985 GB, free: 18.66 MB / 446.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 (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.0005354/0.5268, allocations: 239.5 kB / 0.5988 GB, free: 18.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.5269, allocations: 61.53 kB / 0.5988 GB, free: 18.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002717/0.5296, allocations: 0.9164 MB / 0.5997 GB, free: 18.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.5297, allocations: 8.781 kB / 0.5997 GB, free: 18.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/0.5297, allocations: 7.234 kB / 0.5997 GB, free: 18.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.5297, allocations: 4.141 kB / 0.5997 GB, free: 18.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004524/0.5342, allocations: 1.707 MB / 0.6014 GB, free: 17.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.5343, allocations: 2.094 kB / 0.6014 GB, free: 17.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002921/0.5346, allocations: 37.98 kB / 0.6014 GB, free: 17.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001543/0.5361, allocations: 321.7 kB / 0.6017 GB, free: 17.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.358e-05/0.5362, allocations: 16.22 kB / 0.6018 GB, free: 17.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008177/0.5444, allocations: 6.945 MB / 0.6085 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.5445, allocations: 1.375 kB / 0.6085 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002773/0.5472, allocations: 1.009 MB / 0.6095 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003927/0.5476, allocations: 179 kB / 0.6097 GB, free: 10.51 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.498e-05/0.5478, allocations: 17.27 kB / 0.6097 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004244/0.5482, allocations: 19.81 kB / 0.6097 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002021/0.5484, allocations: 43.7 kB / 0.6098 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.823e-05/0.5484, allocations: 8.938 kB / 0.6098 GB, free: 10.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005432/0.549, allocations: 314.9 kB / 0.6101 GB, free: 10.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.302e-06/0.549, allocations: 0 / 0.6101 GB, free: 10.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001378/0.5504, allocations: 197.5 kB / 0.6103 GB, free: 10.32 MB / 446.1 MB 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.0002188/0.5506, allocations: 110.8 kB / 0.6104 GB, free: 10.22 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003186/0.5538, allocations: 1.208 MB / 0.6116 GB, free: 9.492 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/0.5539, allocations: 0 / 0.6116 GB, free: 9.492 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002076/0.556, allocations: 0.8645 MB / 0.6124 GB, free: 8.883 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002098/0.5581, allocations: 194.7 kB / 0.6126 GB, free: 8.816 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003552/0.5617, allocations: 1.543 MB / 0.6141 GB, free: 7.871 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008617/0.5626, allocations: 0.9948 MB / 0.6151 GB, free: 7.137 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005149/0.5631, allocations: 96.44 kB / 0.6152 GB, free: 7.117 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.359e-05/0.5632, allocations: 35.47 kB / 0.6152 GB, free: 7.109 MB / 446.1 MB Notification: Performance of SimCode: time 1.342e-06/0.5632, allocations: 0 / 0.6152 GB, free: 7.109 MB / 446.1 MB Notification: Performance of Templates: time 0.02434/0.5875, allocations: 9.482 MB / 0.6245 GB, free: 3.145 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (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 & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)