Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_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.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.728/1.728, allocations: 292.6 MB / 307.5 MB, free: 5.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.001267/0.001267, allocations: 192 kB / 377.1 MB, free: 1.523 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.923/1.923, allocations: 205.4 MB / 0.6367 GB, free: 8.543 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.0009152/0.0009149, allocations: 89.5 kB / 0.751 GB, free: 62.99 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003576/0.0003577, allocations: 8 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3098, allocations: 116.3 MB / 0.9884 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8445/1.154, allocations: 181.3 MB / 1.165 GB, free: 1.18 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003181/1.155, allocations: 97.48 kB / 1.166 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.2678/1.423, allocations: 112.3 MB / 1.275 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.545e-06/1.423, allocations: 4 kB / 1.275 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.000118/1.423, allocations: 63.94 kB / 1.275 GB, free: 15.78 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.005666/1.428, allocations: 2.512 MB / 1.278 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/1.429, allocations: 16.02 kB / 1.278 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004002/1.433, allocations: 0.6932 MB / 1.278 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003926/1.436, allocations: 1.613 MB / 1.28 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001665/1.437, allocations: 213.8 kB / 1.28 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005564/1.437, allocations: 287.4 kB / 1.28 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008359/1.446, allocations: 4.61 MB / 1.285 GB, free: 5.551 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.249e-05/1.446, allocations: 7.938 kB / 1.285 GB, free: 5.543 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003389/1.446, allocations: 120 kB / 1.285 GB, free: 5.426 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000228/1.446, allocations: 180.7 kB / 1.285 GB, free: 5.246 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006759/1.453, allocations: 3.756 MB / 1.289 GB, free: 1.477 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02913/1.482, allocations: 23.05 MB / 1.311 GB, free: 8.297 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002879/1.485, allocations: 1.582 MB / 1.313 GB, free: 6.676 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00015/1.485, allocations: 93.72 kB / 1.313 GB, free: 6.566 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/1.485, allocations: 43.12 kB / 1.313 GB, free: 6.516 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=72): time 4.018e-06/1.485, allocations: 4 kB / 1.313 GB, free: 6.512 MB / 0.8855 GB Notification: Performance of matching and sorting (n=75): time 0.006923/1.492, allocations: 3.549 MB / 1.317 GB, free: 2.934 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.578e-05/1.492, allocations: 141.1 kB / 1.317 GB, free: 2.766 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001489/1.494, allocations: 0.93 MB / 1.318 GB, free: 1.828 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.073e-05/1.494, allocations: 37.7 kB / 1.318 GB, free: 1.785 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008239/1.495, allocations: 1.196 MB / 1.319 GB, free: 0.5703 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002735/1.495, allocations: 272.2 kB / 1.319 GB, free: 308 kB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.523e-05/1.495, allocations: 28 kB / 1.319 GB, free: 280 kB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002285/1.495, allocations: 406.7 kB / 1.32 GB, free: 15.87 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0012/1.497, allocations: 0.7872 MB / 1.32 GB, free: 15.08 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001651/1.498, allocations: 1.275 MB / 1.322 GB, free: 13.58 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001474/1.5, allocations: 0.9905 MB / 1.323 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/1.5, allocations: 4 kB / 1.323 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003605/1.503, allocations: 2.164 MB / 1.325 GB, free: 10.42 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.002929/1.506, allocations: 5.493 MB / 1.33 GB, free: 4.492 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.401e-05/1.506, allocations: 15.98 kB / 1.33 GB, free: 4.477 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.216e-05/1.507, allocations: 31.94 kB / 1.33 GB, free: 4.445 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001646/1.508, allocations: 415.4 kB / 1.33 GB, free: 4.039 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.775e-05/1.508, allocations: 31.86 kB / 1.33 GB, free: 4.008 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/1.51, allocations: 251.3 kB / 1.331 GB, free: 3.762 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001548/1.51, allocations: 64.12 kB / 1.331 GB, free: 3.699 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/1.51, allocations: 4 kB / 1.331 GB, free: 3.695 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002764/1.513, allocations: 1.753 MB / 1.332 GB, free: 1.945 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.905e-05/1.513, allocations: 19.98 kB / 1.332 GB, free: 1.926 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.364e-05/1.513, allocations: 23.98 kB / 1.333 GB, free: 1.902 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/1.514, allocations: 355.4 kB / 1.333 GB, free: 1.555 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.671e-05/1.514, allocations: 32.08 kB / 1.333 GB, free: 1.523 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/1.516, allocations: 191.3 kB / 1.333 GB, free: 1.336 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/1.516, allocations: 56 kB / 1.333 GB, free: 1.281 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002571/1.518, allocations: 1.164 MB / 1.334 GB, free: 108 kB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003591/1.519, allocations: 98.78 kB / 1.334 GB, free: 8 kB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002532/1.521, allocations: 1.522 MB / 1.336 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/1.521, allocations: 8 kB / 1.336 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/1.521, allocations: 0 / 1.336 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-06/1.521, allocations: 11.94 kB / 1.336 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01189/1.533, allocations: 7.263 MB / 1.343 GB, free: 6.977 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.307e-05/1.533, allocations: 8 kB / 1.343 GB, free: 6.969 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/1.534, allocations: 264.1 kB / 1.343 GB, free: 6.711 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.343e-05/1.534, allocations: 20 kB / 1.343 GB, free: 6.691 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001182/1.534, allocations: 27.98 kB / 1.343 GB, free: 6.664 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.257e-05/1.534, allocations: 12 kB / 1.343 GB, free: 6.652 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-05/1.534, allocations: 11.94 kB / 1.343 GB, free: 6.641 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003311/1.538, allocations: 2.421 MB / 1.346 GB, free: 3.867 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009221/1.539, allocations: 375.6 kB / 1.346 GB, free: 3.48 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002567/1.539, allocations: 24 kB / 1.346 GB, free: 3.457 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/1.54, allocations: 135.8 kB / 1.346 GB, free: 3.324 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/1.54, allocations: 79.72 kB / 1.346 GB, free: 3.246 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.661e-05/1.54, allocations: 31.98 kB / 1.346 GB, free: 3.215 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001075/1.541, allocations: 0.7064 MB / 1.347 GB, free: 2.496 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.4e-07/1.541, allocations: 0 / 1.347 GB, free: 2.496 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.003114/1.545, allocations: 0.8281 MB / 1.348 GB, free: 1.668 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * 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 (78): * Single equations (assignments): 78 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002678/1.545, allocations: 147 kB / 1.348 GB, free: 1.516 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.004032/1.549, allocations: 2.649 MB / 1.35 GB, free: 14.88 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/1.549, allocations: 4.312 kB / 1.35 GB, free: 14.87 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001072/1.55, allocations: 0.7317 MB / 1.351 GB, free: 14.14 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/1.551, allocations: 256 kB / 1.351 GB, free: 13.89 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009829/1.561, allocations: 5.68 MB / 1.357 GB, free: 8.074 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003068/1.564, allocations: 2.167 MB / 1.359 GB, free: 5.867 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002399/1.567, allocations: 0.7422 MB / 1.36 GB, free: 5.121 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004095/1.567, allocations: 79.42 kB / 1.36 GB, free: 5.043 MB / 0.9323 GB Notification: Performance of SimCode: time 8.41e-07/1.567, allocations: 0 / 1.36 GB, free: 5.043 MB / 0.9323 GB Notification: Performance of Templates: time 0.5068/2.074, allocations: 15.1 MB / 1.375 GB, free: 196.2 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)