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.709/1.709, allocations: 289.7 MB / 302.3 MB, free: 2.152 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.001149/0.001149, allocations: 181.4 kB / 371.6 MB, free: 3.41 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.902/1.902, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0009352/0.0009352, allocations: 91.2 kB / 0.745 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.105e-05/4.107e-05, allocations: 7.984 kB / 0.8662 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2973, allocations: 116.3 MB / 0.9798 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8563/1.154, allocations: 193.6 MB / 1.169 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/1.154, allocations: 97.66 kB / 1.169 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.1722/1.326, allocations: 72.44 MB / 1.24 GB, free: 8.125 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.072e-06/1.326, allocations: 0 / 1.24 GB, free: 8.125 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 9.439e-05/1.326, allocations: 36 kB / 1.24 GB, free: 8.09 MB / 0.8073 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.003354/1.33, allocations: 1.676 MB / 1.241 GB, free: 6.465 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/1.33, allocations: 16.02 kB / 1.241 GB, free: 6.449 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003024/1.333, allocations: 0.6617 MB / 1.242 GB, free: 5.793 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002416/1.335, allocations: 1.249 MB / 1.243 GB, free: 4.664 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.111e-05/1.335, allocations: 122.5 kB / 1.243 GB, free: 4.547 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002981/1.336, allocations: 160 kB / 1.244 GB, free: 4.391 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004486/1.34, allocations: 2.598 MB / 1.246 GB, free: 1.73 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.703e-05/1.34, allocations: 11.92 kB / 1.246 GB, free: 1.719 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001784/1.34, allocations: 64 kB / 1.246 GB, free: 1.656 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.533e-05/1.34, allocations: 91.22 kB / 1.246 GB, free: 1.566 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003336/1.344, allocations: 2.145 MB / 1.248 GB, free: 15.41 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01253/1.356, allocations: 10.9 MB / 1.259 GB, free: 3.621 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/1.357, allocations: 0.7419 MB / 1.26 GB, free: 2.871 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007246/1.358, allocations: 0.5208 MB / 1.26 GB, free: 2.348 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001239/1.358, allocations: 89.47 kB / 1.26 GB, free: 2.242 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/1.358, allocations: 42.89 kB / 1.26 GB, free: 2.191 MB / 0.823 GB Notification: Performance of pre-optimization done (n=46): time 2.515e-06/1.358, allocations: 3.938 kB / 1.26 GB, free: 2.188 MB / 0.823 GB Notification: Performance of matching and sorting (n=72): time 0.0208/1.379, allocations: 7.156 MB / 1.267 GB, free: 11.02 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.07e-05/1.379, allocations: 93.83 kB / 1.267 GB, free: 10.91 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/1.381, allocations: 0.8472 MB / 1.268 GB, free: 10.05 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001102/1.381, allocations: 41.7 kB / 1.268 GB, free: 10 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005331/1.381, allocations: 0.7736 MB / 1.269 GB, free: 9.215 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002275/1.381, allocations: 252.4 kB / 1.269 GB, free: 8.965 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.772e-05/1.382, allocations: 20 kB / 1.269 GB, free: 8.945 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001934/1.382, allocations: 398.7 kB / 1.27 GB, free: 8.547 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/1.383, allocations: 0.7561 MB / 1.27 GB, free: 7.789 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001266/1.384, allocations: 1.125 MB / 1.272 GB, free: 6.508 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/1.385, allocations: 0.9701 MB / 1.272 GB, free: 5.535 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.074e-06/1.385, allocations: 4 kB / 1.273 GB, free: 5.531 MB / 0.8386 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.007604/1.393, allocations: 3.392 MB / 1.276 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.002469/1.395, allocations: 4.266 MB / 1.28 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.965e-05/1.395, allocations: 12 kB / 1.28 GB, free: 13.51 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006039/1.402, allocations: 1.756 MB / 1.282 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/1.403, allocations: 231.5 kB / 1.282 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01034/1.413, allocations: 7.279 MB / 1.289 GB, free: 4.078 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/1.415, allocations: 191.6 kB / 1.289 GB, free: 3.891 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/1.415, allocations: 44 kB / 1.289 GB, free: 3.848 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/1.415, allocations: 7.953 kB / 1.289 GB, free: 3.84 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005832/1.421, allocations: 2.731 MB / 1.292 GB, free: 1.105 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.777e-05/1.421, allocations: 8 kB / 1.292 GB, free: 1.098 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003427/1.424, allocations: 1.041 MB / 1.293 GB, free: 56 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/1.425, allocations: 291.5 kB / 1.293 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009004/1.434, allocations: 6.067 MB / 1.299 GB, free: 9.566 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/1.436, allocations: 163.7 kB / 1.299 GB, free: 9.406 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/1.436, allocations: 48 kB / 1.299 GB, free: 9.359 MB / 0.8698 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.0003389/1.436, allocations: 164.7 kB / 1.3 GB, free: 9.191 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001943/1.436, allocations: 86.97 kB / 1.3 GB, free: 9.105 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007026/1.443, allocations: 2.999 MB / 1.303 GB, free: 6.09 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/1.443, allocations: 8 kB / 1.303 GB, free: 6.082 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/1.443, allocations: 4 kB / 1.303 GB, free: 6.078 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/1.443, allocations: 7.984 kB / 1.303 GB, free: 6.07 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01143/1.455, allocations: 5.586 MB / 1.308 GB, free: 388 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/1.455, allocations: 4 kB / 1.308 GB, free: 384 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004747/1.455, allocations: 112.1 kB / 1.308 GB, free: 272 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005592/1.461, allocations: 1.64 MB / 1.31 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/1.461, allocations: 16 kB / 1.31 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01392/1.475, allocations: 9.459 MB / 1.319 GB, free: 4.883 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.176e-06/1.475, allocations: 4 kB / 1.319 GB, free: 4.879 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006812/1.482, allocations: 2.974 MB / 1.322 GB, free: 1.805 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009795/1.483, allocations: 332 kB / 1.322 GB, free: 1.461 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001549/1.483, allocations: 16 kB / 1.322 GB, free: 1.445 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008385/1.484, allocations: 139.8 kB / 1.322 GB, free: 1.309 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002883/1.484, allocations: 60.47 kB / 1.322 GB, free: 1.25 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.877e-05/1.484, allocations: 20 kB / 1.322 GB, free: 1.23 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0009934/1.485, allocations: 0.6631 MB / 1.323 GB, free: 0.5703 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/1.485, allocations: 3.938 kB / 1.323 GB, free: 0.5664 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002418/1.488, allocations: 0.7265 MB / 1.324 GB, free: 15.84 MB / 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 () * 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.0003694/1.488, allocations: 182.9 kB / 1.324 GB, free: 15.65 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.006792/1.495, allocations: 3.607 MB / 1.327 GB, free: 12.02 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/1.495, allocations: 8.062 kB / 1.327 GB, free: 12.01 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.002416/1.497, allocations: 1.374 MB / 1.329 GB, free: 10.61 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/1.499, allocations: 239.8 kB / 1.329 GB, free: 10.39 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004983/1.504, allocations: 2.86 MB / 1.332 GB, free: 7.477 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001495/1.505, allocations: 1.755 MB / 1.334 GB, free: 5.688 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001665/1.507, allocations: 0.6591 MB / 1.334 GB, free: 5.023 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/1.507, allocations: 55.42 kB / 1.334 GB, free: 4.969 MB / 0.9011 GB Notification: Performance of SimCode: time 1.313e-06/1.507, allocations: 0 / 1.334 GB, free: 4.969 MB / 0.9011 GB Notification: Performance of Templates: time 0.04208/1.549, allocations: 28.8 MB / 1.362 GB, free: 8.27 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)