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_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008284/0.0008285, 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.00517/0.00517, allocations: 172.6 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.475/1.475, allocations: 223.3 MB / 240.3 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.906/2.906, allocations: 473.4 MB / 0.7469 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003409/0.000341, allocations: 7.844 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3157, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02082/0.3366, allocations: 19.5 MB / 1.093 GB, free: 3.977 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01051/0.3472, allocations: 6.372 MB / 1.099 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001789/0.349, allocations: 75.56 kB / 1.099 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001176/0.3502, allocations: 412.8 kB / 1.1 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003408/0.3536, allocations: 1.108 MB / 1.101 GB, free: 12 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003073/0.3567, allocations: 1.084 MB / 1.102 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.007731/0.3644, allocations: 6.972 MB / 1.109 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01098/0.3754, allocations: 7.279 MB / 1.116 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003167/0.3786, allocations: 1.49 MB / 1.117 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003221/0.3819, allocations: 2.02 MB / 1.119 GB, free: 9.043 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0004106/0.3823, allocations: 176 kB / 1.12 GB, free: 8.871 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001935/0.3843, allocations: 0.9163 MB / 1.12 GB, free: 7.953 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001395/0.3857, allocations: 1.356 MB / 1.122 GB, free: 6.594 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001956/0.3876, allocations: 1.572 MB / 1.123 GB, free: 5.008 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.006704/0.3943, allocations: 6.206 MB / 1.129 GB, free: 14.78 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3944, allocations: 0 / 1.129 GB, free: 14.78 MB / 0.8887 GB Notification: Performance of FrontEnd: time 4.499e-06/0.3944, allocations: 0 / 1.129 GB, free: 14.78 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001663/0.3946, allocations: 3.938 kB / 1.129 GB, free: 14.78 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.006256/0.4008, allocations: 2.812 MB / 1.132 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.347e-05/0.4009, allocations: 12.03 kB / 1.132 GB, free: 11.89 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003603/0.4045, allocations: 0.6449 MB / 1.133 GB, free: 11.24 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00344/0.408, allocations: 1.947 MB / 1.135 GB, free: 9.234 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001598/0.4082, allocations: 222.3 kB / 1.135 GB, free: 9.016 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005344/0.4087, allocations: 288.4 kB / 1.135 GB, free: 8.734 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009106/0.4178, allocations: 4.89 MB / 1.14 GB, free: 3.645 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.17e-05/0.4179, allocations: 19.83 kB / 1.14 GB, free: 3.625 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003157/0.4183, allocations: 124 kB / 1.14 GB, free: 3.504 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004415/0.4187, allocations: 225.7 kB / 1.14 GB, free: 3.281 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00824/0.427, allocations: 3.75 MB / 1.144 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02706/0.4541, allocations: 21.62 MB / 1.165 GB, free: 7.902 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001777/0.4559, allocations: 1.318 MB / 1.166 GB, free: 6.578 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001394/0.4573, allocations: 1.038 MB / 1.167 GB, free: 5.543 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 5.782e-05/0.4574, allocations: 13 kB / 1.167 GB, free: 5.527 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/0.4574, allocations: 47.55 kB / 1.167 GB, free: 5.473 MB / 0.92 GB Notification: Performance of pre-optimization done (n=107): time 3.016e-06/0.4574, allocations: 3.938 kB / 1.167 GB, free: 5.469 MB / 0.92 GB Notification: Performance of matching and sorting (n=138): time 0.02437/0.4818, allocations: 8.719 MB / 1.176 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.4819, allocations: 68.72 kB / 1.176 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001502/0.4834, allocations: 1.126 MB / 1.177 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001108/0.4835, allocations: 49.7 kB / 1.177 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008701/0.4844, allocations: 1.296 MB / 1.178 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000385/0.4848, allocations: 485 kB / 1.179 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001935/0.485, allocations: 129.6 kB / 1.179 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.819e-05/0.4851, allocations: 305.1 kB / 1.179 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001273/0.4864, allocations: 0.9135 MB / 1.18 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001562/0.488, allocations: 1.326 MB / 1.181 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003108/0.4911, allocations: 2.43 MB / 1.184 GB, free: 4.188 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.4911, allocations: 4 kB / 1.184 GB, free: 4.184 MB / 0.9356 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006178/0.4973, allocations: 3.468 MB / 1.187 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.985e-05/0.4973, allocations: 12 kB / 1.187 GB, free: 0.6836 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-05/0.4974, allocations: 12 kB / 1.187 GB, free: 0.6719 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003235/0.5006, allocations: 1.18 MB / 1.188 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009495/0.5016, allocations: 267.5 kB / 1.189 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0165/0.5181, allocations: 12.76 MB / 1.201 GB, free: 2.062 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/0.5196, allocations: 87.97 kB / 1.201 GB, free: 1.977 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/0.5197, allocations: 67.98 kB / 1.201 GB, free: 1.91 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001967/0.5217, allocations: 1.122 MB / 1.202 GB, free: 0.7773 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002733/0.522, allocations: 158.1 kB / 1.202 GB, free: 0.6211 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005829/0.5278, allocations: 3.173 MB / 1.206 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/0.5278, allocations: 12 kB / 1.206 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.639e-05/0.5279, allocations: 12 kB / 1.206 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.532e-05/0.5279, allocations: 11.91 kB / 1.206 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01007/0.5379, allocations: 6.237 MB / 1.212 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.328e-06/0.538, allocations: 4.062 kB / 1.212 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005814/0.5386, allocations: 151.8 kB / 1.212 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002865/0.5415, allocations: 1.071 MB / 1.213 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.623e-05/0.5416, allocations: 28 kB / 1.213 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01562/0.5572, allocations: 12.45 MB / 1.225 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.5572, allocations: 7.938 kB / 1.225 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005307/0.5626, allocations: 3.15 MB / 1.228 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008212/0.5634, allocations: 434.9 kB / 1.229 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001944/0.5636, allocations: 28 kB / 1.229 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000912/0.5645, allocations: 83.83 kB / 1.229 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004622/0.565, allocations: 132.6 kB / 1.229 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.029e-05/0.5651, allocations: 44 kB / 1.229 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001167/0.5663, allocations: 0.7593 MB / 1.23 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5663, allocations: 0 / 1.23 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002568/0.5689, allocations: 0.6602 MB / 1.23 GB, free: 3.516 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003397/0.5692, allocations: 147 kB / 1.23 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.005122/0.5743, allocations: 3.126 MB / 1.233 GB, free: 204 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.5744, allocations: 0 / 1.233 GB, free: 204 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002929/0.5773, allocations: 1.968 MB / 1.235 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002801/0.5801, allocations: 473.7 kB / 1.236 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009505/0.5896, allocations: 6.754 MB / 1.242 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002324/0.592, allocations: 2.34 MB / 1.245 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001197/0.5932, allocations: 358.1 kB / 1.245 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002243/0.5934, allocations: 87.44 kB / 1.245 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of SimCode: time 9.02e-07/0.5934, allocations: 0 / 1.245 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of Templates: time 0.6651/1.259, allocations: 30.93 MB / 1.275 GB, free: 157.7 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)