Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001484/0.001484, allocations: 113.9 kB / 16.42 MB, free: 6.473 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.001599/0.001599, allocations: 187.9 kB / 17.35 MB, free: 5.711 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.443/1.443, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.61/2.61, allocations: 437.1 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 71.83 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.063/1.064, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04055/1.105, allocations: 37.95 MB / 1.204 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02221/1.127, allocations: 11 MB / 1.215 GB, free: 2.723 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004885/1.132, allocations: 159.2 kB / 1.215 GB, free: 2.566 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.01123/1.143, allocations: 4.362 MB / 1.22 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.007219/1.151, allocations: 2.332 MB / 1.222 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.006176/1.157, allocations: 2.171 MB / 1.224 GB, free: 9.684 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01217/1.169, allocations: 9.311 MB / 1.233 GB, free: 352 kB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01985/1.189, allocations: 11.27 MB / 1.244 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009923/1.199, allocations: 4.051 MB / 1.248 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008499/1.207, allocations: 4.51 MB / 1.252 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.002918/1.21, allocations: 0.8281 MB / 1.253 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00495/1.215, allocations: 1.584 MB / 1.255 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.005063/1.22, allocations: 3.146 MB / 1.258 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.008314/1.229, allocations: 3.657 MB / 1.261 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.02061/1.249, allocations: 12.34 MB / 1.273 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/1.249, allocations: 0 / 1.273 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.633e-06/1.249, allocations: 0 / 1.273 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0004803/1.25, allocations: 0 / 1.273 GB, free: 6.758 MB / 0.9981 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.0214/1.271, allocations: 6.486 MB / 1.28 GB, free: 196 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/1.271, allocations: 8.922 kB / 1.28 GB, free: 188 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006697/1.278, allocations: 1.098 MB / 1.281 GB, free: 15.08 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008549/1.287, allocations: 3.624 MB / 1.284 GB, free: 11.41 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004196/1.287, allocations: 419.8 kB / 1.285 GB, free: 11 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002295/1.289, allocations: 0.5433 MB / 1.285 GB, free: 10.45 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02212/1.311, allocations: 9.377 MB / 1.294 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002284/1.312, allocations: 23.77 kB / 1.295 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001786/1.313, allocations: 248 kB / 1.295 GB, free: 488 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008744/1.314, allocations: 422.9 kB / 1.295 GB, free: 64 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01487/1.329, allocations: 7.123 MB / 1.302 GB, free: 8.93 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05247/1.382, allocations: 41.07 MB / 1.342 GB, free: 12.12 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005041/1.387, allocations: 3.104 MB / 1.345 GB, free: 9.012 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003107/1.39, allocations: 2.153 MB / 1.347 GB, free: 6.859 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001695/1.39, allocations: 22 kB / 1.347 GB, free: 6.836 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.01e-05/1.39, allocations: 60.56 kB / 1.347 GB, free: 6.77 MB / 1.076 GB Notification: Performance of pre-optimization done (n=209): time 4.127e-06/1.39, allocations: 0 / 1.347 GB, free: 6.77 MB / 1.076 GB Notification: Performance of matching and sorting (n=212): time 0.02601/1.416, allocations: 10.63 MB / 1.358 GB, free: 12.05 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/1.416, allocations: 77.34 kB / 1.358 GB, free: 11.96 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00398/1.42, allocations: 2.013 MB / 1.36 GB, free: 9.93 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0003707/1.421, allocations: 61.7 kB / 1.36 GB, free: 9.863 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001934/1.423, allocations: 2.474 MB / 1.362 GB, free: 7.363 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.001011/1.424, allocations: 0.763 MB / 1.363 GB, free: 6.594 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001132/1.425, allocations: 489.4 kB / 1.364 GB, free: 6.109 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001116/1.425, allocations: 301.1 kB / 1.364 GB, free: 5.812 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002239/1.427, allocations: 1.379 MB / 1.365 GB, free: 4.43 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002696/1.43, allocations: 2.112 MB / 1.367 GB, free: 2.004 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004918/1.435, allocations: 3.766 MB / 1.371 GB, free: 13.93 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.927e-05/1.435, allocations: 4 kB / 1.371 GB, free: 13.92 MB / 1.107 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008392/1.443, allocations: 5.081 MB / 1.376 GB, free: 8.816 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.41e-05/1.443, allocations: 16 kB / 1.376 GB, free: 8.801 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.614e-05/1.443, allocations: 20 kB / 1.376 GB, free: 8.781 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003574/1.447, allocations: 1.592 MB / 1.377 GB, free: 7.18 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001687/1.449, allocations: 455.2 kB / 1.378 GB, free: 6.734 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0226/1.471, allocations: 18.59 MB / 1.396 GB, free: 3.582 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002487/1.474, allocations: 143.9 kB / 1.396 GB, free: 3.441 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004638/1.474, allocations: 112.1 kB / 1.396 GB, free: 3.332 MB / 1.123 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.003606/1.478, allocations: 1.933 MB / 1.398 GB, free: 1.387 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008404/1.479, allocations: 306.2 kB / 1.398 GB, free: 1.086 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007723/1.487, allocations: 4.455 MB / 1.403 GB, free: 12.59 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.563e-05/1.487, allocations: 11.97 kB / 1.403 GB, free: 12.58 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/1.487, allocations: 0 / 1.403 GB, free: 12.58 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001516/1.488, allocations: 0.6397 MB / 1.403 GB, free: 11.92 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007529/1.489, allocations: 39.94 kB / 1.403 GB, free: 11.88 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001692/1.491, allocations: 111.9 kB / 1.404 GB, free: 11.77 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005208/1.491, allocations: 209.6 kB / 1.404 GB, free: 11.57 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009844/1.501, allocations: 4.867 MB / 1.409 GB, free: 6.688 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00695/1.508, allocations: 4.846 MB / 1.413 GB, free: 1.816 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001923/1.51, allocations: 1.511 MB / 1.415 GB, free: 316 kB / 1.139 GB Notification: Performance of sorting global known variables: time 0.002457/1.512, allocations: 1.315 MB / 1.416 GB, free: 14.98 MB / 1.154 GB Notification: Performance of Backend: time 1.062e-06/1.512, allocations: 0 / 1.416 GB, free: 14.98 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.009621/1.522, allocations: 4.007 MB / 1.42 GB, free: 10.93 MB / 1.154 GB Notification: Performance of SimCode: time 0.02492/1.547, allocations: 10.38 MB / 1.43 GB, free: 0.4922 MB / 1.154 GB Notification: Performance of Templates: time 0.1164/1.663, allocations: 58.66 MB / 1.487 GB, free: 6.441 MB / 1.217 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)