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.ACSimpleGrid.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.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.872/1.872, allocations: 288.3 MB / 303.2 MB, free: 8.188 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.00129/0.00129, allocations: 173 kB / 371.8 MB, free: 10.29 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.965/1.965, allocations: 205.4 MB / 0.6306 GB, free: 10.01 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.0008949/0.0008951, allocations: 94.86 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004329/0.0004331, allocations: 15.91 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2655, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9575/1.223, allocations: 191.8 MB / 1.167 GB, free: 7.086 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000337/1.223, allocations: 101.5 kB / 1.167 GB, free: 7.031 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.174/1.397, allocations: 64.04 MB / 1.229 GB, free: 0.8398 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.31e-06/1.398, allocations: 4 kB / 1.229 GB, free: 0.8359 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001914/1.398, allocations: 32 kB / 1.229 GB, free: 0.8047 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.006637/1.404, allocations: 1.66 MB / 1.231 GB, free: 15.19 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 6.255e-05/1.404, allocations: 16.02 kB / 1.231 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003758/1.408, allocations: 0.4927 MB / 1.232 GB, free: 14.69 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00385/1.412, allocations: 1.153 MB / 1.233 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001515/1.412, allocations: 118.8 kB / 1.233 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007763/1.413, allocations: 152.2 kB / 1.233 GB, free: 13.58 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006906/1.42, allocations: 2.473 MB / 1.235 GB, free: 11.83 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.594e-05/1.42, allocations: 3.938 kB / 1.235 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004684/1.421, allocations: 69.61 kB / 1.235 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001423/1.421, allocations: 86.42 kB / 1.235 GB, free: 11.72 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00469/1.425, allocations: 2.038 MB / 1.237 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01533/1.441, allocations: 10.51 MB / 1.248 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/1.442, allocations: 0.5725 MB / 1.248 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001298/1.442, allocations: 93.09 kB / 1.248 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/1.442, allocations: 34.56 kB / 1.248 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=36): time 3.096e-06/1.442, allocations: 0 / 1.248 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of matching and sorting (n=52): time 0.01801/1.46, allocations: 5.709 MB / 1.254 GB, free: 8.137 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/1.46, allocations: 85.55 kB / 1.254 GB, free: 8.035 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/1.462, allocations: 0.8232 MB / 1.255 GB, free: 7.207 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001253/1.462, allocations: 37.7 kB / 1.255 GB, free: 7.164 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005513/1.462, allocations: 0.75 MB / 1.256 GB, free: 6.402 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002095/1.463, allocations: 189.3 kB / 1.256 GB, free: 6.215 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.987e-05/1.463, allocations: 19.94 kB / 1.256 GB, free: 6.195 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002099/1.463, allocations: 394.7 kB / 1.256 GB, free: 5.801 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/1.464, allocations: 0.6421 MB / 1.257 GB, free: 5.16 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001468/1.465, allocations: 0.9995 MB / 1.258 GB, free: 3.992 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001311/1.467, allocations: 0.8179 MB / 1.259 GB, free: 3.172 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/1.467, allocations: 4 kB / 1.259 GB, free: 3.168 MB / 0.7761 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.00766/1.474, allocations: 2.936 MB / 1.261 GB, free: 212 kB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.002144/1.477, allocations: 4.527 MB / 1.266 GB, free: 11.33 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.582e-05/1.477, allocations: 12 kB / 1.266 GB, free: 11.32 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006367/1.483, allocations: 1.56 MB / 1.267 GB, free: 9.742 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/1.484, allocations: 227.6 kB / 1.268 GB, free: 9.52 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01014/1.494, allocations: 7.109 MB / 1.275 GB, free: 2.082 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001756/1.496, allocations: 167.6 kB / 1.275 GB, free: 1.918 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/1.496, allocations: 48.06 kB / 1.275 GB, free: 1.871 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/1.496, allocations: 5.25 kB / 1.275 GB, free: 1.867 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006226/1.503, allocations: 2.403 MB / 1.277 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.99e-05/1.503, allocations: 15.95 kB / 1.277 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004271/1.507, allocations: 1.004 MB / 1.278 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/1.508, allocations: 247.6 kB / 1.278 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007689/1.516, allocations: 5.598 MB / 1.284 GB, free: 8.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/1.517, allocations: 139.7 kB / 1.284 GB, free: 8.184 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.382e-05/1.517, allocations: 43.98 kB / 1.284 GB, free: 8.141 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * Single equations (assignments): 95 * 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: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.001739/1.519, allocations: 0.8363 MB / 1.285 GB, free: 7.293 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001918/1.519, allocations: 83.02 kB / 1.285 GB, free: 7.211 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006642/1.526, allocations: 2.469 MB / 1.287 GB, free: 4.715 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/1.526, allocations: 8 kB / 1.287 GB, free: 4.707 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/1.526, allocations: 0 / 1.287 GB, free: 4.707 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/1.526, allocations: 3.984 kB / 1.287 GB, free: 4.703 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01049/1.536, allocations: 4.306 MB / 1.292 GB, free: 308 kB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-05/1.536, allocations: 4 kB / 1.292 GB, free: 304 kB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004378/1.537, allocations: 103.8 kB / 1.292 GB, free: 200 kB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006223/1.543, allocations: 1.505 MB / 1.293 GB, free: 14.68 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.902e-05/1.543, allocations: 15.95 kB / 1.293 GB, free: 14.66 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01363/1.557, allocations: 9.914 MB / 1.303 GB, free: 4.207 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/1.557, allocations: 7.969 kB / 1.303 GB, free: 4.199 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006948/1.564, allocations: 2.529 MB / 1.305 GB, free: 1.566 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009566/1.565, allocations: 288 kB / 1.306 GB, free: 1.266 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/1.565, allocations: 12 kB / 1.306 GB, free: 1.254 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007638/1.566, allocations: 128.2 kB / 1.306 GB, free: 1.129 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002965/1.566, allocations: 47.64 kB / 1.306 GB, free: 1.082 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.991e-05/1.566, allocations: 16 kB / 1.306 GB, free: 1.066 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.00111/1.567, allocations: 0.6395 MB / 1.306 GB, free: 444 kB / 0.823 GB Notification: Performance of sort global known variables: time 1.81e-07/1.567, allocations: 0 / 1.306 GB, free: 444 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.002666/1.57, allocations: 0.6094 MB / 1.307 GB, free: 15.82 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 38 * 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: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.000454/1.57, allocations: 175 kB / 1.307 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.005803/1.576, allocations: 3.089 MB / 1.31 GB, free: 12.5 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/1.576, allocations: 0 / 1.31 GB, free: 12.5 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.002004/1.578, allocations: 1.28 MB / 1.311 GB, free: 11.17 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/1.579, allocations: 215.4 kB / 1.312 GB, free: 10.96 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005716/1.585, allocations: 3.533 MB / 1.315 GB, free: 7.379 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001503/1.587, allocations: 1.645 MB / 1.317 GB, free: 5.703 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.00138/1.588, allocations: 490.2 kB / 1.317 GB, free: 5.219 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001673/1.588, allocations: 59.44 kB / 1.317 GB, free: 5.16 MB / 0.8386 GB Notification: Performance of SimCode: time 1.012e-06/1.588, allocations: 0 / 1.317 GB, free: 5.16 MB / 0.8386 GB Notification: Performance of Templates: time 0.03754/1.626, allocations: 22.28 MB / 1.339 GB, free: 15 MB / 0.8698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)