Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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_latest_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_latest_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.001909/0.001909, allocations: 106.6 kB / 16.41 MB, free: 6.465 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.002362/0.002362, allocations: 190.7 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.285/1.285, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.328/2.328, allocations: 461.9 MB / 0.7354 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 67.89 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7563/0.7577, 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.ACLine_R_N): time 0.03789/0.7956, allocations: 37.97 MB / 1.246 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01584/0.8115, allocations: 10.98 MB / 1.256 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002398/0.8139, allocations: 155.2 kB / 1.256 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.008999/0.823, allocations: 4.367 MB / 1.261 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00452/0.8275, allocations: 2.34 MB / 1.263 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004168/0.8317, allocations: 2.164 MB / 1.265 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.008197/0.8399, allocations: 9.303 MB / 1.274 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01137/0.8513, allocations: 11.26 MB / 1.285 GB, free: 14.79 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004907/0.8562, allocations: 4.055 MB / 1.289 GB, free: 10.73 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004962/0.8612, allocations: 4.51 MB / 1.293 GB, free: 6.203 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001064/0.8623, allocations: 0.8242 MB / 1.294 GB, free: 5.379 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00248/0.8647, allocations: 1.584 MB / 1.296 GB, free: 3.793 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.00243/0.8672, allocations: 3.158 MB / 1.299 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003416/0.8706, allocations: 3.657 MB / 1.302 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01035/0.881, allocations: 12.31 MB / 1.315 GB, free: 0.6172 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.881, allocations: 0 / 1.315 GB, free: 0.6172 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.583e-06/0.881, allocations: 0 / 1.315 GB, free: 0.6172 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0002248/0.8812, allocations: 0 / 1.315 GB, free: 0.6172 MB / 1.029 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.01083/0.8921, allocations: 6.33 MB / 1.321 GB, free: 10.21 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.8921, allocations: 8.031 kB / 1.321 GB, free: 10.21 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004574/0.8967, allocations: 1.071 MB / 1.322 GB, free: 9.129 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005223/0.9019, allocations: 3.602 MB / 1.325 GB, free: 5.473 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002622/0.9022, allocations: 423.7 kB / 1.326 GB, free: 5.059 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007805/0.903, allocations: 0.5471 MB / 1.326 GB, free: 4.512 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01347/0.9165, allocations: 9.377 MB / 1.335 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001062/0.9166, allocations: 19.81 kB / 1.335 GB, free: 10.78 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00052/0.9171, allocations: 252 kB / 1.336 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005458/0.9177, allocations: 418.9 kB / 1.336 GB, free: 10.12 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01063/0.9283, allocations: 7.127 MB / 1.343 GB, free: 2.988 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03526/0.9636, allocations: 41 MB / 1.383 GB, free: 6.25 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00412/0.9678, allocations: 3.094 MB / 1.386 GB, free: 3.148 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002595/0.9704, allocations: 2.163 MB / 1.388 GB, free: 0.9844 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 9.459e-05/0.9705, allocations: 22 kB / 1.388 GB, free: 0.9648 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.962e-05/0.9705, allocations: 64.42 kB / 1.388 GB, free: 0.8906 MB / 1.107 GB Notification: Performance of pre-optimization done (n=209): time 4.158e-06/0.9706, allocations: 0 / 1.388 GB, free: 0.8906 MB / 1.107 GB Notification: Performance of matching and sorting (n=212): time 0.02158/0.9921, allocations: 10.56 MB / 1.399 GB, free: 6.23 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.9922, allocations: 77.34 kB / 1.399 GB, free: 6.145 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002673/0.9949, allocations: 2.009 MB / 1.401 GB, free: 4.117 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001441/0.995, allocations: 65.7 kB / 1.401 GB, free: 4.047 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001333/0.9964, allocations: 2.404 MB / 1.403 GB, free: 1.609 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005239/0.9969, allocations: 0.724 MB / 1.404 GB, free: 0.875 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006722/0.9976, allocations: 477.2 kB / 1.404 GB, free: 412 kB / 1.123 GB Notification: Performance of setup shared object (initialization): time 7.645e-05/0.9977, allocations: 305.1 kB / 1.404 GB, free: 104 kB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001823/0.9995, allocations: 1.376 MB / 1.406 GB, free: 14.72 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002229/1.002, allocations: 2.108 MB / 1.408 GB, free: 12.29 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004487/1.006, allocations: 3.766 MB / 1.412 GB, free: 8.219 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.365e-05/1.006, allocations: 8 kB / 1.412 GB, free: 8.211 MB / 1.139 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.007443/1.014, allocations: 5.069 MB / 1.416 GB, free: 3.117 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.417e-05/1.014, allocations: 19.92 kB / 1.417 GB, free: 3.098 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.709e-05/1.014, allocations: 24 kB / 1.417 GB, free: 3.074 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003186/1.017, allocations: 1.582 MB / 1.418 GB, free: 1.484 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001507/1.018, allocations: 455.2 kB / 1.419 GB, free: 1.039 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02079/1.039, allocations: 18.56 MB / 1.437 GB, free: 13.92 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001926/1.041, allocations: 147.9 kB / 1.437 GB, free: 13.78 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002455/1.041, allocations: 115.9 kB / 1.437 GB, free: 13.66 MB / 1.17 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.002996/1.044, allocations: 1.94 MB / 1.439 GB, free: 11.71 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005015/1.045, allocations: 284.7 kB / 1.439 GB, free: 11.43 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006808/1.052, allocations: 4.455 MB / 1.443 GB, free: 6.945 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-05/1.052, allocations: 19.94 kB / 1.443 GB, free: 6.926 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/1.052, allocations: 0 / 1.443 GB, free: 6.926 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/1.053, allocations: 0.6264 MB / 1.444 GB, free: 6.277 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005195/1.054, allocations: 39.94 kB / 1.444 GB, free: 6.238 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001365/1.055, allocations: 111.9 kB / 1.444 GB, free: 6.129 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003584/1.055, allocations: 205.6 kB / 1.444 GB, free: 5.93 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008612/1.064, allocations: 4.86 MB / 1.449 GB, free: 1.047 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00587/1.07, allocations: 4.833 MB / 1.454 GB, free: 12.18 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001707/1.071, allocations: 1.514 MB / 1.455 GB, free: 10.66 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001836/1.073, allocations: 1.311 MB / 1.457 GB, free: 9.344 MB / 1.186 GB Notification: Performance of Backend: time 5.62e-07/1.073, allocations: 0 / 1.457 GB, free: 9.344 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.007114/1.08, allocations: 3.984 MB / 1.46 GB, free: 5.312 MB / 1.186 GB Notification: Performance of SimCode: time 0.01733/1.098, allocations: 10.19 MB / 1.47 GB, free: 11.07 MB / 1.201 GB Notification: Performance of Templates: time 0.3484/1.446, allocations: 58.65 MB / 1.528 GB, free: 1.145 MB / 1.248 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)