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.001178/0.001178, allocations: 110.1 kB / 16.42 MB, free: 6.496 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.001068/0.001068, allocations: 188.3 kB / 17.35 MB, free: 5.762 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.422/1.422, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.548/2.548, allocations: 437 MB / 0.7112 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 71.89 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.132/1.134, allocations: 151.6 MB / 1.167 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04126/1.175, allocations: 37.96 MB / 1.204 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02105/1.196, allocations: 10.98 MB / 1.215 GB, free: 2.789 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004778/1.201, allocations: 159.2 kB / 1.215 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0113/1.213, allocations: 4.363 MB / 1.22 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00772/1.22, allocations: 2.328 MB / 1.222 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.006432/1.227, allocations: 2.169 MB / 1.224 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01247/1.239, allocations: 9.311 MB / 1.233 GB, free: 424 kB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01797/1.257, allocations: 11.26 MB / 1.244 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008642/1.266, allocations: 4.055 MB / 1.248 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009161/1.275, allocations: 4.514 MB / 1.252 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.00337/1.279, allocations: 0.8203 MB / 1.253 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005499/1.284, allocations: 1.584 MB / 1.255 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.005674/1.29, allocations: 3.15 MB / 1.258 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.008746/1.299, allocations: 3.657 MB / 1.261 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01627/1.315, allocations: 12.31 MB / 1.273 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.866e-06/1.315, allocations: 4 kB / 1.273 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.154e-06/1.315, allocations: 0 / 1.273 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0004217/1.315, allocations: 0 / 1.273 GB, free: 6.859 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.02137/1.337, allocations: 6.334 MB / 1.28 GB, free: 464 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/1.337, allocations: 8.922 kB / 1.28 GB, free: 456 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00578/1.343, allocations: 1.067 MB / 1.281 GB, free: 15.37 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008025/1.351, allocations: 3.614 MB / 1.284 GB, free: 11.7 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003029/1.351, allocations: 423.8 kB / 1.285 GB, free: 11.29 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001306/1.352, allocations: 0.5432 MB / 1.285 GB, free: 10.75 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01712/1.369, allocations: 9.381 MB / 1.294 GB, free: 1.031 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001156/1.37, allocations: 19.81 kB / 1.294 GB, free: 1.012 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006768/1.37, allocations: 248 kB / 1.295 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005987/1.371, allocations: 422.9 kB / 1.295 GB, free: 364 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01398/1.385, allocations: 7.123 MB / 1.302 GB, free: 9.223 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05777/1.443, allocations: 40.99 MB / 1.342 GB, free: 12.48 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005504/1.448, allocations: 3.108 MB / 1.345 GB, free: 9.371 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00352/1.452, allocations: 2.149 MB / 1.347 GB, free: 7.223 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001552/1.452, allocations: 29.94 kB / 1.347 GB, free: 7.191 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.986e-05/1.452, allocations: 60.56 kB / 1.347 GB, free: 7.125 MB / 1.076 GB Notification: Performance of pre-optimization done (n=209): time 4.669e-06/1.452, allocations: 0 / 1.347 GB, free: 7.125 MB / 1.076 GB Notification: Performance of matching and sorting (n=212): time 0.02866/1.481, allocations: 10.55 MB / 1.357 GB, free: 12.47 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/1.481, allocations: 81.28 kB / 1.358 GB, free: 12.38 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004173/1.485, allocations: 2.005 MB / 1.359 GB, free: 10.36 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0003563/1.485, allocations: 61.7 kB / 1.36 GB, free: 10.29 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.002458/1.488, allocations: 2.408 MB / 1.362 GB, free: 7.848 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.001004/1.489, allocations: 0.724 MB / 1.363 GB, free: 7.113 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001165/1.49, allocations: 481.2 kB / 1.363 GB, free: 6.637 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002421/1.49, allocations: 301.1 kB / 1.363 GB, free: 6.34 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002637/1.493, allocations: 1.379 MB / 1.365 GB, free: 4.957 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003474/1.496, allocations: 2.112 MB / 1.367 GB, free: 2.531 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006277/1.503, allocations: 3.77 MB / 1.37 GB, free: 14.45 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.65e-05/1.503, allocations: 4 kB / 1.37 GB, free: 14.45 MB / 1.107 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.01078/1.514, allocations: 5.065 MB / 1.375 GB, free: 9.359 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.732e-05/1.514, allocations: 16 kB / 1.375 GB, free: 9.344 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.09e-05/1.514, allocations: 20 kB / 1.375 GB, free: 9.324 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004112/1.518, allocations: 1.592 MB / 1.377 GB, free: 7.723 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002147/1.52, allocations: 455.2 kB / 1.377 GB, free: 7.277 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02808/1.548, allocations: 18.58 MB / 1.396 GB, free: 4.133 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00288/1.551, allocations: 143.9 kB / 1.396 GB, free: 3.992 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006171/1.552, allocations: 108 kB / 1.396 GB, free: 3.887 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.004423/1.556, allocations: 1.945 MB / 1.398 GB, free: 1.93 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001032/1.557, allocations: 284.7 kB / 1.398 GB, free: 1.648 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00889/1.566, allocations: 4.447 MB / 1.402 GB, free: 13.17 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-05/1.566, allocations: 11.95 kB / 1.402 GB, free: 13.16 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/1.566, allocations: 0 / 1.402 GB, free: 13.16 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001984/1.568, allocations: 0.6264 MB / 1.403 GB, free: 12.51 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008996/1.569, allocations: 39.94 kB / 1.403 GB, free: 12.47 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001868/1.571, allocations: 115.9 kB / 1.403 GB, free: 12.36 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005059/1.571, allocations: 209.6 kB / 1.403 GB, free: 12.15 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01055/1.582, allocations: 4.859 MB / 1.408 GB, free: 7.273 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007718/1.59, allocations: 4.832 MB / 1.413 GB, free: 2.414 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002325/1.592, allocations: 1.515 MB / 1.414 GB, free: 0.9023 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.002818/1.595, allocations: 1.315 MB / 1.415 GB, free: 15.58 MB / 1.154 GB Notification: Performance of Backend: time 5.81e-07/1.595, allocations: 0 / 1.415 GB, free: 15.58 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01046/1.605, allocations: 3.986 MB / 1.419 GB, free: 11.54 MB / 1.154 GB Notification: Performance of SimCode: time 0.02261/1.628, allocations: 10.2 MB / 1.429 GB, free: 1.301 MB / 1.154 GB Notification: Performance of Templates: time 0.1172/1.745, allocations: 58.65 MB / 1.487 GB, free: 7.25 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)