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.00117/0.00117, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00121/0.00121, allocations: 193.3 kB / 16.25 MB, free: 6.621 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.519/1.519, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.876/2.876, allocations: 472.6 MB / 0.7448 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 59.3 kB / 0.9115 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.3041, allocations: 159.9 MB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02524/0.3294, allocations: 23.24 MB / 1.09 GB, free: 3.512 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01095/0.3404, allocations: 6.441 MB / 1.097 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001862/0.3423, allocations: 83.5 kB / 1.097 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003927/0.3463, allocations: 1.357 MB / 1.098 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004264/0.3505, allocations: 1.704 MB / 1.1 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003586/0.3541, allocations: 1.339 MB / 1.101 GB, free: 8.562 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.008094/0.3622, allocations: 6.935 MB / 1.108 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0128/0.3751, allocations: 8.139 MB / 1.116 GB, free: 9.387 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004412/0.3795, allocations: 2.885 MB / 1.119 GB, free: 6.492 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005964/0.3855, allocations: 3.677 MB / 1.122 GB, free: 2.805 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001761/0.3873, allocations: 0.5273 MB / 1.123 GB, free: 2.277 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003643/0.391, allocations: 1.178 MB / 1.124 GB, free: 1.098 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.004463/0.3955, allocations: 2.472 MB / 1.126 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.005201/0.4007, allocations: 2.532 MB / 1.129 GB, free: 12.08 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01053/0.4113, allocations: 8.518 MB / 1.137 GB, free: 3.535 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.4113, allocations: 0 / 1.137 GB, free: 3.535 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4113, allocations: 0 / 1.137 GB, free: 3.535 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0002812/0.4116, allocations: 0 / 1.137 GB, free: 3.535 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.01069/0.4223, allocations: 4.435 MB / 1.141 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.4223, allocations: 12.03 kB / 1.141 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008795/0.4311, allocations: 1.673 MB / 1.143 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00495/0.4361, allocations: 2.571 MB / 1.146 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002356/0.4364, allocations: 279.7 kB / 1.146 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001207/0.4376, allocations: 364.2 kB / 1.146 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01495/0.4526, allocations: 7.483 MB / 1.153 GB, free: 2.332 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001305/0.4527, allocations: 15.94 kB / 1.153 GB, free: 2.316 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009609/0.4537, allocations: 159.9 kB / 1.154 GB, free: 2.16 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006013/0.4543, allocations: 487.3 kB / 1.154 GB, free: 1.684 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01088/0.4652, allocations: 5.701 MB / 1.16 GB, free: 11.98 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03792/0.5031, allocations: 31.73 MB / 1.191 GB, free: 9.473 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002937/0.5061, allocations: 2.086 MB / 1.193 GB, free: 7.375 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002964/0.5091, allocations: 2.182 MB / 1.195 GB, free: 5.191 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001803/0.5093, allocations: 17.31 kB / 1.195 GB, free: 5.172 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.5093, allocations: 47.86 kB / 1.195 GB, free: 5.117 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=146): time 3.327e-06/0.5094, allocations: 4 kB / 1.195 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of matching and sorting (n=251): time 0.843/1.352, allocations: 77 MB / 1.27 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.779e-05/1.352, allocations: 81.72 kB / 1.27 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00227/1.355, allocations: 1.666 MB / 1.272 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004616/1.355, allocations: 68.69 kB / 1.272 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008794/1.356, allocations: 1.749 MB / 1.274 GB, free: 166.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007336/1.357, allocations: 0.8505 MB / 1.274 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001011/1.358, allocations: 482.2 kB / 1.275 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.351e-05/1.358, allocations: 302 kB / 1.275 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00355/1.361, allocations: 2.735 MB / 1.278 GB, free: 163.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003899/1.365, allocations: 3.324 MB / 1.281 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008115/1.374, allocations: 6.401 MB / 1.287 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.459e-05/1.374, allocations: 8.938 kB / 1.287 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02948/1.403, allocations: 14.68 MB / 1.302 GB, free: 149.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.142e-05/1.403, allocations: 11.72 kB / 1.302 GB, free: 149.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.338e-05/1.403, allocations: 15.03 kB / 1.302 GB, free: 149.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02721/1.43, allocations: 9.294 MB / 1.311 GB, free: 141.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/1.432, allocations: 307.4 kB / 1.311 GB, free: 140.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06595/1.498, allocations: 52.37 MB / 1.362 GB, free: 87.65 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003074/1.501, allocations: 223.7 kB / 1.362 GB, free: 87.43 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005439/1.501, allocations: 96 kB / 1.362 GB, free: 87.34 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.002603/1.504, allocations: 1.586 MB / 1.364 GB, free: 85.74 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006922/1.505, allocations: 245.1 kB / 1.364 GB, free: 85.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02829/1.533, allocations: 14.76 MB / 1.379 GB, free: 70.68 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.186e-05/1.533, allocations: 24 kB / 1.379 GB, free: 70.66 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001078/1.533, allocations: 44 kB / 1.379 GB, free: 70.62 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.342e-05/1.533, allocations: 15.95 kB / 1.379 GB, free: 70.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03487/1.568, allocations: 20.51 MB / 1.399 GB, free: 49.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.358e-05/1.568, allocations: 8 kB / 1.399 GB, free: 49.94 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007058/1.569, allocations: 167.7 kB / 1.399 GB, free: 49.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02642/1.595, allocations: 9.06 MB / 1.408 GB, free: 40.69 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004651/1.596, allocations: 48 kB / 1.408 GB, free: 40.64 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06813/1.664, allocations: 51.95 MB / 1.459 GB, free: 3.848 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/1.664, allocations: 12 kB / 1.459 GB, free: 3.836 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03168/1.696, allocations: 14.36 MB / 1.473 GB, free: 5.336 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002259/1.698, allocations: 0.8462 MB / 1.473 GB, free: 4.469 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006128/1.698, allocations: 51.98 kB / 1.474 GB, free: 4.418 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002049/1.7, allocations: 207.7 kB / 1.474 GB, free: 4.215 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001486/1.702, allocations: 241.5 kB / 1.474 GB, free: 3.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000247/1.702, allocations: 64 kB / 1.474 GB, free: 3.918 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001677/1.704, allocations: 1.129 MB / 1.475 GB, free: 2.766 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.6e-07/1.704, allocations: 4 kB / 1.475 GB, free: 2.762 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.005888/1.71, allocations: 1.613 MB / 1.477 GB, free: 1.145 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.0007482/1.711, allocations: 159.1 kB / 1.477 GB, free: 0.9805 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.02505/1.736, allocations: 11.35 MB / 1.488 GB, free: 5.594 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/1.736, allocations: 224 / 1.488 GB, free: 5.594 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.01715/1.753, allocations: 7.308 MB / 1.495 GB, free: 14.24 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003574/1.756, allocations: 0.5545 MB / 1.496 GB, free: 13.7 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01875/1.775, allocations: 10.62 MB / 1.506 GB, free: 3.039 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005745/1.781, allocations: 3.227 MB / 1.509 GB, free: 15.77 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001413/1.782, allocations: 394.7 kB / 1.509 GB, free: 15.39 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003045/1.783, allocations: 103.4 kB / 1.51 GB, free: 15.29 MB / 1.076 GB Notification: Performance of SimCode: time 1.082e-06/1.783, allocations: 0 / 1.51 GB, free: 15.29 MB / 1.076 GB Notification: Performance of Templates: time 0.1479/1.931, allocations: 93.05 MB / 1.6 GB, free: 2.516 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)