Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 113.3 kB / 16.42 MB, free: 6.469 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.001019/0.001019, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.336/1.336, 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 11.0.0-master/package.mo): time 2.584/2.584, allocations: 461.7 MB / 0.7352 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 64.31 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8342/0.8355, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01399/0.8496, allocations: 10.09 MB / 1.218 GB, free: 3.508 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006759/0.8564, allocations: 3.178 MB / 1.221 GB, free: 328 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001194/0.8576, allocations: 35.88 kB / 1.221 GB, free: 292 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002059/0.8597, allocations: 0.5981 MB / 1.222 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002145/0.8618, allocations: 0.7466 MB / 1.223 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001789/0.8637, allocations: 0.7369 MB / 1.223 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003805/0.8675, allocations: 2.996 MB / 1.226 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003567/0.8711, allocations: 2.586 MB / 1.229 GB, free: 8.57 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002165/0.8732, allocations: 1.254 MB / 1.23 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002648/0.8759, allocations: 1.554 MB / 1.231 GB, free: 5.754 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0007344/0.8767, allocations: 236 kB / 1.232 GB, free: 5.523 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001604/0.8783, allocations: 0.4993 MB / 1.232 GB, free: 5.023 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001605/0.8799, allocations: 1.076 MB / 1.233 GB, free: 3.945 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.002291/0.8822, allocations: 1.109 MB / 1.234 GB, free: 2.832 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.004455/0.8867, allocations: 3.687 MB / 1.238 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.8867, allocations: 0 / 1.238 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.033e-06/0.8867, allocations: 0 / 1.238 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001191/0.8868, allocations: 0 / 1.238 GB, free: 15.14 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.006255/0.8931, allocations: 2.146 MB / 1.24 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.8931, allocations: 8.031 kB / 1.24 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008945/0.9021, allocations: 1.313 MB / 1.241 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002806/0.9049, allocations: 1.302 MB / 1.243 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001355/0.9051, allocations: 115.4 kB / 1.243 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007869/0.9059, allocations: 148.3 kB / 1.243 GB, free: 10 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007419/0.9133, allocations: 3.442 MB / 1.246 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.461e-05/0.9134, allocations: 4 kB / 1.246 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000511/0.9139, allocations: 67.95 kB / 1.246 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003188/0.9143, allocations: 203.1 kB / 1.246 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005986/0.9203, allocations: 3.131 MB / 1.249 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02107/0.9414, allocations: 13.55 MB / 1.263 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002886/0.9443, allocations: 1.724 MB / 1.264 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002266/0.9466, allocations: 1.436 MB / 1.266 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00015/0.9468, allocations: 17 kB / 1.266 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.752e-05/0.9469, allocations: 47.5 kB / 1.266 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=104): time 3.446e-06/0.9469, allocations: 0 / 1.266 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of matching and sorting (n=183): time 0.1493/1.096, allocations: 36.68 MB / 1.302 GB, free: 12.55 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/1.096, allocations: 73.41 kB / 1.302 GB, free: 12.47 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001645/1.098, allocations: 1.05 MB / 1.303 GB, free: 11.39 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002531/1.098, allocations: 61.69 kB / 1.303 GB, free: 11.33 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005158/1.099, allocations: 0.7795 MB / 1.304 GB, free: 10.54 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006418/1.099, allocations: 0.6277 MB / 1.304 GB, free: 9.902 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008535/1.1, allocations: 363.4 kB / 1.305 GB, free: 9.539 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 9.037e-05/1.1, allocations: 301.1 kB / 1.305 GB, free: 9.242 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002606/1.103, allocations: 1.932 MB / 1.307 GB, free: 7.309 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002814/1.106, allocations: 2.281 MB / 1.309 GB, free: 4.906 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005436/1.111, allocations: 4.398 MB / 1.313 GB, free: 392 kB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/1.111, allocations: 4 kB / 1.313 GB, free: 388 kB / 1.029 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01971/1.131, allocations: 9.017 MB / 1.322 GB, free: 7.328 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.915e-05/1.131, allocations: 11.94 kB / 1.322 GB, free: 7.316 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.69e-05/1.131, allocations: 12 kB / 1.322 GB, free: 7.305 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01671/1.148, allocations: 4.967 MB / 1.327 GB, free: 2.324 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008598/1.149, allocations: 203.5 kB / 1.327 GB, free: 2.129 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05515/1.204, allocations: 38.89 MB / 1.365 GB, free: 10.66 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002354/1.206, allocations: 103.9 kB / 1.365 GB, free: 10.55 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004083/1.207, allocations: 72 kB / 1.365 GB, free: 10.48 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001636/1.208, allocations: 0.8022 MB / 1.366 GB, free: 9.672 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004466/1.209, allocations: 138.3 kB / 1.366 GB, free: 9.535 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01929/1.228, allocations: 8.886 MB / 1.375 GB, free: 0.6094 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.561e-05/1.228, allocations: 23.88 kB / 1.375 GB, free: 0.5859 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/1.228, allocations: 0 / 1.375 GB, free: 0.5859 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001173/1.229, allocations: 0.632 MB / 1.376 GB, free: 15.93 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003682/1.23, allocations: 28 kB / 1.376 GB, free: 15.91 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/1.231, allocations: 87.89 kB / 1.376 GB, free: 15.82 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006106/1.232, allocations: 313.3 kB / 1.376 GB, free: 15.51 MB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01668/1.248, allocations: 8.079 MB / 1.384 GB, free: 7.414 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008034/1.256, allocations: 6.432 MB / 1.39 GB, free: 0.9492 MB / 1.107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002473/1.259, allocations: 2.139 MB / 1.392 GB, free: 14.81 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001113/1.26, allocations: 0.7382 MB / 1.393 GB, free: 14.06 MB / 1.123 GB Notification: Performance of Backend: time 7.01e-07/1.26, allocations: 4 kB / 1.393 GB, free: 14.06 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.00867/1.269, allocations: 4.373 MB / 1.397 GB, free: 9.625 MB / 1.123 GB Notification: Performance of SimCode: time 0.00714/1.276, allocations: 5.262 MB / 1.402 GB, free: 4.32 MB / 1.123 GB Notification: Performance of Templates: time 0.0744/1.35, allocations: 53.47 MB / 1.455 GB, free: 15.03 MB / 1.186 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)