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.684/1.684, allocations: 285.4 MB / 298 MB, free: 6.004 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.001309/0.001309, allocations: 184.8 kB / 366.4 MB, free: 2.109 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.71/1.71, allocations: 205.1 MB / 0.6248 GB, free: 7.758 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.0008292/0.0008295, allocations: 91.44 kB / 0.738 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.251e-05/3.272e-05, allocations: 4 kB / 0.8583 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6193/0.6194, allocations: 115.3 MB / 0.9709 GB, free: 78.02 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2243/0.8437, allocations: 191.7 MB / 1.158 GB, free: 8.016 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/0.844, allocations: 101.1 kB / 1.158 GB, free: 7.918 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.156/1, allocations: 63.79 MB / 1.22 GB, free: 7.707 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.523e-06/1, allocations: 0 / 1.22 GB, free: 7.707 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.000148/1, allocations: 32 kB / 1.221 GB, free: 7.676 MB / 0.823 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.004448/1.005, allocations: 1.554 MB / 1.222 GB, free: 6.07 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/1.005, allocations: 16.03 kB / 1.222 GB, free: 6.055 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003086/1.008, allocations: 497.5 kB / 1.223 GB, free: 5.566 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003187/1.011, allocations: 1.147 MB / 1.224 GB, free: 4.375 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/1.011, allocations: 111.1 kB / 1.224 GB, free: 4.266 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006105/1.012, allocations: 156 kB / 1.224 GB, free: 4.113 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005915/1.018, allocations: 2.435 MB / 1.226 GB, free: 1.613 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.252e-05/1.018, allocations: 0 / 1.226 GB, free: 1.613 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003252/1.018, allocations: 67.98 kB / 1.226 GB, free: 1.547 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001055/1.018, allocations: 91 kB / 1.226 GB, free: 1.457 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003827/1.022, allocations: 1.976 MB / 1.228 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01362/1.036, allocations: 10.52 MB / 1.239 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009621/1.037, allocations: 0.5618 MB / 1.239 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000565/1.037, allocations: 368.7 kB / 1.24 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/1.037, allocations: 89.09 kB / 1.24 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/1.037, allocations: 38.56 kB / 1.24 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=36): time 2.855e-06/1.037, allocations: 4 kB / 1.24 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of matching and sorting (n=52): time 0.01488/1.052, allocations: 4.783 MB / 1.244 GB, free: 14.19 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.534e-05/1.052, allocations: 85.55 kB / 1.244 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001539/1.054, allocations: 0.804 MB / 1.245 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001332/1.054, allocations: 33.7 kB / 1.245 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006213/1.055, allocations: 0.7577 MB / 1.246 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002182/1.055, allocations: 185.4 kB / 1.246 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.705e-05/1.055, allocations: 16 kB / 1.246 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000246/1.055, allocations: 398.7 kB / 1.247 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009455/1.056, allocations: 0.5915 MB / 1.247 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/1.057, allocations: 0.9567 MB / 1.248 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/1.059, allocations: 0.772 MB / 1.249 GB, free: 9.379 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/1.059, allocations: 4 kB / 1.249 GB, free: 9.375 MB / 0.8542 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.006514/1.065, allocations: 2.78 MB / 1.252 GB, free: 6.574 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.00217/1.067, allocations: 4.531 MB / 1.256 GB, free: 1.688 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.7e-05/1.067, allocations: 11.98 kB / 1.256 GB, free: 1.676 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00519/1.073, allocations: 1.427 MB / 1.257 GB, free: 240 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009271/1.074, allocations: 223.6 kB / 1.258 GB, free: 16 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.462/1.536, allocations: 6.804 MB / 1.264 GB, free: 211.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/1.537, allocations: 161.5 kB / 1.264 GB, free: 211.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/1.537, allocations: 46.92 kB / 1.264 GB, free: 211.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/1.537, allocations: 7.312 kB / 1.264 GB, free: 211.2 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005151/1.542, allocations: 2.246 MB / 1.267 GB, free: 211.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.289e-05/1.542, allocations: 13.78 kB / 1.267 GB, free: 211.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003084/1.545, allocations: 0.8668 MB / 1.267 GB, free: 211.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008652/1.546, allocations: 256.1 kB / 1.268 GB, free: 211.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005959/1.552, allocations: 5.37 MB / 1.273 GB, free: 208.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000938/1.553, allocations: 136.7 kB / 1.273 GB, free: 208.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.323e-05/1.553, allocations: 43.5 kB / 1.273 GB, free: 208.7 MB / 0.8542 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 () * 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.0002339/1.553, allocations: 162 kB / 1.273 GB, free: 208.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/1.554, allocations: 81.62 kB / 1.273 GB, free: 208.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005771/1.559, allocations: 2.317 MB / 1.276 GB, free: 208.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/1.559, allocations: 5.359 kB / 1.276 GB, free: 208.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/1.559, allocations: 1.625 kB / 1.276 GB, free: 208.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/1.559, allocations: 7.344 kB / 1.276 GB, free: 208.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008348/1.568, allocations: 4.251 MB / 1.28 GB, free: 207.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/1.568, allocations: 1.469 kB / 1.28 GB, free: 207.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004052/1.568, allocations: 105.7 kB / 1.28 GB, free: 207.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004873/1.573, allocations: 1.368 MB / 1.281 GB, free: 207.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.787e-05/1.573, allocations: 14.64 kB / 1.281 GB, free: 207.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01055/1.584, allocations: 9.489 MB / 1.291 GB, free: 202.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/1.584, allocations: 4.594 kB / 1.291 GB, free: 202.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005857/1.59, allocations: 2.376 MB / 1.293 GB, free: 202.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007595/1.59, allocations: 275.7 kB / 1.293 GB, free: 202 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/1.591, allocations: 16.22 kB / 1.293 GB, free: 202 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007455/1.591, allocations: 121.6 kB / 1.293 GB, free: 202 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002599/1.592, allocations: 54.3 kB / 1.293 GB, free: 202 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.825e-05/1.592, allocations: 16.41 kB / 1.293 GB, free: 202 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000962/1.593, allocations: 0.6284 MB / 1.294 GB, free: 201.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.31e-07/1.593, allocations: 0 / 1.294 GB, free: 201.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002304/1.595, allocations: 0.6064 MB / 1.295 GB, free: 201.7 MB / 0.8542 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 () * 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.0002987/1.595, allocations: 179.8 kB / 1.295 GB, free: 201.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005543/1.601, allocations: 2.948 MB / 1.298 GB, free: 200.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/1.601, allocations: 0 / 1.298 GB, free: 200.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001927/1.603, allocations: 1.228 MB / 1.299 GB, free: 199.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/1.604, allocations: 218.4 kB / 1.299 GB, free: 199.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003979/1.608, allocations: 2.4 MB / 1.301 GB, free: 198.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001181/1.609, allocations: 1.648 MB / 1.303 GB, free: 197.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001443/1.61, allocations: 0.5948 MB / 1.303 GB, free: 197.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/1.611, allocations: 49.45 kB / 1.304 GB, free: 197.9 MB / 0.8542 GB Notification: Performance of SimCode: time 7.22e-07/1.611, allocations: 0 / 1.304 GB, free: 197.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.03148/1.642, allocations: 22.89 MB / 1.326 GB, free: 196.9 MB / 0.8542 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)