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.726/1.726, allocations: 288.4 MB / 304.3 MB, free: 8.086 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.00105/0.00105, allocations: 190.8 kB / 373 MB, free: 10.15 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.665/1.665, allocations: 205.4 MB / 0.6317 GB, free: 9.887 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.000821/0.0008214, allocations: 98.3 kB / 0.745 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003763/0.0003764, allocations: 12.47 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2441, allocations: 115.3 MB / 0.9807 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8111/1.055, allocations: 186.1 MB / 1.162 GB, free: 12.25 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003282/1.056, allocations: 99.17 kB / 1.163 GB, free: 12.19 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.348/2.404, allocations: 321.2 MB / 1.476 GB, free: 201 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.058e-06/2.404, allocations: 0.5625 kB / 1.476 GB, free: 201 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0009491/2.405, allocations: 171.9 kB / 1.476 GB, free: 200.9 MB / 0.948 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.03063/2.435, allocations: 6.065 MB / 1.482 GB, free: 198.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/2.436, allocations: 8.656 kB / 1.482 GB, free: 198.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01552/2.451, allocations: 1.778 MB / 1.484 GB, free: 198.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01479/2.466, allocations: 5.144 MB / 1.489 GB, free: 197.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004536/2.466, allocations: 459.3 kB / 1.49 GB, free: 197 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003294/2.47, allocations: 0.6015 MB / 1.49 GB, free: 197 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02588/2.496, allocations: 10.03 MB / 1.5 GB, free: 195.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003073/2.496, allocations: 34.28 kB / 1.5 GB, free: 195.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00184/2.498, allocations: 268.4 kB / 1.5 GB, free: 195.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003809/2.498, allocations: 382.9 kB / 1.501 GB, free: 195.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01945/2.518, allocations: 7.832 MB / 1.508 GB, free: 195.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0626/2.58, allocations: 46.4 MB / 1.554 GB, free: 168.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005288/2.586, allocations: 4.197 MB / 1.558 GB, free: 168.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004475/2.59, allocations: 3.593 MB / 1.561 GB, free: 168.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002416/2.59, allocations: 38.53 kB / 1.561 GB, free: 168.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.501e-05/2.59, allocations: 71.12 kB / 1.561 GB, free: 168.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=353): time 5.39e-06/2.59, allocations: 3.125 kB / 1.561 GB, free: 168.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=578): time 0.42/3.01, allocations: 106.5 MB / 1.665 GB, free: 121.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.478e-05/3.011, allocations: 111.9 kB / 1.665 GB, free: 121.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003488/3.014, allocations: 2.501 MB / 1.668 GB, free: 119.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001337/3.015, allocations: 120 kB / 1.668 GB, free: 119 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001333/3.017, allocations: 2.697 MB / 1.671 GB, free: 116.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002204/3.019, allocations: 1.951 MB / 1.672 GB, free: 114.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003833/3.019, allocations: 116 kB / 1.673 GB, free: 114.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002598/3.02, allocations: 0.5321 MB / 1.673 GB, free: 114.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004665/3.024, allocations: 3.784 MB / 1.677 GB, free: 110.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009235/3.034, allocations: 4.923 MB / 1.682 GB, free: 105.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02103/3.055, allocations: 9.534 MB / 1.691 GB, free: 95.27 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.949e-05/3.055, allocations: 11.94 kB / 1.691 GB, free: 95.26 MB / 0.948 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.03414/3.089, allocations: 16.01 MB / 1.707 GB, free: 79.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.051e-05/3.089, allocations: 20 kB / 1.707 GB, free: 79.38 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-05/3.089, allocations: 28 kB / 1.707 GB, free: 79.35 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0226/3.112, allocations: 7.743 MB / 1.714 GB, free: 71.57 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002521/3.114, allocations: 0.5559 MB / 1.715 GB, free: 71.01 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07779/3.192, allocations: 67.6 MB / 1.781 GB, free: 1.969 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005727/3.198, allocations: 243.9 kB / 1.781 GB, free: 1.73 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001249/3.199, allocations: 200 kB / 1.781 GB, free: 1.535 MB / 0.948 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 () * Number of clocked 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.006094/3.205, allocations: 2.445 MB / 1.784 GB, free: 15.08 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00139/3.207, allocations: 466.5 kB / 1.784 GB, free: 14.62 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5002/3.707, allocations: 15.92 MB / 1.8 GB, free: 192.3 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.801e-05/3.707, allocations: 54.12 kB / 1.8 GB, free: 192.3 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002423/3.707, allocations: 71.41 kB / 1.8 GB, free: 192.3 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000113/3.707, allocations: 30.91 kB / 1.8 GB, free: 192.3 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05324/3.761, allocations: 24 MB / 1.823 GB, free: 191.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.606e-05/3.761, allocations: 7.594 kB / 1.823 GB, free: 191.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001947/3.763, allocations: 321.1 kB / 1.823 GB, free: 191.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02783/3.791, allocations: 6.875 MB / 1.83 GB, free: 191 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001365/3.792, allocations: 107.4 kB / 1.83 GB, free: 191 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09296/3.885, allocations: 64.45 MB / 1.893 GB, free: 175.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.403e-06/3.885, allocations: 13.12 kB / 1.893 GB, free: 175.1 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03579/3.921, allocations: 20.27 MB / 1.913 GB, free: 166.9 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00397/3.925, allocations: 1.26 MB / 1.914 GB, free: 166.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001116/3.926, allocations: 108.2 kB / 1.914 GB, free: 166.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003123/3.929, allocations: 234.2 kB / 1.915 GB, free: 166.1 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001797/3.931, allocations: 0.5229 MB / 1.915 GB, free: 166 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003772/3.931, allocations: 142.2 kB / 1.915 GB, free: 166 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.002113/3.933, allocations: 1.624 MB / 1.917 GB, free: 165.4 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.3e-07/3.933, allocations: 2.625 kB / 1.917 GB, free: 165.4 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.006893/3.94, allocations: 2.313 MB / 1.919 GB, free: 165.2 MB / 0.9636 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 () * Number of clocked 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.0006453/3.941, allocations: 235.1 kB / 1.919 GB, free: 165 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.02131/3.962, allocations: 13.81 MB / 1.933 GB, free: 158.6 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/3.962, allocations: 0 / 1.933 GB, free: 158.6 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.02157/3.984, allocations: 9.067 MB / 1.942 GB, free: 154.1 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01537/3.999, allocations: 1.172 MB / 1.943 GB, free: 153.7 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04051/4.04, allocations: 17.89 MB / 1.96 GB, free: 144.8 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0115/4.051, allocations: 4.891 MB / 1.965 GB, free: 143.2 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.005489/4.057, allocations: 0.7402 MB / 1.966 GB, free: 143 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00111/4.058, allocations: 190.6 kB / 1.966 GB, free: 143 MB / 0.9636 GB Notification: Performance of SimCode: time 8.92e-07/4.058, allocations: 3.719 kB / 1.966 GB, free: 143 MB / 0.9636 GB Notification: Performance of Templates: time 0.2153/4.273, allocations: 125.7 MB / 2.089 GB, free: 66.85 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)