Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.62/2.62, allocations: 287.5 MB / 303.2 MB, free: 8.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001303/0.001303, allocations: 166 kB / 371.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.036/2.036, allocations: 205.4 MB / 0.6305 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008901/0.0008897, allocations: 88.67 kB / 0.7438 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004807/0.0004808, allocations: 10.91 kB / 0.8667 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.216, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9614/1.177, allocations: 171 MB / 1.146 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003456/1.178, allocations: 97.78 kB / 1.146 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.7889/1.967, allocations: 200.3 MB / 1.342 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.001e-05/1.967, allocations: 3.984 kB / 1.342 GB, free: 14.37 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0004762/1.967, allocations: 135.9 kB / 1.342 GB, free: 14.24 MB / 0.8698 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.02071/1.988, allocations: 4.693 MB / 1.347 GB, free: 9.477 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.72e-05/1.988, allocations: 8.031 kB / 1.347 GB, free: 9.469 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01105/1.999, allocations: 1.048 MB / 1.348 GB, free: 8.414 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01298/2.012, allocations: 3.473 MB / 1.351 GB, free: 4.883 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007082/2.013, allocations: 415.5 kB / 1.352 GB, free: 4.477 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002939/2.016, allocations: 0.5392 MB / 1.352 GB, free: 3.938 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03155/2.048, allocations: 8.625 MB / 1.36 GB, free: 10.88 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003749/2.048, allocations: 31.95 kB / 1.36 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002468/2.05, allocations: 243.9 kB / 1.361 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006299/2.051, allocations: 318.8 kB / 1.361 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02225/2.073, allocations: 6.151 MB / 1.367 GB, free: 4.141 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07299/2.146, allocations: 40.13 MB / 1.406 GB, free: 8.301 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006941/2.153, allocations: 3.089 MB / 1.409 GB, free: 5.066 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004975/2.158, allocations: 1.975 MB / 1.411 GB, free: 3.086 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001859/2.159, allocations: 25.98 kB / 1.411 GB, free: 3.062 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.297e-05/2.159, allocations: 52.56 kB / 1.411 GB, free: 3 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=179): time 5.44e-06/2.159, allocations: 0 / 1.411 GB, free: 3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=182): time 0.04544/2.204, allocations: 10 MB / 1.421 GB, free: 8.898 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.966e-05/2.204, allocations: 77.34 kB / 1.421 GB, free: 8.812 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003588/2.208, allocations: 1.511 MB / 1.423 GB, free: 7.258 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000432/2.208, allocations: 53.7 kB / 1.423 GB, free: 7.199 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002452/2.211, allocations: 2.242 MB / 1.425 GB, free: 4.926 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001195/2.212, allocations: 0.6277 MB / 1.425 GB, free: 4.289 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002233/2.212, allocations: 40 kB / 1.425 GB, free: 4.25 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003402/2.213, allocations: 398.3 kB / 1.426 GB, free: 3.855 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003124/2.216, allocations: 1.164 MB / 1.427 GB, free: 2.688 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004093/2.22, allocations: 1.867 MB / 1.429 GB, free: 0.5078 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6904/2.91, allocations: 3.326 MB / 1.432 GB, free: 226.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.453e-05/2.911, allocations: 6.5 kB / 1.432 GB, free: 226.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01384/2.924, allocations: 4.543 MB / 1.436 GB, free: 226.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.474e-05/2.924, allocations: 16.97 kB / 1.436 GB, free: 226.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.422e-05/2.925, allocations: 23.22 kB / 1.437 GB, free: 226.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006949/2.931, allocations: 1.581 MB / 1.438 GB, free: 226.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002682/2.934, allocations: 347.1 kB / 1.438 GB, free: 226.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03566/2.97, allocations: 17.06 MB / 1.455 GB, free: 221.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002714/2.973, allocations: 118.8 kB / 1.455 GB, free: 221.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003662/2.973, allocations: 95.58 kB / 1.455 GB, free: 221.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * 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 (174): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(12,30.6%) 26,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005234/2.978, allocations: 1.89 MB / 1.457 GB, free: 221.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007092/2.979, allocations: 224.5 kB / 1.457 GB, free: 221.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01204/2.991, allocations: 4.088 MB / 1.461 GB, free: 221.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.282e-05/2.991, allocations: 22.5 kB / 1.461 GB, free: 221.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.566e-05/2.991, allocations: 16.25 kB / 1.461 GB, free: 221.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.012e-05/2.991, allocations: 14.2 kB / 1.461 GB, free: 221.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02939/3.021, allocations: 9.407 MB / 1.471 GB, free: 219.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.713e-05/3.021, allocations: 4.156 kB / 1.471 GB, free: 219.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001783/3.023, allocations: 181.1 kB / 1.471 GB, free: 219.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006477/3.029, allocations: 1.355 MB / 1.472 GB, free: 219.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004472/3.03, allocations: 35.62 kB / 1.472 GB, free: 219.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03179/3.061, allocations: 15.93 MB / 1.488 GB, free: 214.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.535e-06/3.061, allocations: 6 kB / 1.488 GB, free: 214.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0111/3.073, allocations: 4.058 MB / 1.492 GB, free: 214.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002041/3.075, allocations: 0.528 MB / 1.492 GB, free: 214.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007743/3.076, allocations: 38.66 kB / 1.492 GB, free: 214.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001947/3.077, allocations: 93.06 kB / 1.492 GB, free: 214.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006432/3.078, allocations: 167.2 kB / 1.492 GB, free: 214.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001745/3.078, allocations: 44.22 kB / 1.492 GB, free: 214.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002077/3.08, allocations: 0.9926 MB / 1.493 GB, free: 213.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.72e-07/3.08, allocations: 0 / 1.493 GB, free: 213.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005557/3.086, allocations: 1.026 MB / 1.494 GB, free: 213.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 simulation (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(6,66.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006137/3.087, allocations: 152.4 kB / 1.495 GB, free: 213.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01078/3.097, allocations: 4.263 MB / 1.499 GB, free: 213.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/3.098, allocations: 0 / 1.499 GB, free: 213.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.007148/3.105, allocations: 2.669 MB / 1.501 GB, free: 212.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007591/3.112, allocations: 0.6947 MB / 1.502 GB, free: 212.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02393/3.136, allocations: 10.51 MB / 1.512 GB, free: 206.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008369/3.145, allocations: 3.57 MB / 1.516 GB, free: 205.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002681/3.147, allocations: 473.2 kB / 1.516 GB, free: 205.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006071/3.148, allocations: 111.9 kB / 1.516 GB, free: 205.3 MB / 0.948 GB Notification: Performance of SimCode: time 2.705e-06/3.148, allocations: 0 / 1.516 GB, free: 205.3 MB / 0.948 GB Notification: Performance of Templates: time 0.1067/3.255, allocations: 41.12 MB / 1.556 GB, free: 203.7 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)