Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.516/2.516, allocations: 287.5 MB / 303.2 MB, free: 8.172 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.001403/0.001402, allocations: 183 kB / 371.8 MB, free: 10.8 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.033/2.033, allocations: 205.4 MB / 0.6305 GB, free: 10.47 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.0009416/0.0009413, allocations: 81.77 kB / 0.7438 GB, free: 6.469 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006939/0.0006942, allocations: 10.97 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2378, allocations: 115.3 MB / 0.9793 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9708/1.209, allocations: 192.5 MB / 1.167 GB, free: 7.359 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003949/1.209, allocations: 107.5 kB / 1.167 GB, free: 7.297 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.267/1.476, allocations: 66.73 MB / 1.233 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.865e-06/1.476, allocations: 0 / 1.233 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001411/1.476, allocations: 40 kB / 1.233 GB, free: 14.69 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.007176/1.484, allocations: 1.767 MB / 1.234 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.642e-05/1.484, allocations: 8.031 kB / 1.234 GB, free: 12.97 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005889/1.49, allocations: 0.6649 MB / 1.235 GB, free: 12.31 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004379/1.494, allocations: 1.267 MB / 1.236 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000195/1.494, allocations: 118.8 kB / 1.236 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007932/1.495, allocations: 161.7 kB / 1.236 GB, free: 11.11 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007781/1.503, allocations: 2.662 MB / 1.239 GB, free: 9.188 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-05/1.503, allocations: 4 kB / 1.239 GB, free: 9.184 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003144/1.503, allocations: 68 kB / 1.239 GB, free: 9.117 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001626/1.503, allocations: 91.22 kB / 1.239 GB, free: 9.027 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006976/1.51, allocations: 2.214 MB / 1.241 GB, free: 6.809 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02196/1.532, allocations: 10.9 MB / 1.252 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002132/1.535, allocations: 0.7498 MB / 1.253 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001429/1.536, allocations: 0.5478 MB / 1.253 GB, free: 9.703 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002038/1.536, allocations: 97.45 kB / 1.253 GB, free: 9.59 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.786e-05/1.536, allocations: 34.94 kB / 1.253 GB, free: 9.547 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=46): time 4.278e-06/1.536, allocations: 3.938 kB / 1.253 GB, free: 9.543 MB / 0.7761 GB Notification: Performance of matching and sorting (n=72): time 0.05279/1.589, allocations: 9.066 MB / 1.262 GB, free: 408 kB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.67e-05/1.589, allocations: 85.77 kB / 1.262 GB, free: 304 kB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002045/1.591, allocations: 0.9415 MB / 1.263 GB, free: 15.35 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0002122/1.592, allocations: 41.7 kB / 1.263 GB, free: 15.3 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007519/1.592, allocations: 0.7736 MB / 1.264 GB, free: 14.51 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003633/1.593, allocations: 260.4 kB / 1.264 GB, free: 14.25 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/1.593, allocations: 24 kB / 1.264 GB, free: 14.23 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002457/1.593, allocations: 394.7 kB / 1.265 GB, free: 13.84 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002157/1.595, allocations: 0.8066 MB / 1.266 GB, free: 13.03 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002456/1.598, allocations: 1.171 MB / 1.267 GB, free: 11.7 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004691/1.603, allocations: 2.013 MB / 1.269 GB, free: 9.535 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-05/1.603, allocations: 8 kB / 1.269 GB, free: 9.527 MB / 0.7917 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01844/1.621, allocations: 3.822 MB / 1.272 GB, free: 5.688 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003703/1.622, allocations: 409.1 kB / 1.273 GB, free: 5.137 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.42e-05/1.622, allocations: 12 kB / 1.273 GB, free: 5.125 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01623/1.638, allocations: 2.18 MB / 1.275 GB, free: 2.938 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001682/1.64, allocations: 235.5 kB / 1.275 GB, free: 2.707 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03357/1.673, allocations: 11.44 MB / 1.286 GB, free: 7 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00252/1.676, allocations: 199.5 kB / 1.287 GB, free: 6.805 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002818/1.676, allocations: 47.98 kB / 1.287 GB, free: 6.758 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/1.676, allocations: 6.188 kB / 1.287 GB, free: 6.754 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01493/1.691, allocations: 3.103 MB / 1.29 GB, free: 3.645 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.184e-05/1.691, allocations: 12 kB / 1.29 GB, free: 3.633 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01067/1.702, allocations: 1.366 MB / 1.291 GB, free: 2.262 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002183/1.704, allocations: 291.5 kB / 1.291 GB, free: 1.977 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0208/1.725, allocations: 6.594 MB / 1.298 GB, free: 11.24 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002204/1.727, allocations: 167.8 kB / 1.298 GB, free: 11.08 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002041/1.727, allocations: 51.92 kB / 1.298 GB, free: 11.03 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (95): * Single equations (assignments): 93 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 14} * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.002331/1.73, allocations: 0.9075 MB / 1.299 GB, free: 10.11 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000336/1.73, allocations: 90.91 kB / 1.299 GB, free: 10.02 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01684/1.747, allocations: 3.371 MB / 1.302 GB, free: 6.629 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.021e-05/1.747, allocations: 4 kB / 1.302 GB, free: 6.625 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/1.747, allocations: 4 kB / 1.302 GB, free: 6.621 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.672e-05/1.747, allocations: 3.984 kB / 1.302 GB, free: 6.617 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02365/1.771, allocations: 5.941 MB / 1.308 GB, free: 0.5664 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.946e-05/1.771, allocations: 7.938 kB / 1.308 GB, free: 0.5586 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008967/1.772, allocations: 107.8 kB / 1.308 GB, free: 464 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01465/1.786, allocations: 1.969 MB / 1.31 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002113/1.787, allocations: 20 kB / 1.31 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02699/1.814, allocations: 9.817 MB / 1.32 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/1.814, allocations: 4 kB / 1.32 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01606/1.83, allocations: 3.225 MB / 1.323 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001113/1.831, allocations: 331.9 kB / 1.323 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002522/1.831, allocations: 19.98 kB / 1.323 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001707/1.833, allocations: 147.8 kB / 1.323 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003696/1.833, allocations: 68.34 kB / 1.323 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/1.833, allocations: 24 kB / 1.323 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001603/1.835, allocations: 0.6746 MB / 1.324 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.91e-07/1.835, allocations: 4 kB / 1.324 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003592/1.839, allocations: 0.7226 MB / 1.325 GB, free: 15.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 42 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 13} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.000472/1.839, allocations: 176.6 kB / 1.325 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01527/1.854, allocations: 4.131 MB / 1.329 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/1.854, allocations: 0 / 1.329 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.005533/1.86, allocations: 1.476 MB / 1.33 GB, free: 9.25 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002409/1.862, allocations: 250.9 kB / 1.331 GB, free: 9.012 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009937/1.872, allocations: 4.069 MB / 1.335 GB, free: 4.887 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002555/1.875, allocations: 1.734 MB / 1.336 GB, free: 3.117 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002578/1.878, allocations: 0.5187 MB / 1.337 GB, free: 2.594 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003016/1.878, allocations: 55.44 kB / 1.337 GB, free: 2.543 MB / 0.8542 GB Notification: Performance of SimCode: time 1.222e-06/1.878, allocations: 0 / 1.337 GB, free: 2.543 MB / 0.8542 GB Notification: Performance of Templates: time 0.07944/1.957, allocations: 29.83 MB / 1.366 GB, free: 4.836 MB / 0.8855 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)