Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 113.9 kB / 16.42 MB, free: 6.477 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.001714/0.001714, allocations: 190.7 kB / 17.35 MB, free: 5.707 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.459/1.459, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.785/2.785, allocations: 472.7 MB / 0.746 GB, free: 432 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 71.84 kB / 1.07 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8669/0.8683, allocations: 159.9 MB / 1.226 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04251/0.9109, allocations: 34.85 MB / 1.26 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02124/0.9322, allocations: 11.48 MB / 1.272 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003897/0.9361, allocations: 159.2 kB / 1.272 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01078/0.947, allocations: 4.261 MB / 1.276 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006031/0.953, allocations: 2.092 MB / 1.278 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006495/0.9595, allocations: 2.395 MB / 1.28 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01143/0.971, allocations: 8.483 MB / 1.289 GB, free: 13.6 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01639/0.9874, allocations: 11.13 MB / 1.299 GB, free: 2.355 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007326/0.9948, allocations: 3.802 MB / 1.303 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007933/1.003, allocations: 4.186 MB / 1.307 GB, free: 10.34 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.002639/1.005, allocations: 0.7812 MB / 1.308 GB, free: 9.562 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005811/1.011, allocations: 2.024 MB / 1.31 GB, free: 7.535 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.005265/1.017, allocations: 3.057 MB / 1.313 GB, free: 4.473 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.008014/1.025, allocations: 3.4 MB / 1.316 GB, free: 1.059 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01723/1.042, allocations: 12.01 MB / 1.328 GB, free: 5.012 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/1.042, allocations: 0 / 1.328 GB, free: 5.012 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.134e-06/1.042, allocations: 0 / 1.328 GB, free: 5.012 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0004003/1.042, allocations: 0 / 1.328 GB, free: 5.012 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01582/1.058, allocations: 5.939 MB / 1.334 GB, free: 14.99 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/1.058, allocations: 11.97 kB / 1.334 GB, free: 14.98 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006687/1.065, allocations: 1.094 MB / 1.335 GB, free: 13.88 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007396/1.072, allocations: 3.459 MB / 1.338 GB, free: 10.37 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000348/1.073, allocations: 415.5 kB / 1.339 GB, free: 9.961 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001967/1.075, allocations: 0.5393 MB / 1.339 GB, free: 9.422 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01906/1.094, allocations: 9.083 MB / 1.348 GB, free: 20 kB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000186/1.094, allocations: 27.88 kB / 1.348 GB, free: 15.99 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008474/1.095, allocations: 236 kB / 1.348 GB, free: 15.76 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003649/1.095, allocations: 350.8 kB / 1.349 GB, free: 15.41 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01337/1.109, allocations: 6.83 MB / 1.355 GB, free: 8.574 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04926/1.158, allocations: 39.86 MB / 1.394 GB, free: 13.01 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004103/1.162, allocations: 3.112 MB / 1.397 GB, free: 9.75 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002821/1.165, allocations: 1.989 MB / 1.399 GB, free: 7.758 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001175/1.165, allocations: 18 kB / 1.399 GB, free: 7.738 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.314e-05/1.165, allocations: 52.56 kB / 1.399 GB, free: 7.68 MB / 1.123 GB Notification: Performance of pre-optimization done (n=179): time 3.807e-06/1.165, allocations: 0 / 1.399 GB, free: 7.68 MB / 1.123 GB Notification: Performance of matching and sorting (n=182): time 0.02542/1.191, allocations: 10.05 MB / 1.409 GB, free: 13.54 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/1.191, allocations: 69.41 kB / 1.409 GB, free: 13.46 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0023/1.193, allocations: 1.534 MB / 1.411 GB, free: 11.88 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001516/1.193, allocations: 53.7 kB / 1.411 GB, free: 11.82 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001456/1.195, allocations: 2.324 MB / 1.413 GB, free: 9.477 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005907/1.195, allocations: 0.6584 MB / 1.414 GB, free: 8.812 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006344/1.196, allocations: 412.1 kB / 1.414 GB, free: 8.402 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001178/1.196, allocations: 309 kB / 1.414 GB, free: 8.098 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001718/1.198, allocations: 1.176 MB / 1.415 GB, free: 6.918 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002281/1.2, allocations: 1.885 MB / 1.417 GB, free: 4.715 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004351/1.204, allocations: 3.371 MB / 1.421 GB, free: 1.035 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.396e-05/1.204, allocations: 4 kB / 1.421 GB, free: 1.031 MB / 1.139 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008031/1.212, allocations: 4.593 MB / 1.425 GB, free: 12.41 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.661e-05/1.212, allocations: 16 kB / 1.425 GB, free: 12.39 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.153e-05/1.212, allocations: 24 kB / 1.425 GB, free: 12.37 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003871/1.216, allocations: 1.584 MB / 1.427 GB, free: 10.78 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/1.218, allocations: 359.3 kB / 1.427 GB, free: 10.43 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02406/1.242, allocations: 18.59 MB / 1.445 GB, free: 7.293 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001809/1.244, allocations: 123.9 kB / 1.445 GB, free: 7.172 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001801/1.244, allocations: 96 kB / 1.445 GB, free: 7.078 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003315/1.247, allocations: 1.895 MB / 1.447 GB, free: 5.172 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004372/1.247, allocations: 242.5 kB / 1.447 GB, free: 4.934 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006865/1.254, allocations: 4.098 MB / 1.451 GB, free: 0.8047 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.661e-05/1.254, allocations: 7.969 kB / 1.451 GB, free: 0.7969 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/1.254, allocations: 7.938 kB / 1.451 GB, free: 0.7891 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009555/1.255, allocations: 0.5346 MB / 1.452 GB, free: 240 kB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00026/1.256, allocations: 35.94 kB / 1.452 GB, free: 204 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008121/1.256, allocations: 83.89 kB / 1.452 GB, free: 120 kB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003693/1.257, allocations: 193.7 kB / 1.452 GB, free: 15.92 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008642/1.265, allocations: 4.473 MB / 1.457 GB, free: 11.43 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005752/1.271, allocations: 4.319 MB / 1.461 GB, free: 7.078 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001674/1.273, allocations: 1.339 MB / 1.462 GB, free: 5.742 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001452/1.274, allocations: 1.005 MB / 1.463 GB, free: 4.715 MB / 1.186 GB Notification: Performance of Backend: time 6.52e-07/1.274, allocations: 0 / 1.463 GB, free: 4.715 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.007975/1.282, allocations: 3.981 MB / 1.467 GB, free: 0.6758 MB / 1.186 GB Notification: Performance of SimCode: time 0.01835/1.301, allocations: 9.848 MB / 1.477 GB, free: 6.789 MB / 1.201 GB Notification: Performance of Templates: time 0.08787/1.389, allocations: 51.21 MB / 1.527 GB, free: 4.059 MB / 1.248 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)