Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 107 kB / 16.27 MB, free: 6.316 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.001547/0.001547, allocations: 187 kB / 17.19 MB, free: 5.93 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.457/1.457, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8128/0.8128, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 63.91 kB / 0.4911 GB, free: 7.438 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5123/0.5143, allocations: 77.93 MB / 0.5672 GB, free: 32.94 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008385/0.5227, allocations: 6.776 MB / 0.5738 GB, free: 28.33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006096/0.5289, allocations: 3.065 MB / 0.5768 GB, free: 26.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001073/0.53, allocations: 27.56 kB / 0.5768 GB, free: 26.26 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002595/0.5326, allocations: 0.9447 MB / 0.5778 GB, free: 25.69 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002291/0.5349, allocations: 0.5093 MB / 0.5783 GB, free: 25.39 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001594/0.5365, allocations: 439.5 kB / 0.5787 GB, free: 25.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001759/0.5383, allocations: 1.233 MB / 0.5799 GB, free: 24.62 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001121/0.5394, allocations: 0.6625 MB / 0.5805 GB, free: 24.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008479/0.5403, allocations: 468.2 kB / 0.581 GB, free: 24.17 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000835/0.5412, allocations: 0.5255 MB / 0.5815 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.5413, allocations: 67.47 kB / 0.5816 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001113/0.5424, allocations: 376.8 kB / 0.5819 GB, free: 23.75 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003314/0.5428, allocations: 312.2 kB / 0.5822 GB, free: 23.55 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005139/0.5433, allocations: 453.7 kB / 0.5827 GB, free: 23.26 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001301/0.5446, allocations: 1.206 MB / 0.5838 GB, free: 22.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.5446, allocations: 0.9688 kB / 0.5838 GB, free: 22.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.5446, allocations: 0 / 0.5838 GB, free: 22.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.5446, allocations: 2.562 kB / 0.5838 GB, free: 22.43 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001815/0.5465, allocations: 1.165 MB / 0.585 GB, free: 21.53 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.5465, allocations: 12.38 kB / 0.585 GB, free: 21.53 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001522/0.548, allocations: 236.7 kB / 0.5852 GB, free: 21.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007015/0.5487, allocations: 0.5589 MB / 0.5858 GB, free: 20.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.67e-05/0.5488, allocations: 47.91 kB / 0.5858 GB, free: 20.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.5489, allocations: 61.89 kB / 0.5859 GB, free: 20.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.5503, allocations: 1.082 MB / 0.5869 GB, free: 20.15 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.7e-05/0.5503, allocations: 7.656 kB / 0.5869 GB, free: 20.15 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.247e-05/0.5504, allocations: 33.48 kB / 0.587 GB, free: 20.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001535/0.5506, allocations: 85.41 kB / 0.587 GB, free: 20.1 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009822/0.5516, allocations: 0.7501 MB / 0.5878 GB, free: 19.73 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004031/0.5556, allocations: 5.906 MB / 0.5935 GB, free: 14.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009306/0.5565, allocations: 0.5505 MB / 0.5941 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003838/0.5569, allocations: 328.8 kB / 0.5944 GB, free: 13.81 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.07e-05/0.557, allocations: 8.719 kB / 0.5944 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.557, allocations: 42.27 kB / 0.5944 GB, free: 13.76 MB / 446.1 MB Notification: Performance of pre-optimization done (n=47): time 2.114e-06/0.557, allocations: 0 / 0.5944 GB, free: 13.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=48): time 0.003526/0.5605, allocations: 1.991 MB / 0.5964 GB, free: 12.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.5606, allocations: 55.84 kB / 0.5964 GB, free: 12.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004763/0.5611, allocations: 0.5626 MB / 0.597 GB, free: 11.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.5611, allocations: 33.7 kB / 0.597 GB, free: 11.69 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.5613, allocations: 418.9 kB / 0.5974 GB, free: 11.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.555e-05/0.5614, allocations: 173.5 kB / 0.5976 GB, free: 11.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/0.5615, allocations: 126.5 kB / 0.5977 GB, free: 10.97 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.5617, allocations: 378.7 kB / 0.5981 GB, free: 10.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003114/0.562, allocations: 277.8 kB / 0.5983 GB, free: 10.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004053/0.5624, allocations: 493 kB / 0.5988 GB, free: 9.742 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000751/0.5632, allocations: 0.8093 MB / 0.5996 GB, free: 8.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.5632, allocations: 0 / 0.5996 GB, free: 8.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001416/0.5646, allocations: 1.086 MB / 0.6007 GB, free: 7.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.5646, allocations: 11.94 kB / 0.6007 GB, free: 7.719 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.5646, allocations: 11.98 kB / 0.6007 GB, free: 7.707 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007251/0.5654, allocations: 283.9 kB / 0.6009 GB, free: 7.418 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004121/0.5658, allocations: 123.8 kB / 0.6011 GB, free: 7.297 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005047/0.5709, allocations: 7.141 MB / 0.608 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006815/0.5716, allocations: 35.97 kB / 0.6081 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.853e-05/0.5716, allocations: 36.06 kB / 0.6081 GB, free: 15.52 MB / 462.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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000424/0.572, allocations: 254.1 kB / 0.6083 GB, free: 15.26 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.5722, allocations: 71.16 kB / 0.6084 GB, free: 15.19 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001537/0.5737, allocations: 0.8886 MB / 0.6093 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.5737, allocations: 8.031 kB / 0.6093 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.5737, allocations: 4 kB / 0.6093 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.5737, allocations: 3.984 kB / 0.6093 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002786/0.5765, allocations: 1.724 MB / 0.611 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.5766, allocations: 3.938 kB / 0.611 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002585/0.5768, allocations: 63.89 kB / 0.611 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007208/0.5776, allocations: 271.3 kB / 0.6113 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.143e-05/0.5776, allocations: 12 kB / 0.6113 GB, free: 12.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00672/0.5843, allocations: 7.122 MB / 0.6183 GB, free: 4.414 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.535e-05/0.5844, allocations: 8.109 kB / 0.6183 GB, free: 4.406 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001913/0.5863, allocations: 0.9877 MB / 0.6192 GB, free: 3.371 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003094/0.5866, allocations: 188.2 kB / 0.6194 GB, free: 3.168 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.167e-05/0.5867, allocations: 19.92 kB / 0.6194 GB, free: 3.148 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005008/0.5872, allocations: 27.91 kB / 0.6195 GB, free: 3.121 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.5873, allocations: 47.89 kB / 0.6195 GB, free: 3.074 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.014e-05/0.5874, allocations: 16 kB / 0.6195 GB, free: 3.059 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005205/0.5879, allocations: 391.1 kB / 0.6199 GB, free: 2.68 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5879, allocations: 0 / 0.6199 GB, free: 2.68 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008364/0.5887, allocations: 224 kB / 0.6201 GB, free: 2.461 MB / 462.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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000145/0.5889, allocations: 119.2 kB / 0.6202 GB, free: 2.332 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002194/0.5911, allocations: 1.338 MB / 0.6215 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.5911, allocations: 4 kB / 0.6215 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001361/0.5925, allocations: 0.8894 MB / 0.6224 GB, free: 15.99 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.5936, allocations: 214.4 kB / 0.6226 GB, free: 15.8 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002507/0.5961, allocations: 1.35 MB / 0.6239 GB, free: 14.4 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/0.5971, allocations: 1.013 MB / 0.6249 GB, free: 13.36 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004105/0.5975, allocations: 118 kB / 0.625 GB, free: 13.24 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.5976, allocations: 39.44 kB / 0.6251 GB, free: 13.2 MB / 478.1 MB Notification: Performance of SimCode: time 8.01e-07/0.5976, allocations: 4 kB / 0.6251 GB, free: 13.2 MB / 478.1 MB Notification: Performance of Templates: time 0.02109/0.6187, allocations: 11.17 MB / 0.636 GB, free: 2.195 MB / 478.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)