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_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.611/1.611, allocations: 285.7 MB / 293.1 MB, free: 10.19 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.001391/0.001391, allocations: 176.9 kB / 361.4 MB, free: 6.82 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.2 MB / 0.62 GB, free: 11.64 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.0008611/0.0008612, allocations: 92.78 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.265e-05/2.268e-05, allocations: 4 kB / 0.8518 GB, free: 2.695 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7585/0.7586, allocations: 115.3 MB / 0.9644 GB, free: 79.01 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2283/0.9869, allocations: 191.9 MB / 1.152 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003461/0.9873, allocations: 93.11 kB / 1.152 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.1649/1.152, allocations: 66.07 MB / 1.216 GB, free: 9.25 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.563e-06/1.152, allocations: 0 / 1.216 GB, free: 9.25 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.121e-05/1.152, allocations: 32 kB / 1.216 GB, free: 9.219 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: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.003501/1.156, allocations: 1.679 MB / 1.218 GB, free: 7.488 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/1.156, allocations: 8.031 kB / 1.218 GB, free: 7.48 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003105/1.159, allocations: 0.6622 MB / 1.219 GB, free: 6.816 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002386/1.161, allocations: 1.25 MB / 1.22 GB, free: 5.52 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.802e-05/1.162, allocations: 52 kB / 1.22 GB, free: 5.469 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000258/1.162, allocations: 92 kB / 1.22 GB, free: 5.379 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003386/1.165, allocations: 1.943 MB / 1.222 GB, free: 3.434 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003751/1.169, allocations: 2.369 MB / 1.224 GB, free: 1.004 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.258e-05/1.169, allocations: 3.938 kB / 1.224 GB, free: 1 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001581/1.169, allocations: 4 kB / 1.224 GB, free: 0.9961 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001145/1.169, allocations: 91.22 kB / 1.224 GB, free: 0.9062 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01275/1.182, allocations: 10.51 MB / 1.235 GB, free: 5.535 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/1.183, allocations: 0.728 MB / 1.235 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006726/1.184, allocations: 0.4974 MB / 1.236 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001216/1.184, allocations: 89.47 kB / 1.236 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.189e-05/1.184, allocations: 42.94 kB / 1.236 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=46): time 4.288e-06/1.184, allocations: 3.984 kB / 1.236 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of matching and sorting (n=72): time 0.01024/1.194, allocations: 4.359 MB / 1.24 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/1.194, allocations: 89.83 kB / 1.24 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/1.196, allocations: 0.7609 MB / 1.241 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000104/1.196, allocations: 29.7 kB / 1.241 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004862/1.196, allocations: 0.7736 MB / 1.242 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002161/1.196, allocations: 248.4 kB / 1.242 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-05/1.196, allocations: 0 / 1.242 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001837/1.197, allocations: 394.8 kB / 1.242 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009324/1.198, allocations: 0.7404 MB / 1.243 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00117/1.199, allocations: 1.095 MB / 1.244 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001642/1.2, allocations: 1.078 MB / 1.245 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/1.2, allocations: 4 kB / 1.245 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.007229/1.208, allocations: 3.248 MB / 1.248 GB, free: 7.09 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.001757/1.209, allocations: 4.263 MB / 1.253 GB, free: 2.492 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.994e-05/1.209, allocations: 15.94 kB / 1.253 GB, free: 2.477 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005117/1.215, allocations: 1.4 MB / 1.254 GB, free: 1.07 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/1.216, allocations: 219.6 kB / 1.254 GB, free: 0.8555 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4816/1.697, allocations: 7.015 MB / 1.261 GB, free: 211.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/1.699, allocations: 170.2 kB / 1.261 GB, free: 211.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/1.699, allocations: 52.38 kB / 1.261 GB, free: 211.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/1.699, allocations: 4.562 kB / 1.261 GB, free: 211.8 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002804/1.702, allocations: 1.67 MB / 1.263 GB, free: 211.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/1.702, allocations: 13.75 kB / 1.263 GB, free: 211.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/1.702, allocations: 20.14 kB / 1.263 GB, free: 211.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/1.703, allocations: 344.6 kB / 1.263 GB, free: 211.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.529e-05/1.703, allocations: 22.09 kB / 1.263 GB, free: 211.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008826/1.704, allocations: 121.1 kB / 1.263 GB, free: 211.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.693e-05/1.704, allocations: 49.25 kB / 1.263 GB, free: 211.8 MB / 0.8542 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 () * 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.0002693/1.704, allocations: 138.3 kB / 1.264 GB, free: 211.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/1.704, allocations: 81.47 kB / 1.264 GB, free: 211.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006571/1.711, allocations: 3.002 MB / 1.267 GB, free: 211.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/1.711, allocations: 5.875 kB / 1.267 GB, free: 211.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/1.711, allocations: 5.703 kB / 1.267 GB, free: 211.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/1.711, allocations: 4.641 kB / 1.267 GB, free: 211.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009823/1.721, allocations: 5.289 MB / 1.272 GB, free: 211.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/1.721, allocations: 1.969 kB / 1.272 GB, free: 211.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004416/1.721, allocations: 110.9 kB / 1.272 GB, free: 211.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005409/1.727, allocations: 1.612 MB / 1.273 GB, free: 211.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-05/1.727, allocations: 3.719 kB / 1.273 GB, free: 211.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01234/1.739, allocations: 9.14 MB / 1.282 GB, free: 208.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.762e-06/1.739, allocations: 8 kB / 1.282 GB, free: 208.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006503/1.746, allocations: 2.98 MB / 1.285 GB, free: 207.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005791/1.746, allocations: 325.8 kB / 1.286 GB, free: 207.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/1.747, allocations: 4.078 kB / 1.286 GB, free: 207.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/1.748, allocations: 179.9 kB / 1.286 GB, free: 207.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002523/1.748, allocations: 63.44 kB / 1.286 GB, free: 207.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.783e-05/1.748, allocations: 18.88 kB / 1.286 GB, free: 207.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0007473/1.749, allocations: 0.5831 MB / 1.286 GB, free: 207.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.4e-07/1.749, allocations: 0 / 1.286 GB, free: 207.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002167/1.751, allocations: 0.6187 MB / 1.287 GB, free: 207.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 () * 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.0003236/1.751, allocations: 178.6 kB / 1.287 GB, free: 207 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00475/1.756, allocations: 2.906 MB / 1.29 GB, free: 206 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/1.756, allocations: 0 / 1.29 GB, free: 206 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002441/1.758, allocations: 1.336 MB / 1.291 GB, free: 205.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/1.759, allocations: 201.9 kB / 1.292 GB, free: 205.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004877/1.764, allocations: 2.808 MB / 1.294 GB, free: 204.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001546/1.766, allocations: 1.749 MB / 1.296 GB, free: 203.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001738/1.768, allocations: 0.6328 MB / 1.297 GB, free: 203.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/1.768, allocations: 52.11 kB / 1.297 GB, free: 203.4 MB / 0.8542 GB Notification: Performance of SimCode: time 6.01e-07/1.768, allocations: 4.812 kB / 1.297 GB, free: 203.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.03175/1.8, allocations: 24.14 MB / 1.32 GB, free: 202.5 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)