Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.662/1.662, allocations: 289.9 MB / 297.4 MB, free: 6.355 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.001079/0.00108, allocations: 176.8 kB / 366.7 MB, free: 1.648 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.35/1.35, allocations: 205.3 MB / 0.626 GB, free: 7.18 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.0008443/0.0008444, allocations: 94.27 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.403e-05/2.407e-05, allocations: 8 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6946/0.6946, allocations: 116.3 MB / 0.9733 GB, free: 76.09 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2376/0.9323, allocations: 186.3 MB / 1.155 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002908/0.9326, allocations: 96.95 kB / 1.155 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.423/2.355, allocations: 353 MB / 1.5 GB, free: 40.44 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.984e-06/2.355, allocations: 0 / 1.5 GB, free: 40.44 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0007438/2.356, allocations: 179.8 kB / 1.5 GB, free: 40.27 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.02279/2.379, allocations: 5.546 MB / 1.506 GB, free: 34.65 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/2.379, allocations: 8.031 kB / 1.506 GB, free: 34.64 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01429/2.393, allocations: 1.759 MB / 1.507 GB, free: 32.87 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01516/2.408, allocations: 5.046 MB / 1.512 GB, free: 27.75 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003991/2.409, allocations: 204 kB / 1.512 GB, free: 27.55 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003507/2.412, allocations: 355.9 kB / 1.513 GB, free: 27.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01981/2.432, allocations: 6.835 MB / 1.52 GB, free: 20.36 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03267/2.465, allocations: 8.983 MB / 1.528 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006069/2.466, allocations: 35.62 kB / 1.528 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004679/2.47, allocations: 20 kB / 1.528 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005451/2.471, allocations: 376.1 kB / 1.529 GB, free: 10.47 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07445/2.545, allocations: 45.11 MB / 1.573 GB, free: 9.625 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006726/2.552, allocations: 4.038 MB / 1.577 GB, free: 5.582 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006108/2.558, allocations: 3.459 MB / 1.58 GB, free: 2.113 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00053/2.559, allocations: 42.78 kB / 1.58 GB, free: 2.07 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.504e-05/2.559, allocations: 69.28 kB / 1.58 GB, free: 1.992 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=353): time 5.31e-06/2.559, allocations: 0 / 1.58 GB, free: 1.992 MB / 0.9011 GB Notification: Performance of matching and sorting (n=578): time 0.7709/3.33, allocations: 37.27 MB / 1.617 GB, free: 180.2 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/3.33, allocations: 116.4 kB / 1.617 GB, free: 180.1 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003978/3.334, allocations: 1.819 MB / 1.618 GB, free: 179.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.001393/3.336, allocations: 25.7 kB / 1.618 GB, free: 179.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.00226/3.338, allocations: 2.706 MB / 1.621 GB, free: 179.8 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.002691/3.34, allocations: 1.877 MB / 1.623 GB, free: 178.8 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003729/3.341, allocations: 0 / 1.623 GB, free: 178.8 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0003777/3.341, allocations: 0.5288 MB / 1.623 GB, free: 178.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00555/3.347, allocations: 3.618 MB / 1.627 GB, free: 178.5 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006399/3.353, allocations: 4.693 MB / 1.632 GB, free: 177.3 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006368/3.36, allocations: 4.41 MB / 1.636 GB, free: 177.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.331e-05/3.36, allocations: 11.94 kB / 1.636 GB, free: 177.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.03427/3.394, allocations: 15.17 MB / 1.651 GB, free: 176.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 5.52e-05/3.394, allocations: 17.06 kB / 1.651 GB, free: 176.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.963e-05/3.394, allocations: 31.12 kB / 1.651 GB, free: 176.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02453/3.419, allocations: 7.314 MB / 1.658 GB, free: 176.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002938/3.422, allocations: 0.5535 MB / 1.658 GB, free: 176.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08752/3.509, allocations: 65.15 MB / 1.722 GB, free: 151.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006782/3.516, allocations: 123.2 kB / 1.722 GB, free: 151.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001539/3.518, allocations: 209.3 kB / 1.722 GB, free: 151.3 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.001354/3.519, allocations: 189.2 kB / 1.723 GB, free: 151.1 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001575/3.521, allocations: 448.4 kB / 1.723 GB, free: 150.9 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0328/3.553, allocations: 15.16 MB / 1.738 GB, free: 145.4 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.523e-05/3.553, allocations: 59.41 kB / 1.738 GB, free: 145.4 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000176/3.554, allocations: 70.38 kB / 1.738 GB, free: 145.4 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001235/3.554, allocations: 31.45 kB / 1.738 GB, free: 145.4 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0455/3.599, allocations: 22.29 MB / 1.76 GB, free: 137.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.882e-05/3.599, allocations: 7.531 kB / 1.76 GB, free: 137.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001951/3.601, allocations: 325.1 kB / 1.76 GB, free: 137.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01892/3.62, allocations: 6.73 MB / 1.767 GB, free: 135.5 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009248/3.621, allocations: 20.28 kB / 1.767 GB, free: 135.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07104/3.692, allocations: 62.23 MB / 1.827 GB, free: 97.08 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.085e-05/3.692, allocations: 15.47 kB / 1.827 GB, free: 97.07 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03353/3.726, allocations: 20.15 MB / 1.847 GB, free: 79.65 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0034/3.729, allocations: 1.239 MB / 1.848 GB, free: 78.51 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001106/3.73, allocations: 19.28 kB / 1.848 GB, free: 78.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003221/3.734, allocations: 141.2 kB / 1.848 GB, free: 78.42 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001664/3.735, allocations: 0.5266 MB / 1.849 GB, free: 78.09 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003418/3.736, allocations: 140.1 kB / 1.849 GB, free: 77.96 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.00176/3.737, allocations: 1.334 MB / 1.85 GB, free: 76.77 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.71e-07/3.737, allocations: 0 / 1.85 GB, free: 76.77 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.008/3.745, allocations: 2.034 MB / 1.852 GB, free: 74.75 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.0006649/3.746, allocations: 142.7 kB / 1.853 GB, free: 74.62 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.02082/3.767, allocations: 13.01 MB / 1.865 GB, free: 62.85 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.376e-05/3.767, allocations: 0 / 1.865 GB, free: 62.85 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.01534/3.782, allocations: 8.484 MB / 1.874 GB, free: 55.24 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005859/3.788, allocations: 0.9786 MB / 1.874 GB, free: 54.5 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02415/3.812, allocations: 12.68 MB / 1.887 GB, free: 43.2 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008505/3.821, allocations: 5.02 MB / 1.892 GB, free: 39.41 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.00387/3.825, allocations: 0.7321 MB / 1.892 GB, free: 38.91 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005528/3.826, allocations: 183.4 kB / 1.893 GB, free: 38.73 MB / 0.9323 GB Notification: Performance of SimCode: time 1.373e-06/3.826, allocations: 0 / 1.893 GB, free: 38.73 MB / 0.9323 GB Notification: Performance of Templates: time 0.7755/4.601, allocations: 119.9 MB / 2.01 GB, free: 193.8 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)