Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_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_9_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_9_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.001366/0.001366, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.002423/0.002423, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.41/1.41, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.242/2.242, allocations: 390.3 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 59.91 kB / 0.9516 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9031/0.9046, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04761/0.9522, allocations: 34.84 MB / 1.123 GB, free: 14.17 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02437/0.9767, allocations: 11.49 MB / 1.134 GB, free: 6.316 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005884/0.9826, allocations: 164 kB / 1.134 GB, free: 6.266 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01205/0.9948, allocations: 4.263 MB / 1.138 GB, free: 3.68 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.008032/1.003, allocations: 2.088 MB / 1.14 GB, free: 2.398 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0087/1.012, allocations: 2.406 MB / 1.143 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01613/1.028, allocations: 8.486 MB / 1.151 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02265/1.05, allocations: 11.12 MB / 1.162 GB, free: 8.742 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009065/1.059, allocations: 3.797 MB / 1.165 GB, free: 6.988 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00898/1.069, allocations: 4.194 MB / 1.17 GB, free: 4.66 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.003466/1.072, allocations: 0.7791 MB / 1.17 GB, free: 4.66 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008094/1.08, allocations: 2.021 MB / 1.172 GB, free: 3.984 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.00762/1.088, allocations: 3.056 MB / 1.175 GB, free: 2.035 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.01201/1.1, allocations: 3.401 MB / 1.179 GB, free: 15.62 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.02005/1.12, allocations: 11.97 MB / 1.19 GB, free: 5.898 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/1.12, allocations: 4 kB / 1.19 GB, free: 5.895 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.894e-06/1.12, allocations: 3.938 kB / 1.19 GB, free: 5.891 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0004384/1.12, allocations: 0 / 1.19 GB, free: 5.891 MB / 0.92 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.01551/1.136, allocations: 5.799 MB / 1.196 GB, free: 20 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/1.136, allocations: 8.031 kB / 1.196 GB, free: 12 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005744/1.142, allocations: 1.068 MB / 1.197 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007716/1.149, allocations: 3.453 MB / 1.2 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002939/1.15, allocations: 419.5 kB / 1.201 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001156/1.151, allocations: 0.5354 MB / 1.201 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0175/1.168, allocations: 9.079 MB / 1.21 GB, free: 1.078 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001468/1.169, allocations: 23.78 kB / 1.21 GB, free: 1.055 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006282/1.169, allocations: 236 kB / 1.21 GB, free: 0.8242 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003629/1.17, allocations: 350.8 kB / 1.211 GB, free: 492 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01233/1.182, allocations: 6.83 MB / 1.217 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04699/1.229, allocations: 39.79 MB / 1.256 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004394/1.233, allocations: 3.1 MB / 1.259 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002837/1.236, allocations: 1.985 MB / 1.261 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.079e-05/1.236, allocations: 22 kB / 1.261 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.581e-05/1.236, allocations: 52.5 kB / 1.261 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=179): time 4.669e-06/1.236, allocations: 0 / 1.261 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of matching and sorting (n=182): time 0.02564/1.262, allocations: 9.981 MB / 1.271 GB, free: 14.74 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/1.262, allocations: 73.41 kB / 1.271 GB, free: 14.66 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002739/1.265, allocations: 1.53 MB / 1.273 GB, free: 13.09 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001609/1.265, allocations: 53.7 kB / 1.273 GB, free: 13.03 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001583/1.267, allocations: 2.257 MB / 1.275 GB, free: 10.74 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006014/1.267, allocations: 0.6277 MB / 1.275 GB, free: 10.11 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006316/1.268, allocations: 411.9 kB / 1.276 GB, free: 9.695 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001024/1.268, allocations: 305.1 kB / 1.276 GB, free: 9.395 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001668/1.27, allocations: 1.176 MB / 1.277 GB, free: 8.215 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002276/1.272, allocations: 1.881 MB / 1.279 GB, free: 6.008 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004216/1.276, allocations: 3.371 MB / 1.282 GB, free: 2.324 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.798e-05/1.276, allocations: 8 kB / 1.282 GB, free: 2.316 MB / 1.014 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008345/1.285, allocations: 4.577 MB / 1.287 GB, free: 13.71 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.471e-05/1.285, allocations: 16 kB / 1.287 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.991e-05/1.285, allocations: 23.94 kB / 1.287 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003939/1.289, allocations: 1.589 MB / 1.289 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/1.29, allocations: 351.4 kB / 1.289 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02493/1.315, allocations: 18.58 MB / 1.307 GB, free: 8.594 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002151/1.317, allocations: 119.9 kB / 1.307 GB, free: 8.477 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004368/1.318, allocations: 100 kB / 1.307 GB, free: 8.379 MB / 1.045 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.003919/1.322, allocations: 1.894 MB / 1.309 GB, free: 6.473 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000626/1.322, allocations: 225.4 kB / 1.309 GB, free: 6.25 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007294/1.329, allocations: 4.098 MB / 1.313 GB, free: 2.125 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-05/1.33, allocations: 7.969 kB / 1.313 GB, free: 2.117 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/1.33, allocations: 0 / 1.313 GB, free: 2.117 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00133/1.331, allocations: 0.5296 MB / 1.314 GB, free: 1.566 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004732/1.331, allocations: 31.94 kB / 1.314 GB, free: 1.535 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/1.332, allocations: 87.89 kB / 1.314 GB, free: 1.449 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00039/1.333, allocations: 193.6 kB / 1.314 GB, free: 1.262 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009208/1.342, allocations: 4.464 MB / 1.318 GB, free: 12.77 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005803/1.348, allocations: 4.305 MB / 1.323 GB, free: 8.445 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001717/1.35, allocations: 1.343 MB / 1.324 GB, free: 7.102 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001537/1.351, allocations: 1.005 MB / 1.325 GB, free: 6.074 MB / 1.061 GB Notification: Performance of Backend: time 2.084e-06/1.351, allocations: 112 / 1.325 GB, free: 6.074 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.008378/1.36, allocations: 3.948 MB / 1.329 GB, free: 2.074 MB / 1.061 GB Notification: Performance of SimCode: time 0.01974/1.379, allocations: 9.684 MB / 1.338 GB, free: 8.352 MB / 1.076 GB Notification: Performance of Templates: time 0.08725/1.467, allocations: 51.21 MB / 1.388 GB, free: 5.621 MB / 1.123 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)