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_L_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_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 91.84 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.006801/0.006801, allocations: 170 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.472/1.472, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.972/2.972, allocations: 473.4 MB / 0.7469 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003785/0.0003785, allocations: 16.03 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3579, allocations: 162.2 MB / 1.074 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03642/0.3943, allocations: 33.72 MB / 1.107 GB, free: 5.652 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02082/0.4152, allocations: 11.38 MB / 1.118 GB, free: 10.24 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003725/0.419, allocations: 135.2 kB / 1.118 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002623/0.4216, allocations: 0.6938 MB / 1.119 GB, free: 9.406 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.006676/0.4283, allocations: 1.867 MB / 1.121 GB, free: 7.531 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.007769/0.4361, allocations: 2.009 MB / 1.123 GB, free: 5.527 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0154/0.4515, allocations: 12.41 MB / 1.135 GB, free: 9.09 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02375/0.4753, allocations: 14.33 MB / 1.149 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006625/0.482, allocations: 2.618 MB / 1.151 GB, free: 8.023 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007052/0.489, allocations: 3.558 MB / 1.155 GB, free: 4.453 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001231/0.4903, allocations: 328 kB / 1.155 GB, free: 4.133 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004926/0.4952, allocations: 1.907 MB / 1.157 GB, free: 2.223 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.003463/0.4987, allocations: 2.459 MB / 1.16 GB, free: 15.76 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.004724/0.5034, allocations: 2.73 MB / 1.162 GB, free: 13.01 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.015/0.5185, allocations: 11.43 MB / 1.173 GB, free: 1.539 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.5185, allocations: 0 / 1.173 GB, free: 1.539 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.186e-06/0.5185, allocations: 0 / 1.173 GB, free: 1.539 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0004123/0.5189, allocations: 8 kB / 1.173 GB, free: 1.531 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.0122/0.5312, allocations: 4.652 MB / 1.178 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.5312, allocations: 8.031 kB / 1.178 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006758/0.538, allocations: 1.067 MB / 1.179 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006993/0.545, allocations: 3.262 MB / 1.182 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003651/0.5454, allocations: 419.5 kB / 1.183 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001702/0.5471, allocations: 0.5315 MB / 1.183 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01942/0.5665, allocations: 9.075 MB / 1.192 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002891/0.5669, allocations: 43.61 kB / 1.192 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001695/0.5686, allocations: 236 kB / 1.192 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006585/0.5693, allocations: 342.8 kB / 1.192 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01804/0.5873, allocations: 6.83 MB / 1.199 GB, free: 6.621 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05901/0.6464, allocations: 40.18 MB / 1.238 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004846/0.6513, allocations: 3.123 MB / 1.241 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003515/0.6548, allocations: 1.962 MB / 1.243 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001171/0.655, allocations: 18 kB / 1.243 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.737e-05/0.655, allocations: 52.56 kB / 1.243 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=179): time 5.13e-06/0.655, allocations: 0 / 1.243 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of matching and sorting (n=182): time 0.6297/1.285, allocations: 10.03 MB / 1.253 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/1.285, allocations: 71.94 kB / 1.253 GB, free: 162.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002613/1.287, allocations: 1.532 MB / 1.255 GB, free: 162 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001829/1.288, allocations: 54.39 kB / 1.255 GB, free: 162 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001735/1.289, allocations: 2.245 MB / 1.257 GB, free: 160.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005985/1.29, allocations: 0.636 MB / 1.258 GB, free: 160.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002523/1.29, allocations: 176 kB / 1.258 GB, free: 160.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.944e-05/1.29, allocations: 301.1 kB / 1.258 GB, free: 160.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001471/1.292, allocations: 1.179 MB / 1.259 GB, free: 159.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001848/1.294, allocations: 1.884 MB / 1.261 GB, free: 158.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003914/1.298, allocations: 3.37 MB / 1.264 GB, free: 156.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-05/1.298, allocations: 6.219 kB / 1.264 GB, free: 156.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007874/1.306, allocations: 4.58 MB / 1.269 GB, free: 154.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.802e-05/1.306, allocations: 16.11 kB / 1.269 GB, free: 154.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.722e-05/1.306, allocations: 27.59 kB / 1.269 GB, free: 154.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004184/1.31, allocations: 1.578 MB / 1.27 GB, free: 154.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/1.311, allocations: 354.7 kB / 1.271 GB, free: 154.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02146/1.333, allocations: 17.08 MB / 1.287 GB, free: 143.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002054/1.335, allocations: 118.6 kB / 1.288 GB, free: 143.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001966/1.335, allocations: 97.62 kB / 1.288 GB, free: 143.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003901/1.339, allocations: 1.896 MB / 1.29 GB, free: 142.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005786/1.34, allocations: 221.3 kB / 1.29 GB, free: 142.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0067/1.346, allocations: 4.097 MB / 1.294 GB, free: 141.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-05/1.346, allocations: 18.47 kB / 1.294 GB, free: 141.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.679e-05/1.346, allocations: 16.38 kB / 1.294 GB, free: 141.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.472e-05/1.346, allocations: 15.23 kB / 1.294 GB, free: 141.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01495/1.361, allocations: 9.449 MB / 1.303 GB, free: 137 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/1.361, allocations: 3.938 kB / 1.303 GB, free: 137 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007548/1.362, allocations: 187.7 kB / 1.303 GB, free: 137 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003/1.365, allocations: 1.355 MB / 1.305 GB, free: 136.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001183/1.365, allocations: 35.84 kB / 1.305 GB, free: 136.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0162/1.381, allocations: 15.98 MB / 1.32 GB, free: 124.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/1.381, allocations: 7.625 kB / 1.32 GB, free: 124.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005992/1.387, allocations: 4.069 MB / 1.324 GB, free: 121.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001112/1.389, allocations: 0.5373 MB / 1.325 GB, free: 121.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002399/1.389, allocations: 36 kB / 1.325 GB, free: 121.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008902/1.39, allocations: 87.89 kB / 1.325 GB, free: 121 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003991/1.39, allocations: 157.7 kB / 1.325 GB, free: 120.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.066e-05/1.39, allocations: 48 kB / 1.325 GB, free: 120.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001105/1.391, allocations: 1.005 MB / 1.326 GB, free: 119.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.01e-07/1.391, allocations: 0 / 1.326 GB, free: 119.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00318/1.395, allocations: 0.9844 MB / 1.327 GB, free: 118.8 MB / 0.9981 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002284/1.395, allocations: 155 kB / 1.327 GB, free: 118.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005634/1.4, allocations: 4.292 MB / 1.331 GB, free: 114.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/1.4, allocations: 0 / 1.331 GB, free: 114.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003447/1.404, allocations: 2.676 MB / 1.334 GB, free: 111.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004095/1.408, allocations: 0.7089 MB / 1.335 GB, free: 110.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01265/1.421, allocations: 11.02 MB / 1.345 GB, free: 99.79 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003171/1.424, allocations: 3.576 MB / 1.349 GB, free: 96.18 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001507/1.425, allocations: 459.9 kB / 1.349 GB, free: 95.73 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002806/1.426, allocations: 119.4 kB / 1.349 GB, free: 95.61 MB / 0.9981 GB Notification: Performance of SimCode: time 8.72e-07/1.426, allocations: 0 / 1.349 GB, free: 95.61 MB / 0.9981 GB Notification: Performance of Templates: time 0.06328/1.489, allocations: 41.83 MB / 1.39 GB, free: 54.24 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)