Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.571/1.571, allocations: 285.4 MB / 298 MB, free: 5.992 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.001338/0.001338, allocations: 176.8 kB / 366.4 MB, free: 2.094 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.495/1.495, allocations: 205.1 MB / 0.6248 GB, free: 7.746 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007869/0.0007871, allocations: 92.22 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.377e-05/6.405e-05, allocations: 8 kB / 0.8583 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.832/0.8322, allocations: 115.3 MB / 0.9709 GB, free: 77.92 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.253/1.085, allocations: 185.9 MB / 1.152 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003782/1.086, allocations: 95.94 kB / 1.153 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.397/2.482, allocations: 319.1 MB / 1.464 GB, free: 78.03 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.824e-06/2.482, allocations: 0 / 1.464 GB, free: 78.03 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0004458/2.483, allocations: 171.8 kB / 1.464 GB, free: 77.86 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02032/2.503, allocations: 5.5 MB / 1.47 GB, free: 72.29 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/2.503, allocations: 8.031 kB / 1.47 GB, free: 72.28 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01471/2.518, allocations: 1.767 MB / 1.471 GB, free: 70.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0149/2.533, allocations: 5.027 MB / 1.476 GB, free: 65.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004442/2.534, allocations: 460 kB / 1.477 GB, free: 64.95 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004101/2.538, allocations: 0.5974 MB / 1.477 GB, free: 64.35 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02708/2.565, allocations: 9.869 MB / 1.487 GB, free: 53.99 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002495/2.565, allocations: 23.77 kB / 1.487 GB, free: 53.97 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001327/2.566, allocations: 275.9 kB / 1.487 GB, free: 53.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003408/2.567, allocations: 388 kB / 1.488 GB, free: 53.32 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01712/2.584, allocations: 7.692 MB / 1.495 GB, free: 45.61 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06914/2.653, allocations: 46.35 MB / 1.54 GB, free: 11.49 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007319/2.66, allocations: 4.173 MB / 1.545 GB, free: 7.312 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00658/2.667, allocations: 3.559 MB / 1.548 GB, free: 3.746 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005148/2.668, allocations: 34.78 kB / 1.548 GB, free: 3.711 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.651e-05/2.668, allocations: 69.34 kB / 1.548 GB, free: 3.633 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=353): time 5.912e-06/2.668, allocations: 0 / 1.548 GB, free: 3.633 MB / 0.8698 GB Notification: Performance of matching and sorting (n=578): time 1.12/3.787, allocations: 98.53 MB / 1.644 GB, free: 198.9 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.611e-05/3.787, allocations: 115.2 kB / 1.644 GB, free: 198.8 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003505/3.791, allocations: 2.117 MB / 1.647 GB, free: 198.6 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.001323/3.792, allocations: 117.3 kB / 1.647 GB, free: 198.6 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.002041/3.794, allocations: 2.704 MB / 1.649 GB, free: 197.7 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.002679/3.797, allocations: 1.954 MB / 1.651 GB, free: 196.4 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003951/3.797, allocations: 113.8 kB / 1.651 GB, free: 196.4 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0003376/3.798, allocations: 0.5287 MB / 1.652 GB, free: 196.1 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006096/3.804, allocations: 3.722 MB / 1.655 GB, free: 196.1 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00701/3.811, allocations: 4.843 MB / 1.66 GB, free: 195 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007913/3.819, allocations: 4.54 MB / 1.665 GB, free: 194.9 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.383e-05/3.819, allocations: 8.969 kB / 1.665 GB, free: 194.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.04699/3.866, allocations: 15.86 MB / 1.68 GB, free: 194.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002386/3.866, allocations: 21.31 kB / 1.68 GB, free: 194.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002296/3.866, allocations: 33.11 kB / 1.68 GB, free: 194.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05048/3.917, allocations: 7.702 MB / 1.688 GB, free: 193.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005187/3.922, allocations: 0.559 MB / 1.688 GB, free: 193.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1334/4.056, allocations: 67.27 MB / 1.754 GB, free: 156.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005547/4.061, allocations: 244.6 kB / 1.754 GB, free: 156.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009804/4.062, allocations: 199.3 kB / 1.754 GB, free: 156.7 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (286): * Single equations (assignments): 275 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(6,77.8%) 40,(6,77.8%) 72,(14,57.1%) 72,(14,51.0%) 72,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001191/4.063, allocations: 394.1 kB / 1.755 GB, free: 156.4 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001123/4.065, allocations: 468.1 kB / 1.755 GB, free: 156.1 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0312/4.096, allocations: 15.79 MB / 1.771 GB, free: 150.1 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.177e-05/4.096, allocations: 58.41 kB / 1.771 GB, free: 150.1 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000139/4.096, allocations: 74.69 kB / 1.771 GB, free: 150.1 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001037/4.096, allocations: 32.06 kB / 1.771 GB, free: 150.1 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04601/4.142, allocations: 23.89 MB / 1.794 GB, free: 138.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.155e-05/4.142, allocations: 12.19 kB / 1.794 GB, free: 138.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001845/4.144, allocations: 324.2 kB / 1.794 GB, free: 138 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0199/4.164, allocations: 6.832 MB / 1.801 GB, free: 132.6 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001073/4.165, allocations: 107.4 kB / 1.801 GB, free: 132.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07745/4.243, allocations: 64.13 MB / 1.864 GB, free: 74.43 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/4.243, allocations: 11.94 kB / 1.864 GB, free: 74.42 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03679/4.279, allocations: 20.82 MB / 1.884 GB, free: 56.11 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004161/4.284, allocations: 1.254 MB / 1.885 GB, free: 54.96 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001188/4.285, allocations: 107.7 kB / 1.885 GB, free: 54.86 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003452/4.288, allocations: 237.8 kB / 1.886 GB, free: 54.7 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002116/4.29, allocations: 0.5168 MB / 1.886 GB, free: 54.37 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003937/4.291, allocations: 139.8 kB / 1.886 GB, free: 54.23 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002982/4.294, allocations: 1.597 MB / 1.888 GB, free: 52.79 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.8e-07/4.294, allocations: 0 / 1.888 GB, free: 52.79 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.009809/4.304, allocations: 2.309 MB / 1.89 GB, free: 50.48 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 131 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(7,71.4%) 71,(14,57.1%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007862/4.304, allocations: 233.5 kB / 1.89 GB, free: 50.25 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.02365/4.328, allocations: 13.59 MB / 1.904 GB, free: 37.8 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.385e-05/4.328, allocations: 4 kB / 1.904 GB, free: 37.8 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.01828/4.346, allocations: 8.867 MB / 1.912 GB, free: 29.79 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007196/4.354, allocations: 1.104 MB / 1.913 GB, free: 28.94 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02769/4.381, allocations: 12.97 MB / 1.926 GB, free: 17.3 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006486/4.388, allocations: 5.016 MB / 1.931 GB, free: 13.52 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.00308/4.391, allocations: 0.7466 MB / 1.932 GB, free: 13 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005259/4.392, allocations: 191.4 kB / 1.932 GB, free: 12.82 MB / 0.9323 GB Notification: Performance of SimCode: time 1.162e-06/4.392, allocations: 0 / 1.932 GB, free: 12.82 MB / 0.9323 GB Notification: Performance of Templates: time 0.7809/5.172, allocations: 125 MB / 2.054 GB, free: 189.4 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)