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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.861/1.861, allocations: 293 MB / 309 MB, free: 4.781 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.001085/0.001086, allocations: 175.4 kB / 378.7 MB, free: 1.004 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.717/1.717, allocations: 205.4 MB / 0.6383 GB, free: 8.215 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.0007634/0.0007637, allocations: 91 kB / 0.7527 GB, free: 62.56 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004096/0.0004098, allocations: 12 kB / 0.8768 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3082, allocations: 116.4 MB / 0.9905 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8247/1.133, allocations: 187.1 MB / 1.173 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002906/1.133, allocations: 102.1 kB / 1.173 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.416/2.549, allocations: 321.3 MB / 1.487 GB, free: 160 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.063e-06/2.549, allocations: 0 / 1.487 GB, free: 160 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.001046/2.55, allocations: 171.4 kB / 1.487 GB, free: 160 MB / 0.9323 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.02825/2.578, allocations: 6.07 MB / 1.493 GB, free: 157.4 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/2.578, allocations: 10.16 kB / 1.493 GB, free: 157.4 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01552/2.594, allocations: 1.775 MB / 1.495 GB, free: 157 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01648/2.611, allocations: 5.148 MB / 1.5 GB, free: 155.8 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005485/2.611, allocations: 462.5 kB / 1.5 GB, free: 155.8 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003405/2.615, allocations: 0.5908 MB / 1.501 GB, free: 155.8 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02716/2.642, allocations: 10.04 MB / 1.511 GB, free: 151.7 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000286/2.642, allocations: 26.97 kB / 1.511 GB, free: 151.7 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001547/2.644, allocations: 281.6 kB / 1.511 GB, free: 151.5 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003416/2.644, allocations: 372.7 kB / 1.511 GB, free: 151.5 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0196/2.664, allocations: 7.843 MB / 1.519 GB, free: 148.5 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06455/2.728, allocations: 46.39 MB / 1.564 GB, free: 113 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007379/2.736, allocations: 4.183 MB / 1.568 GB, free: 111.3 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00613/2.742, allocations: 3.605 MB / 1.572 GB, free: 109.8 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003485/2.742, allocations: 40.19 kB / 1.572 GB, free: 109.8 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.135e-05/2.742, allocations: 64.28 kB / 1.572 GB, free: 109.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=353): time 6.893e-06/2.742, allocations: 0 / 1.572 GB, free: 109.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=578): time 0.4264/3.169, allocations: 106.5 MB / 1.676 GB, free: 34.42 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.837e-05/3.169, allocations: 115.9 kB / 1.676 GB, free: 34.29 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005124/3.174, allocations: 2.497 MB / 1.679 GB, free: 31.79 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.001473/3.175, allocations: 121.6 kB / 1.679 GB, free: 31.67 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001683/3.177, allocations: 2.704 MB / 1.681 GB, free: 28.94 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.002889/3.18, allocations: 1.954 MB / 1.683 GB, free: 27 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001248/3.181, allocations: 116 kB / 1.683 GB, free: 26.89 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0004291/3.182, allocations: 0.5297 MB / 1.684 GB, free: 26.36 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006168/3.188, allocations: 3.786 MB / 1.688 GB, free: 22.56 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006962/3.195, allocations: 4.93 MB / 1.692 GB, free: 17.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0146/3.21, allocations: 9.534 MB / 1.702 GB, free: 7.172 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.667e-05/3.21, allocations: 8 kB / 1.702 GB, free: 7.164 MB / 0.9323 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.04283/3.252, allocations: 16.01 MB / 1.717 GB, free: 7.023 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.082e-05/3.253, allocations: 20.97 kB / 1.717 GB, free: 7.004 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-05/3.253, allocations: 28 kB / 1.717 GB, free: 6.977 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6437/3.896, allocations: 7.735 MB / 1.725 GB, free: 167.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002661/3.899, allocations: 0.5559 MB / 1.725 GB, free: 167.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0883/3.987, allocations: 67.59 MB / 1.791 GB, free: 151.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005007/3.992, allocations: 239 kB / 1.792 GB, free: 151.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008242/3.993, allocations: 201.7 kB / 1.792 GB, free: 151.6 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.00469/3.998, allocations: 2.445 MB / 1.794 GB, free: 150.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00107/3.999, allocations: 471.5 kB / 1.795 GB, free: 150.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03098/4.03, allocations: 15.92 MB / 1.81 GB, free: 144.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.684e-05/4.03, allocations: 52.97 kB / 1.81 GB, free: 144.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001855/4.03, allocations: 75.97 kB / 1.81 GB, free: 144.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.6e-05/4.03, allocations: 30.7 kB / 1.81 GB, free: 144.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04574/4.076, allocations: 24 MB / 1.834 GB, free: 135.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.317e-05/4.076, allocations: 10.52 kB / 1.834 GB, free: 135.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002032/4.078, allocations: 318.6 kB / 1.834 GB, free: 135.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02223/4.101, allocations: 6.874 MB / 1.841 GB, free: 133.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001056/4.102, allocations: 108.3 kB / 1.841 GB, free: 133.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08128/4.183, allocations: 64.46 MB / 1.904 GB, free: 96.64 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-05/4.183, allocations: 13.36 kB / 1.904 GB, free: 96.63 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03416/4.217, allocations: 20.28 MB / 1.924 GB, free: 87.96 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003272/4.22, allocations: 1.256 MB / 1.925 GB, free: 87.23 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001167/4.222, allocations: 103.7 kB / 1.925 GB, free: 87.16 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003211/4.225, allocations: 233.4 kB / 1.925 GB, free: 87.09 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00196/4.227, allocations: 0.5257 MB / 1.926 GB, free: 86.99 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003948/4.227, allocations: 138.1 kB / 1.926 GB, free: 86.96 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00217/4.229, allocations: 1.621 MB / 1.928 GB, free: 86.38 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.7e-07/4.229, allocations: 4 kB / 1.928 GB, free: 86.37 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.009144/4.239, allocations: 2.312 MB / 1.93 GB, free: 86.1 MB / 0.948 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.0009126/4.24, allocations: 243 kB / 1.93 GB, free: 85.92 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.02228/4.262, allocations: 13.82 MB / 1.944 GB, free: 79.33 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.64e-05/4.262, allocations: 0 / 1.944 GB, free: 79.33 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.01703/4.279, allocations: 9.061 MB / 1.952 GB, free: 74.72 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01123/4.29, allocations: 1.172 MB / 1.954 GB, free: 74.35 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03008/4.32, allocations: 17.89 MB / 1.971 GB, free: 64.95 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009108/4.329, allocations: 4.897 MB / 1.976 GB, free: 63.32 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0032/4.333, allocations: 0.7444 MB / 1.976 GB, free: 63.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00055/4.333, allocations: 193.5 kB / 1.977 GB, free: 63.2 MB / 0.948 GB Notification: Performance of SimCode: time 8.62e-07/4.333, allocations: 4 kB / 1.977 GB, free: 63.19 MB / 0.948 GB Notification: Performance of Templates: time 0.6569/4.99, allocations: 125.6 MB / 2.099 GB, free: 190.9 MB / 0.9792 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)