Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009006/0.0009009, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007727/0.007727, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.489/1.489, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.775/2.775, allocations: 473.4 MB / 0.7469 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003654/0.0003655, allocations: 13.97 kB / 0.9158 GB, free: 33.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3662, allocations: 162.2 MB / 1.074 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02853/0.3948, allocations: 25.75 MB / 1.099 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01474/0.4096, allocations: 7.994 MB / 1.107 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002766/0.4124, allocations: 95.44 kB / 1.107 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001605/0.414, allocations: 0.5233 MB / 1.108 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004758/0.4188, allocations: 1.493 MB / 1.109 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00366/0.4225, allocations: 1.404 MB / 1.111 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.009979/0.4324, allocations: 8.7 MB / 1.119 GB, free: 9.465 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01358/0.4461, allocations: 9.157 MB / 1.128 GB, free: 228 kB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004047/0.4501, allocations: 1.852 MB / 1.13 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004537/0.4547, allocations: 2.468 MB / 1.132 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0006228/0.4553, allocations: 212 kB / 1.132 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002949/0.4583, allocations: 1.201 MB / 1.134 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001867/0.4602, allocations: 1.664 MB / 1.135 GB, free: 8.809 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.00278/0.463, allocations: 1.961 MB / 1.137 GB, free: 6.832 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.008311/0.4713, allocations: 7.682 MB / 1.145 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.4713, allocations: 0 / 1.145 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.126e-06/0.4713, allocations: 0 / 1.145 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0002449/0.4716, allocations: 0 / 1.145 GB, free: 15.12 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.007931/0.4795, allocations: 3.413 MB / 1.148 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.4796, allocations: 12.03 kB / 1.148 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004614/0.4842, allocations: 0.8117 MB / 1.149 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004793/0.489, allocations: 2.424 MB / 1.151 GB, free: 8.34 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001997/0.4892, allocations: 267.6 kB / 1.151 GB, free: 8.078 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009411/0.4902, allocations: 380.5 kB / 1.152 GB, free: 7.707 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01176/0.502, allocations: 5.992 MB / 1.158 GB, free: 1.457 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.606e-05/0.5021, allocations: 15.84 kB / 1.158 GB, free: 1.441 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003859/0.5025, allocations: 160 kB / 1.158 GB, free: 1.285 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006124/0.5031, allocations: 286.8 kB / 1.158 GB, free: 1.004 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008607/0.5117, allocations: 4.524 MB / 1.162 GB, free: 12.47 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03299/0.5447, allocations: 27.7 MB / 1.189 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001536/0.5463, allocations: 1.115 MB / 1.191 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001223/0.5475, allocations: 1.02 MB / 1.192 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.288e-05/0.5476, allocations: 16.98 kB / 1.192 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.5477, allocations: 47.56 kB / 1.192 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=110): time 2.836e-06/0.5477, allocations: 4 kB / 1.192 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of matching and sorting (n=131): time 0.02169/0.5694, allocations: 9.681 MB / 1.201 GB, free: 2.152 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/0.5694, allocations: 72.7 kB / 1.201 GB, free: 2.07 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002042/0.5715, allocations: 1.494 MB / 1.203 GB, free: 0.5781 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001251/0.5716, allocations: 45.7 kB / 1.203 GB, free: 0.5273 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.00114/0.5728, allocations: 1.659 MB / 1.204 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004267/0.5732, allocations: 477.2 kB / 1.205 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002266/0.5735, allocations: 145.6 kB / 1.205 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.5736, allocations: 309.1 kB / 1.205 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001307/0.5749, allocations: 0.9174 MB / 1.206 GB, free: 13 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001643/0.5765, allocations: 1.467 MB / 1.207 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003298/0.5799, allocations: 2.546 MB / 1.21 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/0.5799, allocations: 4 kB / 1.21 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005865/0.5857, allocations: 3.294 MB / 1.213 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.361e-05/0.5858, allocations: 12 kB / 1.213 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.502e-05/0.5858, allocations: 16 kB / 1.213 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002297/0.5881, allocations: 0.7374 MB / 1.214 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/0.5897, allocations: 383.4 kB / 1.214 GB, free: 4 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01538/0.6051, allocations: 15.77 MB / 1.23 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002/0.6071, allocations: 99.84 kB / 1.23 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001502/0.6073, allocations: 83.98 kB / 1.23 GB, free: 2.844 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,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.00296/0.6102, allocations: 1.309 MB / 1.231 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004707/0.6107, allocations: 201.6 kB / 1.231 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005409/0.6161, allocations: 2.784 MB / 1.234 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/0.6162, allocations: 12 kB / 1.234 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.465e-05/0.6162, allocations: 8 kB / 1.234 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.6162, allocations: 3.984 kB / 1.234 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01065/0.6269, allocations: 6.224 MB / 1.24 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/0.6269, allocations: 12.12 kB / 1.24 GB, free: 8.07 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001189/0.6281, allocations: 231.6 kB / 1.24 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002032/0.6302, allocations: 0.6714 MB / 1.241 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.887e-05/0.6303, allocations: 32 kB / 1.241 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7364/1.367, allocations: 15.51 MB / 1.256 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.538e-06/1.367, allocations: 10.53 kB / 1.256 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00729/1.374, allocations: 4.012 MB / 1.26 GB, free: 153.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001062/1.375, allocations: 458 kB / 1.261 GB, free: 153.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002384/1.375, allocations: 33.72 kB / 1.261 GB, free: 153.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009627/1.376, allocations: 87.44 kB / 1.261 GB, free: 153.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003662/1.377, allocations: 116.5 kB / 1.261 GB, free: 153.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.482e-05/1.377, allocations: 41.8 kB / 1.261 GB, free: 153.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001278/1.378, allocations: 0.9918 MB / 1.262 GB, free: 153.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/1.378, allocations: 2.781 kB / 1.262 GB, free: 153.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00236/1.38, allocations: 0.6853 MB / 1.263 GB, free: 153.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002649/1.381, allocations: 157 kB / 1.263 GB, free: 153.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005187/1.386, allocations: 3.497 MB / 1.266 GB, free: 151.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/1.386, allocations: 2.969 kB / 1.266 GB, free: 151.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003415/1.389, allocations: 2.293 MB / 1.268 GB, free: 150.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004558/1.394, allocations: 0.6111 MB / 1.269 GB, free: 150.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01364/1.408, allocations: 8.204 MB / 1.277 GB, free: 145.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003631/1.411, allocations: 2.67 MB / 1.28 GB, free: 144.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002205/1.414, allocations: 491.4 kB / 1.28 GB, free: 144.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003779/1.414, allocations: 117.1 kB / 1.28 GB, free: 144.2 MB / 0.9981 GB Notification: Performance of SimCode: time 9.22e-07/1.414, allocations: 0 / 1.28 GB, free: 144.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.06336/1.477, allocations: 32.04 MB / 1.311 GB, free: 133.9 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)