Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001321/0.001321, 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.001472/0.001472, allocations: 191.5 kB / 16.13 MB, free: 6.707 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.434/1.434, 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.901/2.901, allocations: 472.6 MB / 0.7447 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 63.55 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3335, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02616/0.3597, allocations: 23.24 MB / 1.09 GB, free: 3.586 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01247/0.3722, allocations: 6.504 MB / 1.097 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002363/0.3746, allocations: 87.5 kB / 1.097 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00425/0.3789, allocations: 1.345 MB / 1.098 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005113/0.384, allocations: 1.755 MB / 1.1 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004066/0.3881, allocations: 1.335 MB / 1.101 GB, free: 8.535 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01084/0.399, allocations: 10.6 MB / 1.111 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01227/0.4113, allocations: 7.611 MB / 1.119 GB, free: 6.215 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004995/0.4163, allocations: 2.417 MB / 1.121 GB, free: 3.789 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006338/0.4227, allocations: 3.607 MB / 1.125 GB, free: 176 kB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001664/0.4244, allocations: 380 kB / 1.125 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00393/0.4283, allocations: 1.201 MB / 1.126 GB, free: 14.6 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.003764/0.4321, allocations: 2.311 MB / 1.128 GB, free: 12.28 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.005159/0.4373, allocations: 2.349 MB / 1.131 GB, free: 9.922 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01133/0.4486, allocations: 8.386 MB / 1.139 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.4487, allocations: 0 / 1.139 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.804e-06/0.4487, allocations: 0 / 1.139 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0003316/0.449, allocations: 4 kB / 1.139 GB, free: 1.508 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.01463/0.4637, allocations: 4.424 MB / 1.143 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.859e-05/0.4638, allocations: 12.03 kB / 1.143 GB, free: 13 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009543/0.4733, allocations: 1.677 MB / 1.145 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006239/0.4796, allocations: 2.575 MB / 1.147 GB, free: 8.688 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000352/0.48, allocations: 271.7 kB / 1.148 GB, free: 8.422 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001884/0.4819, allocations: 368.2 kB / 1.148 GB, free: 8.062 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01886/0.5007, allocations: 7.491 MB / 1.155 GB, free: 308 kB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001753/0.501, allocations: 11.94 kB / 1.155 GB, free: 296 kB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001472/0.5025, allocations: 155.9 kB / 1.155 GB, free: 140 kB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006894/0.5032, allocations: 487.4 kB / 1.156 GB, free: 15.66 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01219/0.5154, allocations: 5.701 MB / 1.162 GB, free: 9.949 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0431/0.5585, allocations: 31.72 MB / 1.192 GB, free: 7.461 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003383/0.5619, allocations: 2.086 MB / 1.195 GB, free: 5.363 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003294/0.5652, allocations: 2.186 MB / 1.197 GB, free: 3.176 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000183/0.5655, allocations: 13.31 kB / 1.197 GB, free: 3.16 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.349e-05/0.5655, allocations: 51.81 kB / 1.197 GB, free: 3.102 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=146): time 3.757e-06/0.5655, allocations: 4 kB / 1.197 GB, free: 3.098 MB / 0.9512 GB Notification: Performance of matching and sorting (n=251): time 0.8782/1.444, allocations: 77 MB / 1.272 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.402e-05/1.444, allocations: 77.94 kB / 1.272 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002646/1.447, allocations: 1.668 MB / 1.274 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005774/1.447, allocations: 65.98 kB / 1.274 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001028/1.448, allocations: 1.748 MB / 1.275 GB, free: 166 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009535/1.449, allocations: 0.8517 MB / 1.276 GB, free: 165.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001109/1.45, allocations: 486 kB / 1.277 GB, free: 165 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.314e-05/1.45, allocations: 302.3 kB / 1.277 GB, free: 164.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003703/1.454, allocations: 2.727 MB / 1.28 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004178/1.458, allocations: 3.332 MB / 1.283 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007905/1.466, allocations: 6.395 MB / 1.289 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.499e-05/1.466, allocations: 9.25 kB / 1.289 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02958/1.496, allocations: 14.67 MB / 1.303 GB, free: 148.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.131e-05/1.496, allocations: 16.25 kB / 1.304 GB, free: 148.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.237e-05/1.496, allocations: 16 kB / 1.304 GB, free: 148.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02775/1.524, allocations: 9.233 MB / 1.313 GB, free: 139.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/1.525, allocations: 303.4 kB / 1.313 GB, free: 138.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06232/1.587, allocations: 47.45 MB / 1.359 GB, free: 90.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002896/1.59, allocations: 223.7 kB / 1.359 GB, free: 90.45 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003014/1.59, allocations: 96 kB / 1.359 GB, free: 90.35 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.002433/1.593, allocations: 1.587 MB / 1.361 GB, free: 88.75 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005548/1.593, allocations: 245.1 kB / 1.361 GB, free: 88.51 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02857/1.622, allocations: 14.75 MB / 1.376 GB, free: 73.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-05/1.622, allocations: 30.28 kB / 1.376 GB, free: 73.67 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002174/1.622, allocations: 47 kB / 1.376 GB, free: 73.63 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.412e-05/1.622, allocations: 11.95 kB / 1.376 GB, free: 73.62 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03707/1.659, allocations: 20.52 MB / 1.396 GB, free: 52.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.189e-05/1.659, allocations: 4 kB / 1.396 GB, free: 52.95 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007461/1.66, allocations: 159.8 kB / 1.396 GB, free: 52.79 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02673/1.687, allocations: 9 MB / 1.405 GB, free: 43.76 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004948/1.687, allocations: 48 kB / 1.405 GB, free: 43.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06327/1.751, allocations: 47.02 MB / 1.451 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.1e-05/1.751, allocations: 11.94 kB / 1.451 GB, free: 11.89 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03323/1.784, allocations: 14.36 MB / 1.465 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002987/1.787, allocations: 0.849 MB / 1.466 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001113/1.788, allocations: 51.91 kB / 1.466 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002624/1.791, allocations: 211.7 kB / 1.466 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001651/1.793, allocations: 241.4 kB / 1.466 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003444/1.793, allocations: 71.98 kB / 1.466 GB, free: 11.96 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002137/1.795, allocations: 1.121 MB / 1.467 GB, free: 10.81 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.3e-07/1.795, allocations: 0 / 1.467 GB, free: 10.81 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.006868/1.802, allocations: 1.609 MB / 1.469 GB, free: 9.203 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.0005667/1.802, allocations: 172.7 kB / 1.469 GB, free: 9.027 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.02397/1.826, allocations: 10.51 MB / 1.479 GB, free: 14.45 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.324e-05/1.827, allocations: 7.938 kB / 1.479 GB, free: 14.44 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.02019/1.847, allocations: 7.325 MB / 1.486 GB, free: 7.066 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004833/1.852, allocations: 0.5182 MB / 1.487 GB, free: 6.559 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02068/1.872, allocations: 10.61 MB / 1.497 GB, free: 11.91 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00443/1.877, allocations: 3.227 MB / 1.5 GB, free: 8.641 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001286/1.878, allocations: 400.2 kB / 1.501 GB, free: 8.254 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002473/1.878, allocations: 95.44 kB / 1.501 GB, free: 8.16 MB / 1.061 GB Notification: Performance of SimCode: time 1.072e-06/1.878, allocations: 0 / 1.501 GB, free: 8.16 MB / 1.061 GB Notification: Performance of Templates: time 0.1446/2.023, allocations: 89.67 MB / 1.588 GB, free: 14.75 MB / 1.154 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)