Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001171/0.00117, 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.001224/0.001224, allocations: 194.9 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.425/1.425, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.91/2.91, allocations: 472.6 MB / 0.7447 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 63.11 kB / 0.9114 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3499, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03779/0.3877, allocations: 34.52 MB / 1.101 GB, free: 8.25 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0187/0.4064, allocations: 11.49 MB / 1.112 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003129/0.4096, allocations: 151.2 kB / 1.113 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.01019/0.4198, allocations: 3.989 MB / 1.117 GB, free: 8.582 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005985/0.4258, allocations: 1.867 MB / 1.118 GB, free: 6.707 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.006177/0.432, allocations: 2.175 MB / 1.12 GB, free: 4.535 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01604/0.4481, allocations: 12.42 MB / 1.133 GB, free: 8.086 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0207/0.4688, allocations: 12.32 MB / 1.145 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007583/0.4765, allocations: 3.184 MB / 1.148 GB, free: 8.465 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00832/0.4848, allocations: 4.284 MB / 1.152 GB, free: 4.168 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.002522/0.4874, allocations: 0.5469 MB / 1.152 GB, free: 3.621 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006042/0.4934, allocations: 2.133 MB / 1.155 GB, free: 1.484 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.005011/0.4984, allocations: 2.818 MB / 1.157 GB, free: 14.66 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.007596/0.5061, allocations: 3.127 MB / 1.16 GB, free: 11.52 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01677/0.5229, allocations: 11.82 MB / 1.172 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.5229, allocations: 7.938 kB / 1.172 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.767e-06/0.5229, allocations: 0 / 1.172 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0004559/0.5234, allocations: 3.938 kB / 1.172 GB, free: 15.65 MB / 0.9356 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.02018/0.5436, allocations: 5.795 MB / 1.178 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.5436, allocations: 8.031 kB / 1.178 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007716/0.5514, allocations: 1.056 MB / 1.179 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007631/0.559, allocations: 3.262 MB / 1.182 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004329/0.5595, allocations: 411.5 kB / 1.182 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002035/0.5615, allocations: 0.5432 MB / 1.183 GB, free: 4.449 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02472/0.5863, allocations: 9.075 MB / 1.192 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003432/0.5867, allocations: 27.7 kB / 1.192 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00198/0.5886, allocations: 236 kB / 1.192 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004628/0.5891, allocations: 350.8 kB / 1.192 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01727/0.6064, allocations: 6.83 MB / 1.199 GB, free: 3.613 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05662/0.6631, allocations: 40.11 MB / 1.238 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004197/0.6673, allocations: 3.108 MB / 1.241 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002956/0.6703, allocations: 1.978 MB / 1.243 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001547/0.6705, allocations: 22 kB / 1.243 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.951e-05/0.6705, allocations: 48.56 kB / 1.243 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=179): time 3.907e-06/0.6705, allocations: 3.938 kB / 1.243 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of matching and sorting (n=182): time 0.7032/1.374, allocations: 9.978 MB / 1.253 GB, free: 163.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/1.374, allocations: 70.42 kB / 1.253 GB, free: 163.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00238/1.376, allocations: 1.526 MB / 1.254 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001434/1.376, allocations: 56.83 kB / 1.254 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00146/1.378, allocations: 2.251 MB / 1.257 GB, free: 162 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005593/1.378, allocations: 0.6325 MB / 1.257 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006213/1.379, allocations: 407.6 kB / 1.258 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.687e-05/1.379, allocations: 303.7 kB / 1.258 GB, free: 161.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001596/1.381, allocations: 1.181 MB / 1.259 GB, free: 160.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001907/1.383, allocations: 1.886 MB / 1.261 GB, free: 159.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003874/1.386, allocations: 3.366 MB / 1.264 GB, free: 157.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.26e-05/1.386, allocations: 5.312 kB / 1.264 GB, free: 157.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.009124/1.396, allocations: 4.581 MB / 1.269 GB, free: 155.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.652e-05/1.396, allocations: 22.03 kB / 1.269 GB, free: 155.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.281e-05/1.396, allocations: 22.8 kB / 1.269 GB, free: 155.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003936/1.4, allocations: 1.571 MB / 1.27 GB, free: 155.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/1.401, allocations: 360.9 kB / 1.271 GB, free: 155.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02242/1.423, allocations: 17.03 MB / 1.287 GB, free: 145 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002965/1.426, allocations: 119.4 kB / 1.287 GB, free: 145 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002758/1.427, allocations: 94.91 kB / 1.287 GB, free: 145 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.00467/1.431, allocations: 1.896 MB / 1.289 GB, free: 144.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00054/1.432, allocations: 228.6 kB / 1.289 GB, free: 144.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006632/1.438, allocations: 4.09 MB / 1.293 GB, free: 142.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.968e-05/1.439, allocations: 17.38 kB / 1.293 GB, free: 142.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.509e-05/1.439, allocations: 23.38 kB / 1.293 GB, free: 142.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/1.439, allocations: 7.781 kB / 1.293 GB, free: 142.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01398/1.453, allocations: 9.47 MB / 1.303 GB, free: 137.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/1.453, allocations: 3.938 kB / 1.303 GB, free: 137.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007141/1.453, allocations: 183.3 kB / 1.303 GB, free: 137.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002997/1.456, allocations: 1.356 MB / 1.304 GB, free: 136.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001205/1.456, allocations: 35.75 kB / 1.304 GB, free: 136.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01575/1.472, allocations: 15.93 MB / 1.32 GB, free: 125 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/1.472, allocations: 5.75 kB / 1.32 GB, free: 125 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005606/1.478, allocations: 4.079 MB / 1.324 GB, free: 120.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/1.479, allocations: 0.5257 MB / 1.324 GB, free: 120.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002854/1.479, allocations: 43.89 kB / 1.324 GB, free: 120.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008364/1.48, allocations: 79.91 kB / 1.324 GB, free: 120.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004726/1.481, allocations: 169.6 kB / 1.325 GB, free: 120.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.877e-05/1.481, allocations: 48 kB / 1.325 GB, free: 120.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001204/1.482, allocations: 1.006 MB / 1.326 GB, free: 119 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.482, allocations: 0 / 1.326 GB, free: 119 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003382/1.485, allocations: 0.9844 MB / 1.327 GB, free: 118 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.0002675/1.486, allocations: 155 kB / 1.327 GB, free: 117.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005625/1.491, allocations: 4.271 MB / 1.331 GB, free: 113.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/1.491, allocations: 4 kB / 1.331 GB, free: 113.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003259/1.494, allocations: 2.652 MB / 1.334 GB, free: 110.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003029/1.498, allocations: 0.7168 MB / 1.334 GB, free: 110.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01399/1.512, allocations: 11.01 MB / 1.345 GB, free: 99.11 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003354/1.515, allocations: 3.573 MB / 1.348 GB, free: 95.51 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001441/1.516, allocations: 459.8 kB / 1.349 GB, free: 95.07 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00027/1.517, allocations: 115.4 kB / 1.349 GB, free: 94.96 MB / 0.9981 GB Notification: Performance of SimCode: time 1.122e-06/1.517, allocations: 0 / 1.349 GB, free: 94.96 MB / 0.9981 GB Notification: Performance of Templates: time 0.06323/1.58, allocations: 42.7 MB / 1.391 GB, free: 52.73 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)