Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 115.7 kB / 16.42 MB, free: 6.508 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.001507/0.001507, allocations: 185.5 kB / 17.34 MB, free: 5.742 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.399/1.399, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.209/2.209, allocations: 390.2 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 59.91 kB / 0.9516 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.025/1.027, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.05301/1.08, allocations: 37.96 MB / 1.126 GB, free: 11.89 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02574/1.106, allocations: 10.99 MB / 1.136 GB, free: 4.32 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006535/1.112, allocations: 157.2 kB / 1.137 GB, free: 4.273 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01321/1.126, allocations: 4.371 MB / 1.141 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01032/1.136, allocations: 2.326 MB / 1.143 GB, free: 168 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.008584/1.145, allocations: 2.174 MB / 1.145 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01977/1.164, allocations: 9.292 MB / 1.154 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02182/1.186, allocations: 11.27 MB / 1.165 GB, free: 6.125 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01148/1.198, allocations: 4.047 MB / 1.169 GB, free: 4.227 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0109/1.209, allocations: 4.512 MB / 1.174 GB, free: 1.453 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.004512/1.213, allocations: 0.8267 MB / 1.174 GB, free: 1.449 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008112/1.222, allocations: 1.583 MB / 1.176 GB, free: 1.047 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.01216/1.234, allocations: 3.147 MB / 1.179 GB, free: 15.01 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.01599/1.25, allocations: 3.659 MB / 1.183 GB, free: 12.45 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.02375/1.274, allocations: 12.31 MB / 1.195 GB, free: 1.316 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.879e-06/1.274, allocations: 0 / 1.195 GB, free: 1.316 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.354e-06/1.274, allocations: 0 / 1.195 GB, free: 1.316 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.000508/1.274, allocations: 0 / 1.195 GB, free: 1.316 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02288/1.297, allocations: 6.322 MB / 1.201 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/1.297, allocations: 8.031 kB / 1.201 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008019/1.305, allocations: 1.067 MB / 1.202 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01276/1.318, allocations: 3.614 MB / 1.205 GB, free: 6.172 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000615/1.319, allocations: 423.8 kB / 1.206 GB, free: 5.758 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003201/1.322, allocations: 0.5394 MB / 1.206 GB, free: 5.219 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0289/1.351, allocations: 9.381 MB / 1.216 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003121/1.351, allocations: 27.66 kB / 1.216 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002216/1.353, allocations: 244 kB / 1.216 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007937/1.354, allocations: 422.9 kB / 1.216 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01821/1.372, allocations: 7.123 MB / 1.223 GB, free: 3.691 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06015/1.433, allocations: 41.01 MB / 1.263 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005426/1.438, allocations: 3.104 MB / 1.266 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003478/1.442, allocations: 2.157 MB / 1.268 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000167/1.442, allocations: 22 kB / 1.268 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.465e-05/1.442, allocations: 60.56 kB / 1.268 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=209): time 5.881e-06/1.442, allocations: 3.984 kB / 1.268 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of matching and sorting (n=212): time 0.02889/1.471, allocations: 10.55 MB / 1.279 GB, free: 6.934 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.146e-05/1.471, allocations: 77.34 kB / 1.279 GB, free: 6.848 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004654/1.476, allocations: 2.013 MB / 1.281 GB, free: 4.816 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0004949/1.476, allocations: 65.7 kB / 1.281 GB, free: 4.746 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.00206/1.478, allocations: 2.4 MB / 1.283 GB, free: 2.312 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.00111/1.479, allocations: 0.7279 MB / 1.284 GB, free: 1.574 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001384/1.481, allocations: 477.2 kB / 1.284 GB, free: 1.102 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001458/1.481, allocations: 305.1 kB / 1.285 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002553/1.483, allocations: 1.372 MB / 1.286 GB, free: 15.42 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003306/1.487, allocations: 2.108 MB / 1.288 GB, free: 13 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005884/1.493, allocations: 3.77 MB / 1.292 GB, free: 8.914 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.529e-05/1.493, allocations: 4 kB / 1.292 GB, free: 8.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009536/1.502, allocations: 5.072 MB / 1.297 GB, free: 3.812 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.477e-05/1.502, allocations: 16 kB / 1.297 GB, free: 3.797 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-05/1.502, allocations: 20 kB / 1.297 GB, free: 3.777 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003966/1.506, allocations: 1.588 MB / 1.298 GB, free: 2.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00201/1.508, allocations: 455.2 kB / 1.299 GB, free: 1.734 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02618/1.535, allocations: 18.57 MB / 1.317 GB, free: 14.6 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003375/1.538, allocations: 151.9 kB / 1.317 GB, free: 14.45 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006537/1.539, allocations: 104 kB / 1.317 GB, free: 14.35 MB / 1.061 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004928/1.544, allocations: 1.941 MB / 1.319 GB, free: 12.4 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001079/1.545, allocations: 284.7 kB / 1.319 GB, free: 12.12 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008876/1.554, allocations: 4.455 MB / 1.324 GB, free: 7.633 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.644e-05/1.554, allocations: 15.95 kB / 1.324 GB, free: 7.617 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/1.554, allocations: 0 / 1.324 GB, free: 7.617 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002195/1.556, allocations: 0.6226 MB / 1.324 GB, free: 6.973 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009695/1.557, allocations: 47.78 kB / 1.324 GB, free: 6.926 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001918/1.559, allocations: 111.9 kB / 1.324 GB, free: 6.816 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004988/1.559, allocations: 213.6 kB / 1.325 GB, free: 6.609 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01035/1.57, allocations: 4.847 MB / 1.329 GB, free: 1.742 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007283/1.577, allocations: 4.829 MB / 1.334 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002023/1.579, allocations: 1.514 MB / 1.336 GB, free: 11.37 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002596/1.582, allocations: 1.311 MB / 1.337 GB, free: 10.05 MB / 1.076 GB Notification: Performance of Backend: time 1.032e-06/1.582, allocations: 0 / 1.337 GB, free: 10.05 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01006/1.592, allocations: 3.983 MB / 1.341 GB, free: 6.016 MB / 1.076 GB Notification: Performance of SimCode: time 0.02221/1.614, allocations: 10.2 MB / 1.351 GB, free: 11.77 MB / 1.092 GB Notification: Performance of Templates: time 0.1161/1.73, allocations: 58.66 MB / 1.408 GB, free: 1.836 MB / 1.139 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)