Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.512/2.512, allocations: 287.5 MB / 303.2 MB, free: 8.113 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.001338/0.001338, allocations: 177.2 kB / 371.8 MB, free: 10.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 2.101/2.101, allocations: 205.4 MB / 0.6305 GB, free: 10.6 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.0008608/0.0008607, allocations: 100.5 kB / 0.7438 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006414/0.0006416, allocations: 11.86 kB / 0.8667 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.2826, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.142/1.425, allocations: 180.9 MB / 1.156 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003454/1.426, allocations: 105.7 kB / 1.156 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.6936/2.119, allocations: 160.6 MB / 1.313 GB, free: 12.97 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.096e-06/2.119, allocations: 0 / 1.313 GB, free: 12.97 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0002847/2.12, allocations: 103.9 kB / 1.313 GB, free: 12.87 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.02059/2.14, allocations: 3.439 MB / 1.316 GB, free: 9.359 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.181e-05/2.14, allocations: 16.03 kB / 1.316 GB, free: 9.344 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0136/2.154, allocations: 0.9559 MB / 1.317 GB, free: 8.383 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01172/2.166, allocations: 2.327 MB / 1.32 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007454/2.166, allocations: 329 kB / 1.32 GB, free: 5.688 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00295/2.169, allocations: 420.3 kB / 1.32 GB, free: 5.277 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03476/2.204, allocations: 6.723 MB / 1.327 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002846/2.205, allocations: 12.03 kB / 1.327 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002311/2.207, allocations: 183.9 kB / 1.327 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007076/2.208, allocations: 263 kB / 1.327 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02182/2.23, allocations: 5.316 MB / 1.332 GB, free: 8.551 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08937/2.319, allocations: 32.4 MB / 1.364 GB, free: 5.297 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007262/2.326, allocations: 2.087 MB / 1.366 GB, free: 3.168 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003336/2.33, allocations: 1.22 MB / 1.367 GB, free: 1.938 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004056/2.33, allocations: 114 kB / 1.367 GB, free: 1.805 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.459e-05/2.33, allocations: 43.56 kB / 1.368 GB, free: 1.754 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=98): time 6.362e-06/2.33, allocations: 3.938 kB / 1.368 GB, free: 1.75 MB / 0.8855 GB Notification: Performance of matching and sorting (n=101): time 0.02209/2.352, allocations: 5.196 MB / 1.373 GB, free: 12.51 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/2.353, allocations: 137.5 kB / 1.373 GB, free: 12.34 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004657/2.357, allocations: 1.445 MB / 1.374 GB, free: 10.88 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0004251/2.358, allocations: 45.7 kB / 1.374 GB, free: 10.83 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.00254/2.36, allocations: 1.87 MB / 1.376 GB, free: 8.938 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009611/2.361, allocations: 367 kB / 1.376 GB, free: 8.574 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003879/2.362, allocations: 48.19 kB / 1.376 GB, free: 8.527 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0003529/2.362, allocations: 394 kB / 1.377 GB, free: 8.137 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004612/2.367, allocations: 1.089 MB / 1.378 GB, free: 7.043 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006286/2.373, allocations: 2.165 MB / 1.38 GB, free: 4.359 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01141/2.385, allocations: 3.364 MB / 1.383 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.687e-05/2.385, allocations: 8 kB / 1.383 GB, free: 0.5117 MB / 0.9011 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.01223/2.397, allocations: 3.277 MB / 1.386 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.00103/2.398, allocations: 1.094 MB / 1.388 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.056e-05/2.398, allocations: 39.94 kB / 1.388 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.159e-05/2.398, allocations: 44.14 kB / 1.388 GB, free: 11.58 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004705/2.403, allocations: 0.62 MB / 1.388 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.943e-05/2.403, allocations: 67.78 kB / 1.388 GB, free: 10.89 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003592/2.407, allocations: 310.7 kB / 1.389 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005321/2.407, allocations: 116 kB / 1.389 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/2.407, allocations: 11.98 kB / 1.389 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007663/2.415, allocations: 2.714 MB / 1.391 GB, free: 7.746 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-05/2.415, allocations: 36 kB / 1.391 GB, free: 7.711 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.385e-05/2.415, allocations: 48 kB / 1.391 GB, free: 7.664 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0038/2.419, allocations: 0.5537 MB / 1.392 GB, free: 7.109 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.689e-05/2.419, allocations: 64.2 kB / 1.392 GB, free: 7.047 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002813/2.422, allocations: 235 kB / 1.392 GB, free: 6.816 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005124/2.423, allocations: 112 kB / 1.392 GB, free: 6.707 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (264): * Single equations (assignments): 264 * 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.004544/2.427, allocations: 1.706 MB / 1.394 GB, free: 4.988 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005916/2.428, allocations: 158.1 kB / 1.394 GB, free: 4.832 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005914/2.434, allocations: 2.215 MB / 1.396 GB, free: 2.602 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.349e-05/2.434, allocations: 12 kB / 1.396 GB, free: 2.59 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/2.434, allocations: 0 / 1.396 GB, free: 2.59 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-05/2.434, allocations: 3.984 kB / 1.396 GB, free: 2.586 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02605/2.46, allocations: 10.97 MB / 1.407 GB, free: 7.367 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.773e-05/2.46, allocations: 16 kB / 1.407 GB, free: 7.352 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00292/2.463, allocations: 383.3 kB / 1.407 GB, free: 6.977 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.977e-05/2.463, allocations: 19.94 kB / 1.407 GB, free: 6.957 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001557/2.463, allocations: 32.47 kB / 1.407 GB, free: 6.926 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.518e-05/2.463, allocations: 27.92 kB / 1.408 GB, free: 6.898 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.681e-05/2.463, allocations: 19.94 kB / 1.408 GB, free: 6.879 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005638/2.469, allocations: 2.739 MB / 1.41 GB, free: 3.977 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001377/2.47, allocations: 470.7 kB / 1.411 GB, free: 3.496 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004127/2.471, allocations: 35.92 kB / 1.411 GB, free: 3.461 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001987/2.473, allocations: 167.7 kB / 1.411 GB, free: 3.297 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003093/2.473, allocations: 104.2 kB / 1.411 GB, free: 3.195 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000144/2.473, allocations: 36 kB / 1.411 GB, free: 3.16 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002178/2.475, allocations: 0.9625 MB / 1.412 GB, free: 2.199 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5.31e-07/2.475, allocations: 0 / 1.412 GB, free: 2.199 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.006449/2.482, allocations: 1.207 MB / 1.413 GB, free: 0.9922 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (104): * Single equations (assignments): 104 * 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.0004856/2.482, allocations: 162.9 kB / 1.413 GB, free: 0.8203 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00976/2.492, allocations: 3.927 MB / 1.417 GB, free: 12.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.398e-05/2.492, allocations: 4.062 kB / 1.417 GB, free: 12.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002808/2.495, allocations: 1.052 MB / 1.418 GB, free: 11.85 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00714/2.502, allocations: 395.6 kB / 1.418 GB, free: 11.47 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02043/2.523, allocations: 8.472 MB / 1.427 GB, free: 2.812 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.6364/3.159, allocations: 2.863 MB / 1.43 GB, free: 249.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.006558/3.166, allocations: 1.199 MB / 1.431 GB, free: 249.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001087/3.167, allocations: 118.8 kB / 1.431 GB, free: 249.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.913e-06/3.167, allocations: 3.812 kB / 1.431 GB, free: 249.1 MB / 0.948 GB Notification: Performance of Templates: time 0.07406/3.241, allocations: 23.13 MB / 1.453 GB, free: 248.6 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)