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.001335/0.001335, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001456/0.001456, allocations: 192.4 kB / 16.14 MB, free: 6.688 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.518/1.518, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.927/2.927, allocations: 472.6 MB / 0.7447 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 63.23 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3723, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02294/0.3953, allocations: 20.11 MB / 1.087 GB, free: 6.684 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01195/0.4073, allocations: 6.426 MB / 1.093 GB, free: 248 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003434/0.4108, allocations: 79.56 kB / 1.094 GB, free: 168 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.006218/0.4171, allocations: 2.086 MB / 1.096 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004508/0.4217, allocations: 1.116 MB / 1.097 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00403/0.4257, allocations: 1.169 MB / 1.098 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.008023/0.4338, allocations: 6.975 MB / 1.105 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008974/0.4428, allocations: 6.164 MB / 1.111 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003755/0.4466, allocations: 1.779 MB / 1.112 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003949/0.4505, allocations: 2.387 MB / 1.115 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0007649/0.4513, allocations: 292 kB / 1.115 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002273/0.4536, allocations: 1.026 MB / 1.116 GB, free: 9.078 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001575/0.4552, allocations: 1.532 MB / 1.117 GB, free: 7.543 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.002396/0.4576, allocations: 1.762 MB / 1.119 GB, free: 5.773 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.006127/0.4638, allocations: 6.403 MB / 1.125 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.4638, allocations: 3.938 kB / 1.125 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4638, allocations: 0 / 1.125 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001597/0.464, allocations: 4 kB / 1.125 GB, free: 15.34 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.00747/0.4714, allocations: 3.456 MB / 1.129 GB, free: 11.82 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.4715, allocations: 12.03 kB / 1.129 GB, free: 11.81 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003478/0.475, allocations: 0.6332 MB / 1.129 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003628/0.4786, allocations: 1.947 MB / 1.131 GB, free: 9.168 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001635/0.4788, allocations: 226.3 kB / 1.132 GB, free: 8.945 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005312/0.4794, allocations: 288.4 kB / 1.132 GB, free: 8.664 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008397/0.4878, allocations: 4.89 MB / 1.137 GB, free: 3.574 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.235e-05/0.4879, allocations: 15.84 kB / 1.137 GB, free: 3.559 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003127/0.4882, allocations: 128 kB / 1.137 GB, free: 3.434 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004316/0.4886, allocations: 233.7 kB / 1.137 GB, free: 3.203 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006178/0.4948, allocations: 3.742 MB / 1.141 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02465/0.5195, allocations: 21.57 MB / 1.162 GB, free: 7.883 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001912/0.5215, allocations: 1.318 MB / 1.163 GB, free: 6.559 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001507/0.523, allocations: 1.042 MB / 1.164 GB, free: 5.52 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.801e-05/0.5231, allocations: 13 kB / 1.164 GB, free: 5.504 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.837e-05/0.5232, allocations: 43.56 kB / 1.164 GB, free: 5.453 MB / 0.92 GB Notification: Performance of pre-optimization done (n=107): time 4.799e-06/0.5232, allocations: 7.922 kB / 1.164 GB, free: 5.445 MB / 0.92 GB Notification: Performance of matching and sorting (n=138): time 0.02497/0.5481, allocations: 8.657 MB / 1.173 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.5482, allocations: 72.7 kB / 1.173 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001788/0.55, allocations: 1.13 MB / 1.174 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001461/0.5502, allocations: 49.7 kB / 1.174 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008327/0.551, allocations: 1.3 MB / 1.175 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004842/0.5515, allocations: 477.1 kB / 1.175 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005538/0.5521, allocations: 291.3 kB / 1.176 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.5522, allocations: 309.1 kB / 1.176 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001355/0.5536, allocations: 0.9135 MB / 1.177 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001654/0.5553, allocations: 1.318 MB / 1.178 GB, free: 6.66 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003095/0.5584, allocations: 2.433 MB / 1.181 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-05/0.5584, allocations: 0 / 1.181 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006197/0.5646, allocations: 3.459 MB / 1.184 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.245e-05/0.5646, allocations: 15.94 kB / 1.184 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.85e-05/0.5647, allocations: 15.98 kB / 1.184 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003399/0.5681, allocations: 1.187 MB / 1.185 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009872/0.5691, allocations: 255.6 kB / 1.185 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0172/0.5863, allocations: 12.73 MB / 1.198 GB, free: 1.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001538/0.5879, allocations: 91.97 kB / 1.198 GB, free: 1.891 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002489/0.5882, allocations: 64 kB / 1.198 GB, free: 1.828 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.002256/0.5904, allocations: 1.118 MB / 1.199 GB, free: 0.6992 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004512/0.5909, allocations: 162.1 kB / 1.199 GB, free: 0.5391 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005951/0.5969, allocations: 3.169 MB / 1.202 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.5969, allocations: 12 kB / 1.202 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.864e-05/0.5969, allocations: 12 kB / 1.202 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.405e-05/0.5969, allocations: 7.922 kB / 1.202 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01144/0.6084, allocations: 6.245 MB / 1.208 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/0.6084, allocations: 8.125 kB / 1.208 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005957/0.609, allocations: 147.8 kB / 1.209 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003028/0.6121, allocations: 1.075 MB / 1.21 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001231/0.6122, allocations: 24 kB / 1.21 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01646/0.6287, allocations: 12.41 MB / 1.222 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.824e-06/0.6287, allocations: 7.938 kB / 1.222 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00593/0.6347, allocations: 3.158 MB / 1.225 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001059/0.6358, allocations: 427 kB / 1.225 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004228/0.6362, allocations: 31.94 kB / 1.225 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/0.6373, allocations: 91.77 kB / 1.225 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004497/0.6378, allocations: 124.7 kB / 1.226 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/0.6379, allocations: 36 kB / 1.226 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001605/0.6395, allocations: 0.7671 MB / 1.226 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.91e-07/0.6395, allocations: 0 / 1.226 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002716/0.6422, allocations: 0.664 MB / 1.227 GB, free: 3.461 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.0003302/0.6426, allocations: 144.8 kB / 1.227 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.005442/0.648, allocations: 3.115 MB / 1.23 GB, free: 164 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.534e-05/0.6481, allocations: 4 kB / 1.23 GB, free: 160 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003337/0.6514, allocations: 1.959 MB / 1.232 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002882/0.6543, allocations: 470.8 kB / 1.233 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01185/0.6662, allocations: 6.726 MB / 1.239 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003293/0.6695, allocations: 2.336 MB / 1.241 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001481/0.671, allocations: 354.1 kB / 1.242 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003415/0.6714, allocations: 91.38 kB / 1.242 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of SimCode: time 1.813e-06/0.6714, allocations: 0 / 1.242 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of Templates: time 0.6201/1.292, allocations: 31.64 MB / 1.273 GB, free: 160 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)