Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001903/0.001903, allocations: 190.9 kB / 16.14 MB, free: 6.656 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.418/1.418, 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.781/2.781, allocations: 472.6 MB / 0.7447 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 68.3 kB / 0.9114 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.337, allocations: 159.9 MB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02499/0.362, allocations: 23.24 MB / 1.09 GB, free: 3.645 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01137/0.3734, allocations: 6.508 MB / 1.097 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004108/0.3776, allocations: 83.5 kB / 1.097 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.005059/0.3827, allocations: 1.341 MB / 1.098 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005842/0.3885, allocations: 1.755 MB / 1.1 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003781/0.3924, allocations: 1.333 MB / 1.101 GB, free: 8.598 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01136/0.4037, allocations: 10.6 MB / 1.111 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01302/0.4168, allocations: 7.614 MB / 1.119 GB, free: 6.277 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005243/0.4221, allocations: 2.417 MB / 1.121 GB, free: 3.852 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00644/0.4286, allocations: 3.603 MB / 1.125 GB, free: 244 kB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.00187/0.4305, allocations: 380 kB / 1.125 GB, free: 15.86 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004161/0.4346, allocations: 1.201 MB / 1.126 GB, free: 14.66 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.005451/0.4401, allocations: 2.311 MB / 1.128 GB, free: 12.35 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.006262/0.4464, allocations: 2.356 MB / 1.131 GB, free: 9.98 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01225/0.4587, allocations: 8.382 MB / 1.139 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 9.427e-06/0.4587, allocations: 0 / 1.139 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.744e-06/0.4588, allocations: 0 / 1.139 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0003526/0.4591, allocations: 0 / 1.139 GB, free: 1.574 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01504/0.4742, allocations: 4.424 MB / 1.143 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.4742, allocations: 8.031 kB / 1.143 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01011/0.4844, allocations: 1.685 MB / 1.145 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006051/0.4904, allocations: 2.571 MB / 1.147 GB, free: 8.758 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00028/0.4908, allocations: 271.7 kB / 1.148 GB, free: 8.492 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001621/0.4924, allocations: 364.3 kB / 1.148 GB, free: 8.137 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01747/0.5099, allocations: 7.495 MB / 1.155 GB, free: 380 kB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001691/0.5101, allocations: 11.88 kB / 1.155 GB, free: 368 kB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001151/0.5113, allocations: 159.9 kB / 1.155 GB, free: 208 kB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007535/0.512, allocations: 483.3 kB / 1.156 GB, free: 15.73 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0126/0.5246, allocations: 5.701 MB / 1.162 GB, free: 10.02 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04373/0.5684, allocations: 31.72 MB / 1.192 GB, free: 7.531 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003117/0.5716, allocations: 2.086 MB / 1.195 GB, free: 5.434 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003254/0.5748, allocations: 2.182 MB / 1.197 GB, free: 3.25 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001933/0.5751, allocations: 17.31 kB / 1.197 GB, free: 3.23 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.5751, allocations: 47.88 kB / 1.197 GB, free: 3.176 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=146): time 4.579e-06/0.5751, allocations: 11.92 kB / 1.197 GB, free: 3.164 MB / 0.9512 GB Notification: Performance of matching and sorting (n=251): time 0.9721/1.547, allocations: 76.99 MB / 1.272 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.361e-05/1.547, allocations: 81.22 kB / 1.272 GB, free: 168.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002721/1.55, allocations: 1.669 MB / 1.274 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005608/1.551, allocations: 65.23 kB / 1.274 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001143/1.552, allocations: 1.757 MB / 1.275 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001102/1.553, allocations: 0.8439 MB / 1.276 GB, free: 165.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001097/1.554, allocations: 486 kB / 1.277 GB, free: 165 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.683e-05/1.554, allocations: 302.3 kB / 1.277 GB, free: 164.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004235/1.558, allocations: 2.727 MB / 1.28 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004521/1.563, allocations: 3.331 MB / 1.283 GB, free: 161 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008533/1.571, allocations: 6.392 MB / 1.289 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.857e-05/1.572, allocations: 7.906 kB / 1.289 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03103/1.603, allocations: 14.68 MB / 1.303 GB, free: 148.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.26e-05/1.603, allocations: 12 kB / 1.304 GB, free: 148.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.193e-05/1.603, allocations: 16 kB / 1.304 GB, free: 148.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02697/1.63, allocations: 9.235 MB / 1.313 GB, free: 139.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/1.631, allocations: 303.4 kB / 1.313 GB, free: 139 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06285/1.694, allocations: 47.45 MB / 1.359 GB, free: 90.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003106/1.697, allocations: 223.7 kB / 1.359 GB, free: 90.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003495/1.697, allocations: 96 kB / 1.359 GB, free: 90.49 MB / 0.9981 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002577/1.7, allocations: 1.586 MB / 1.361 GB, free: 88.89 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006157/1.7, allocations: 245.1 kB / 1.361 GB, free: 88.65 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02763/1.728, allocations: 14.76 MB / 1.376 GB, free: 73.84 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.727e-05/1.728, allocations: 24 kB / 1.376 GB, free: 73.81 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001832/1.728, allocations: 48 kB / 1.376 GB, free: 73.77 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.505e-05/1.728, allocations: 11.95 kB / 1.376 GB, free: 73.75 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03912/1.768, allocations: 20.51 MB / 1.396 GB, free: 53.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.948e-05/1.768, allocations: 6.688 kB / 1.396 GB, free: 53.09 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007388/1.768, allocations: 167.7 kB / 1.396 GB, free: 52.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02619/1.795, allocations: 8.994 MB / 1.405 GB, free: 43.91 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005783/1.795, allocations: 51.98 kB / 1.405 GB, free: 43.86 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06228/1.857, allocations: 47.02 MB / 1.451 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.175e-06/1.858, allocations: 4 kB / 1.451 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03165/1.889, allocations: 14.37 MB / 1.465 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002244/1.891, allocations: 0.8494 MB / 1.466 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000538/1.892, allocations: 51.62 kB / 1.466 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001885/1.894, allocations: 203.7 kB / 1.466 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001362/1.895, allocations: 249.4 kB / 1.466 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002306/1.895, allocations: 67.98 kB / 1.466 GB, free: 12.1 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001541/1.897, allocations: 1.125 MB / 1.467 GB, free: 10.95 MB / 1.029 GB Notification: Performance of sort global known variables: time 2e-07/1.897, allocations: 0 / 1.467 GB, free: 10.95 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.005194/1.902, allocations: 1.613 MB / 1.469 GB, free: 9.336 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004107/1.903, allocations: 163 kB / 1.469 GB, free: 9.168 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.02194/1.925, allocations: 10.52 MB / 1.479 GB, free: 14.59 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/1.925, allocations: 0 / 1.479 GB, free: 14.59 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.01796/1.943, allocations: 7.324 MB / 1.486 GB, free: 7.215 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003691/1.946, allocations: 0.5153 MB / 1.487 GB, free: 6.707 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01645/1.963, allocations: 10.61 MB / 1.497 GB, free: 12.05 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003639/1.967, allocations: 3.226 MB / 1.5 GB, free: 8.789 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001264/1.968, allocations: 396.7 kB / 1.501 GB, free: 8.398 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002513/1.968, allocations: 99.44 kB / 1.501 GB, free: 8.301 MB / 1.061 GB Notification: Performance of SimCode: time 2.365e-06/1.968, allocations: 0 / 1.501 GB, free: 8.301 MB / 1.061 GB Notification: Performance of Templates: time 0.1413/2.109, allocations: 89.68 MB / 1.588 GB, free: 14.88 MB / 1.154 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)