Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001168/0.001168, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.009355/0.009356, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.427/1.427, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.841/2.841, allocations: 473.4 MB / 0.7469 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003886/0.0003886, allocations: 12.44 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3768, allocations: 162.2 MB / 1.074 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02793/0.4048, allocations: 25.74 MB / 1.099 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01485/0.4197, allocations: 7.997 MB / 1.107 GB, free: 5.723 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002948/0.4227, allocations: 103.4 kB / 1.107 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00187/0.4246, allocations: 0.5233 MB / 1.108 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004621/0.4293, allocations: 1.486 MB / 1.109 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003749/0.433, allocations: 1.392 MB / 1.111 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.009726/0.4428, allocations: 8.704 MB / 1.119 GB, free: 9.484 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0148/0.4576, allocations: 9.165 MB / 1.128 GB, free: 240 kB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004018/0.4617, allocations: 1.859 MB / 1.13 GB, free: 14.37 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004294/0.466, allocations: 2.464 MB / 1.132 GB, free: 11.89 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0007395/0.4668, allocations: 212 kB / 1.132 GB, free: 11.69 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002941/0.4697, allocations: 1.193 MB / 1.134 GB, free: 10.49 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.002/0.4717, allocations: 1.664 MB / 1.135 GB, free: 8.824 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002763/0.4745, allocations: 1.965 MB / 1.137 GB, free: 6.844 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.008195/0.4827, allocations: 7.682 MB / 1.145 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.4828, allocations: 4 kB / 1.145 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.727e-06/0.4828, allocations: 0 / 1.145 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0002761/0.4831, allocations: 4 kB / 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.01171/0.4948, allocations: 3.413 MB / 1.148 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 7.866e-05/0.4949, allocations: 11.97 kB / 1.148 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005696/0.5006, allocations: 0.8039 MB / 1.149 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005927/0.5066, allocations: 2.424 MB / 1.151 GB, free: 8.352 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002651/0.5069, allocations: 275.6 kB / 1.151 GB, free: 8.082 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001171/0.508, allocations: 372.6 kB / 1.152 GB, free: 7.719 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01222/0.5203, allocations: 5.992 MB / 1.158 GB, free: 1.465 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001117/0.5204, allocations: 23.77 kB / 1.158 GB, free: 1.441 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004325/0.5209, allocations: 160 kB / 1.158 GB, free: 1.285 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006428/0.5215, allocations: 282.9 kB / 1.158 GB, free: 1.008 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008463/0.53, allocations: 4.524 MB / 1.162 GB, free: 12.48 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02981/0.5598, allocations: 27.69 MB / 1.189 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001697/0.5616, allocations: 1.125 MB / 1.191 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00131/0.5629, allocations: 1.019 MB / 1.192 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.417e-05/0.563, allocations: 13 kB / 1.192 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.417e-05/0.563, allocations: 47.56 kB / 1.192 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=110): time 3.697e-06/0.5631, allocations: 0 / 1.192 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of matching and sorting (n=131): time 0.02248/0.5855, allocations: 9.677 MB / 1.201 GB, free: 2.164 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.619e-05/0.5857, allocations: 68.66 kB / 1.201 GB, free: 2.086 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002153/0.5878, allocations: 1.494 MB / 1.203 GB, free: 0.5938 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001413/0.588, allocations: 53.7 kB / 1.203 GB, free: 0.5352 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.00124/0.5892, allocations: 1.667 MB / 1.204 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004495/0.5897, allocations: 469.3 kB / 1.205 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002274/0.5899, allocations: 149.6 kB / 1.205 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.59, allocations: 305.1 kB / 1.205 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001371/0.5914, allocations: 0.9135 MB / 1.206 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001764/0.5932, allocations: 1.475 MB / 1.207 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003224/0.5964, allocations: 2.539 MB / 1.21 GB, free: 8.52 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/0.5964, allocations: 4 kB / 1.21 GB, free: 8.516 MB / 0.9669 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005817/0.6023, allocations: 3.294 MB / 1.213 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.016e-05/0.6023, allocations: 12 kB / 1.213 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.494e-05/0.6023, allocations: 19.94 kB / 1.213 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002215/0.6046, allocations: 0.7376 MB / 1.214 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/0.6061, allocations: 387.3 kB / 1.214 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0151/0.6212, allocations: 15.78 MB / 1.23 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001862/0.6231, allocations: 103.8 kB / 1.23 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001477/0.6233, allocations: 72 kB / 1.23 GB, free: 2.855 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.002586/0.6259, allocations: 1.313 MB / 1.231 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004412/0.6263, allocations: 197.8 kB / 1.231 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00528/0.6316, allocations: 2.788 MB / 1.234 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/0.6317, allocations: 16 kB / 1.234 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.416e-05/0.6317, allocations: 8 kB / 1.234 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.6317, allocations: 7.969 kB / 1.234 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01166/0.6434, allocations: 6.22 MB / 1.24 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/0.6434, allocations: 4 kB / 1.24 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001177/0.6446, allocations: 239.6 kB / 1.24 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001964/0.6466, allocations: 0.6636 MB / 1.241 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/0.6467, allocations: 32 kB / 1.241 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7197/1.366, allocations: 15.51 MB / 1.256 GB, free: 154.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/1.366, allocations: 9.188 kB / 1.256 GB, free: 154.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007148/1.374, allocations: 4.012 MB / 1.26 GB, free: 153.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/1.375, allocations: 458.3 kB / 1.261 GB, free: 153.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002186/1.375, allocations: 39.52 kB / 1.261 GB, free: 153.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008956/1.376, allocations: 82.98 kB / 1.261 GB, free: 153.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003769/1.376, allocations: 118.1 kB / 1.261 GB, free: 153.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-05/1.376, allocations: 46.06 kB / 1.261 GB, free: 153.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001265/1.378, allocations: 0.99 MB / 1.262 GB, free: 153.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.378, allocations: 0 / 1.262 GB, free: 153.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002192/1.38, allocations: 0.6881 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.000267/1.38, allocations: 149.9 kB / 1.263 GB, free: 153.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005261/1.385, allocations: 3.496 MB / 1.266 GB, free: 151.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/1.385, allocations: 3.938 kB / 1.266 GB, free: 151.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003233/1.389, allocations: 2.293 MB / 1.268 GB, free: 150.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004439/1.393, allocations: 0.6154 MB / 1.269 GB, free: 150.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01419/1.407, allocations: 8.206 MB / 1.277 GB, free: 145.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003416/1.411, allocations: 2.678 MB / 1.28 GB, free: 144.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002213/1.413, allocations: 487.3 kB / 1.28 GB, free: 144.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003562/1.413, allocations: 117 kB / 1.28 GB, free: 144.1 MB / 0.9981 GB Notification: Performance of SimCode: time 1.272e-06/1.413, allocations: 0 / 1.28 GB, free: 144.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.06442/1.478, allocations: 32.05 MB / 1.311 GB, free: 133.8 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)