Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_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.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.564/1.564, allocations: 285.4 MB / 298 MB, free: 6.023 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.001074/0.001074, allocations: 180.3 kB / 366.4 MB, free: 2.102 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.499/1.499, allocations: 205.1 MB / 0.6248 GB, free: 7.742 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.0009679/0.0009678, allocations: 100.3 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.189e-05/3.192e-05, allocations: 4 kB / 0.8583 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8348/0.8348, allocations: 115.3 MB / 0.9709 GB, free: 77.93 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2489/1.084, allocations: 180.3 MB / 1.147 GB, free: 3.438 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/1.084, allocations: 95.94 kB / 1.147 GB, free: 3.344 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.2704/1.355, allocations: 111.8 MB / 1.256 GB, free: 2.742 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.114e-06/1.355, allocations: 0 / 1.256 GB, free: 2.742 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001295/1.355, allocations: 67.98 kB / 1.256 GB, free: 2.676 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.006173/1.361, allocations: 2.419 MB / 1.259 GB, free: 204 kB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/1.361, allocations: 8.031 kB / 1.259 GB, free: 196 kB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5835/1.944, allocations: 0.6897 MB / 1.259 GB, free: 196.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004766/1.949, allocations: 1.61 MB / 1.261 GB, free: 195.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000272/1.95, allocations: 220.1 kB / 1.261 GB, free: 195.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009428/1.951, allocations: 285.8 kB / 1.261 GB, free: 195.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01045/1.961, allocations: 4.54 MB / 1.266 GB, free: 195.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-05/1.961, allocations: 8.438 kB / 1.266 GB, free: 195.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003633/1.961, allocations: 122.3 kB / 1.266 GB, free: 195.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003145/1.962, allocations: 182.2 kB / 1.266 GB, free: 195.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007019/1.969, allocations: 3.656 MB / 1.27 GB, free: 195.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03107/2, allocations: 23.05 MB / 1.292 GB, free: 181.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0031/2.003, allocations: 1.554 MB / 1.294 GB, free: 181 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001245/2.004, allocations: 0.8385 MB / 1.295 GB, free: 181 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001682/2.005, allocations: 99.44 kB / 1.295 GB, free: 180.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/2.005, allocations: 39.92 kB / 1.295 GB, free: 180.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=72): time 3.306e-06/2.005, allocations: 3.188 kB / 1.295 GB, free: 180.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=75): time 0.004947/2.01, allocations: 2.902 MB / 1.298 GB, free: 179.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.167e-05/2.01, allocations: 141.9 kB / 1.298 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001381/2.011, allocations: 0.9225 MB / 1.299 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.207e-05/2.011, allocations: 43.61 kB / 1.299 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007255/2.012, allocations: 1.199 MB / 1.3 GB, free: 178.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002441/2.012, allocations: 272.9 kB / 1.3 GB, free: 178.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.061e-05/2.012, allocations: 22.72 kB / 1.3 GB, free: 178.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001704/2.012, allocations: 410 kB / 1.3 GB, free: 178.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001156/2.014, allocations: 0.7579 MB / 1.301 GB, free: 178.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001485/2.015, allocations: 1.247 MB / 1.302 GB, free: 177.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001557/2.017, allocations: 0.9742 MB / 1.303 GB, free: 177.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-06/2.017, allocations: 3.25 kB / 1.303 GB, free: 177.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003508/2.02, allocations: 2.089 MB / 1.305 GB, free: 177.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.001162/2.021, allocations: 5.5 MB / 1.311 GB, free: 171.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.717e-05/2.021, allocations: 13.53 kB / 1.311 GB, free: 171.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.468e-05/2.021, allocations: 23.09 kB / 1.311 GB, free: 171.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001738/2.023, allocations: 410.4 kB / 1.311 GB, free: 171.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.595e-05/2.023, allocations: 33.25 kB / 1.311 GB, free: 171.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/2.025, allocations: 263.2 kB / 1.311 GB, free: 171.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/2.025, allocations: 61.53 kB / 1.312 GB, free: 171.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/2.025, allocations: 4.188 kB / 1.312 GB, free: 171.5 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002625/2.028, allocations: 1.694 MB / 1.313 GB, free: 171 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.995e-05/2.028, allocations: 14.41 kB / 1.313 GB, free: 171 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.052e-05/2.028, allocations: 27.33 kB / 1.313 GB, free: 171 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/2.029, allocations: 362.2 kB / 1.314 GB, free: 171 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.652e-05/2.029, allocations: 29.12 kB / 1.314 GB, free: 171 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/2.03, allocations: 177.8 kB / 1.314 GB, free: 170.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/2.03, allocations: 64.88 kB / 1.314 GB, free: 170.9 MB / 0.8542 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 () * 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.000297/2.031, allocations: 181.5 kB / 1.314 GB, free: 170.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002712/2.031, allocations: 99.28 kB / 1.314 GB, free: 170.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002506/2.033, allocations: 1.462 MB / 1.316 GB, free: 170.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/2.033, allocations: 12.77 kB / 1.316 GB, free: 170.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/2.033, allocations: 2.891 kB / 1.316 GB, free: 170.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/2.033, allocations: 3.469 kB / 1.316 GB, free: 170.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01088/2.044, allocations: 7.229 MB / 1.323 GB, free: 167.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.499e-05/2.044, allocations: 9.688 kB / 1.323 GB, free: 167.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/2.046, allocations: 271.2 kB / 1.323 GB, free: 167.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-05/2.046, allocations: 14.41 kB / 1.323 GB, free: 167.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-05/2.046, allocations: 24.88 kB / 1.323 GB, free: 167.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.991e-05/2.046, allocations: 16.62 kB / 1.323 GB, free: 167.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.301e-05/2.046, allocations: 12.06 kB / 1.323 GB, free: 167.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002551/2.048, allocations: 2.384 MB / 1.325 GB, free: 165.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000678/2.049, allocations: 373.7 kB / 1.326 GB, free: 165.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/2.049, allocations: 26.06 kB / 1.326 GB, free: 165.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009087/2.05, allocations: 141 kB / 1.326 GB, free: 165.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001689/2.05, allocations: 77.08 kB / 1.326 GB, free: 165.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.044e-05/2.05, allocations: 27.72 kB / 1.326 GB, free: 165.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001045/2.051, allocations: 0.6996 MB / 1.327 GB, free: 164.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.61e-07/2.051, allocations: 0.75 kB / 1.327 GB, free: 164.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003383/2.055, allocations: 0.8308 MB / 1.327 GB, free: 164.7 MB / 0.8542 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 () * 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.0002772/2.055, allocations: 148.2 kB / 1.328 GB, free: 164.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003846/2.059, allocations: 2.593 MB / 1.33 GB, free: 163.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/2.059, allocations: 3.688 kB / 1.33 GB, free: 163.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0008239/2.06, allocations: 0.7162 MB / 1.331 GB, free: 163.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00131/2.061, allocations: 259.4 kB / 1.331 GB, free: 163.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006115/2.067, allocations: 3.858 MB / 1.335 GB, free: 161.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001634/2.069, allocations: 2.161 MB / 1.337 GB, free: 160.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001907/2.071, allocations: 0.7926 MB / 1.338 GB, free: 160.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002815/2.071, allocations: 74.88 kB / 1.338 GB, free: 160.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.202e-06/2.071, allocations: 3.938 kB / 1.338 GB, free: 160.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.02398/2.095, allocations: 16.2 MB / 1.354 GB, free: 160.1 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)