Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.697/1.697, allocations: 292.6 MB / 307.6 MB, free: 5.203 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.001185/0.001185, allocations: 180.2 kB / 377.1 MB, free: 1.516 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.108/2.108, allocations: 205.4 MB / 0.6367 GB, free: 9.555 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.0008686/0.0008685, allocations: 92.83 kB / 0.751 GB, free: 62.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006285/0.0006285, allocations: 16 kB / 0.8748 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3403, allocations: 116.3 MB / 0.9884 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8708/1.211, allocations: 193.7 MB / 1.178 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003118/1.212, allocations: 102.9 kB / 1.178 GB, free: 4.758 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.2025/1.414, allocations: 72.72 MB / 1.249 GB, free: 11.39 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.597e-06/1.414, allocations: 0 / 1.249 GB, free: 11.39 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001474/1.414, allocations: 36 kB / 1.249 GB, free: 11.35 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.007358/1.422, allocations: 1.789 MB / 1.25 GB, free: 9.508 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 8.277e-05/1.422, allocations: 20.02 kB / 1.25 GB, free: 9.488 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006616/1.428, allocations: 0.667 MB / 1.251 GB, free: 8.82 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006186/1.435, allocations: 1.242 MB / 1.252 GB, free: 7.535 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002186/1.435, allocations: 123.2 kB / 1.252 GB, free: 7.414 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001175/1.436, allocations: 157.1 kB / 1.253 GB, free: 7.262 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01161/1.448, allocations: 2.656 MB / 1.255 GB, free: 4.543 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00011/1.448, allocations: 3.938 kB / 1.255 GB, free: 4.539 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007417/1.449, allocations: 69.7 kB / 1.255 GB, free: 4.473 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002168/1.449, allocations: 91.22 kB / 1.255 GB, free: 4.383 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008153/1.457, allocations: 2.218 MB / 1.258 GB, free: 2.16 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02692/1.484, allocations: 10.9 MB / 1.268 GB, free: 6.375 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/1.485, allocations: 0.7575 MB / 1.269 GB, free: 5.609 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001388/1.486, allocations: 89.48 kB / 1.269 GB, free: 5.504 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/1.486, allocations: 46.81 kB / 1.269 GB, free: 5.449 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=46): time 2.114e-06/1.486, allocations: 0 / 1.269 GB, free: 5.449 MB / 0.8386 GB Notification: Performance of matching and sorting (n=70): time 0.02563/1.511, allocations: 8.405 MB / 1.277 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.523e-05/1.511, allocations: 89.61 kB / 1.277 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001624/1.513, allocations: 0.8508 MB / 1.278 GB, free: 12.01 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001475/1.513, allocations: 41.7 kB / 1.278 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006594/1.514, allocations: 0.7775 MB / 1.279 GB, free: 11.17 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003175/1.514, allocations: 240.6 kB / 1.279 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/1.514, allocations: 20 kB / 1.279 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000253/1.515, allocations: 398.8 kB / 1.28 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001404/1.516, allocations: 0.795 MB / 1.28 GB, free: 9.719 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001623/1.518, allocations: 1.168 MB / 1.282 GB, free: 8.391 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001588/1.519, allocations: 1.002 MB / 1.282 GB, free: 7.387 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.22e-05/1.519, allocations: 8 kB / 1.282 GB, free: 7.379 MB / 0.8542 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.008675/1.528, allocations: 3.506 MB / 1.286 GB, free: 3.855 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.002471/1.53, allocations: 4.265 MB / 1.29 GB, free: 15.26 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-05/1.531, allocations: 12 kB / 1.29 GB, free: 15.25 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007473/1.538, allocations: 1.869 MB / 1.292 GB, free: 13.37 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/1.539, allocations: 227.6 kB / 1.292 GB, free: 13.15 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01091/1.55, allocations: 7.026 MB / 1.299 GB, free: 5.965 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/1.552, allocations: 187.6 kB / 1.299 GB, free: 5.781 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002074/1.552, allocations: 47.98 kB / 1.299 GB, free: 5.734 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/1.552, allocations: 10.19 kB / 1.299 GB, free: 5.727 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007333/1.559, allocations: 2.865 MB / 1.302 GB, free: 2.855 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.384e-05/1.56, allocations: 12 kB / 1.302 GB, free: 2.844 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004444/1.564, allocations: 1.157 MB / 1.303 GB, free: 1.684 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/1.565, allocations: 299.5 kB / 1.303 GB, free: 1.391 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009016/1.574, allocations: 5.841 MB / 1.309 GB, free: 11.42 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/1.576, allocations: 159.7 kB / 1.309 GB, free: 11.26 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002485/1.576, allocations: 44 kB / 1.309 GB, free: 11.22 MB / 0.8855 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 (97): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.002126/1.578, allocations: 0.8987 MB / 1.31 GB, free: 10.31 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005626/1.579, allocations: 90.95 kB / 1.31 GB, free: 10.22 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008613/1.588, allocations: 3.117 MB / 1.313 GB, free: 7.082 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/1.588, allocations: 4 kB / 1.313 GB, free: 7.078 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/1.588, allocations: 4 kB / 1.313 GB, free: 7.074 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.176e-05/1.588, allocations: 3.984 kB / 1.313 GB, free: 7.07 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01208/1.6, allocations: 5.173 MB / 1.318 GB, free: 1.805 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/1.6, allocations: 4 kB / 1.318 GB, free: 1.801 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004858/1.6, allocations: 115.7 kB / 1.319 GB, free: 1.688 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006897/1.607, allocations: 1.78 MB / 1.32 GB, free: 15.9 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001255/1.607, allocations: 12 kB / 1.32 GB, free: 15.89 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01459/1.622, allocations: 10 MB / 1.33 GB, free: 5.617 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/1.622, allocations: 7.891 kB / 1.33 GB, free: 5.609 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007746/1.63, allocations: 3.103 MB / 1.333 GB, free: 2.406 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009718/1.631, allocations: 332 kB / 1.333 GB, free: 2.062 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000299/1.631, allocations: 12 kB / 1.333 GB, free: 2.051 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/1.632, allocations: 155.8 kB / 1.334 GB, free: 1.898 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003211/1.632, allocations: 60.61 kB / 1.334 GB, free: 1.84 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.098e-05/1.633, allocations: 20 kB / 1.334 GB, free: 1.82 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001216/1.634, allocations: 0.6707 MB / 1.334 GB, free: 1.156 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.21e-07/1.634, allocations: 4 kB / 1.334 GB, free: 1.152 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.003011/1.637, allocations: 0.7225 MB / 1.335 GB, free: 440 kB / 0.9011 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): 40 * 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%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004416/1.637, allocations: 179.1 kB / 1.335 GB, free: 248 kB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.007104/1.644, allocations: 3.603 MB / 1.339 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 9.738e-06/1.644, allocations: 4.75 kB / 1.339 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002418/1.647, allocations: 1.344 MB / 1.34 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001461/1.648, allocations: 240.6 kB / 1.34 GB, free: 11.01 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008231/1.657, allocations: 4.067 MB / 1.344 GB, free: 6.891 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002409/1.659, allocations: 1.75 MB / 1.346 GB, free: 5.109 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001746/1.661, allocations: 0.5186 MB / 1.346 GB, free: 4.586 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002407/1.661, allocations: 55.44 kB / 1.346 GB, free: 4.531 MB / 0.9167 GB Notification: Performance of SimCode: time 8.72e-07/1.661, allocations: 0 / 1.346 GB, free: 4.531 MB / 0.9167 GB Notification: Performance of Templates: time 0.487/2.148, allocations: 28.01 MB / 1.374 GB, free: 224.4 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)