Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 191.8 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.541/1.541, allocations: 205.1 MB / 222.4 MB, free: 4.59 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.581/1.581, allocations: 251.7 MB / 0.5092 GB, free: 3.137 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001648, allocations: 68.42 kB / 0.6223 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6033/0.6049, allocations: 104.7 MB / 0.7245 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.04377/0.6488, allocations: 37.26 MB / 0.7609 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02719/0.676, allocations: 13.59 MB / 0.7742 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005241/0.6813, allocations: 115.6 kB / 0.7743 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.006629/0.688, allocations: 2.274 MB / 0.7765 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005183/0.6932, allocations: 1.408 MB / 0.7779 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01019/0.7034, allocations: 3.517 MB / 0.7813 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.008786/0.7122, allocations: 6.391 MB / 0.7876 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01302/0.7253, allocations: 10.02 MB / 0.7973 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004948/0.7303, allocations: 2.727 MB / 0.8 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007065/0.7374, allocations: 3.186 MB / 0.8031 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001756/0.7392, allocations: 0.6249 MB / 0.8037 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004026/0.7432, allocations: 1.233 MB / 0.8049 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.003728/0.7469, allocations: 2.472 MB / 0.8073 GB, free: 7.766 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.005035/0.752, allocations: 2.549 MB / 0.8098 GB, free: 5.207 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01101/0.763, allocations: 9.077 MB / 0.8187 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.7631, allocations: 0 / 0.8187 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.415e-06/0.7631, allocations: 4 kB / 0.8187 GB, free: 12.1 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003155/0.7634, allocations: 0 / 0.8187 GB, free: 12.1 MB / 0.6387 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.01053/0.7739, allocations: 4.31 MB / 0.8229 GB, free: 7.723 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.774, allocations: 8.031 kB / 0.8229 GB, free: 7.715 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003964/0.778, allocations: 0.9404 MB / 0.8238 GB, free: 6.77 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004014/0.782, allocations: 2.191 MB / 0.826 GB, free: 4.535 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000226/0.7822, allocations: 325 kB / 0.8263 GB, free: 4.215 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000716/0.783, allocations: 420.4 kB / 0.8267 GB, free: 3.805 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01333/0.7963, allocations: 7.366 MB / 0.8339 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.992e-05/0.7964, allocations: 15.84 kB / 0.8339 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004809/0.7969, allocations: 183.9 kB / 0.8341 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003262/0.7973, allocations: 294.9 kB / 0.8344 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01164/0.8089, allocations: 5.952 MB / 0.8402 GB, free: 5.758 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04301/0.852, allocations: 32.63 MB / 0.872 GB, free: 2.273 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003196/0.8552, allocations: 2.107 MB / 0.8741 GB, free: 136 kB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001508/0.8567, allocations: 1.232 MB / 0.8753 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001961/0.8569, allocations: 106.1 kB / 0.8754 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.857, allocations: 43.56 kB / 0.8754 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=98): time 3.326e-06/0.857, allocations: 4 kB / 0.8754 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of matching and sorting (n=101): time 0.007934/0.8649, allocations: 5.23 MB / 0.8806 GB, free: 9.434 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.8651, allocations: 145.5 kB / 0.8807 GB, free: 9.258 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002289/0.8674, allocations: 1.453 MB / 0.8821 GB, free: 7.793 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001317/0.8675, allocations: 50.19 kB / 0.8822 GB, free: 7.738 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001225/0.8688, allocations: 1.867 MB / 0.884 GB, free: 5.844 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004124/0.8692, allocations: 374.9 kB / 0.8843 GB, free: 5.473 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006547/0.8698, allocations: 462.9 kB / 0.8848 GB, free: 5.012 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.87, allocations: 301.1 kB / 0.8851 GB, free: 4.715 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001584/0.8716, allocations: 1.118 MB / 0.8862 GB, free: 3.586 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002499/0.8741, allocations: 2.192 MB / 0.8883 GB, free: 0.875 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004375/0.8784, allocations: 3.396 MB / 0.8916 GB, free: 13 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.619e-05/0.8785, allocations: 8 kB / 0.8916 GB, free: 13 MB / 0.7169 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005993/0.8845, allocations: 3.316 MB / 0.8949 GB, free: 9.668 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.805e-05/0.8846, allocations: 20 kB / 0.8949 GB, free: 9.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.365e-05/0.8847, allocations: 32 kB / 0.8949 GB, free: 9.617 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.155e-05/0.8847, allocations: 48 kB / 0.895 GB, free: 9.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002208/0.887, allocations: 0.6199 MB / 0.8956 GB, free: 8.949 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.028e-05/0.887, allocations: 71.72 kB / 0.8956 GB, free: 8.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001987/0.889, allocations: 310.9 kB / 0.8959 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001724/0.8892, allocations: 112 kB / 0.896 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004082/0.8933, allocations: 2.409 MB / 0.8984 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002252/0.8956, allocations: 2.015 MB / 0.9004 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003944/0.8995, allocations: 3.025 MB / 0.9033 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.209e-05/0.8996, allocations: 8 kB / 0.9033 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.004938/0.9045, allocations: 2.929 MB / 0.9062 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.32e-05/0.9046, allocations: 22.03 kB / 0.9062 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.823e-05/0.9046, allocations: 32 kB / 0.9062 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.824e-05/0.9047, allocations: 48 kB / 0.9063 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001731/0.9064, allocations: 0.5543 MB / 0.9068 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.268e-05/0.9065, allocations: 79.66 kB / 0.9069 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00178/0.9083, allocations: 235.1 kB / 0.9071 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000153/0.9085, allocations: 116 kB / 0.9072 GB, free: 11.96 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006978/0.9092, allocations: 339.2 kB / 0.9075 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003645/0.9095, allocations: 162 kB / 0.9077 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003512/0.9131, allocations: 2.223 MB / 0.9099 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.818e-05/0.9131, allocations: 15.94 kB / 0.9099 GB, free: 9.207 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.9131, allocations: 0 / 0.9099 GB, free: 9.207 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/0.9131, allocations: 3.984 kB / 0.9099 GB, free: 9.203 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5123/1.425, allocations: 10.97 MB / 0.9206 GB, free: 177.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-05/1.426, allocations: 10.69 kB / 0.9206 GB, free: 177.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001583/1.427, allocations: 386 kB / 0.921 GB, free: 177.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.656e-05/1.427, allocations: 15.75 kB / 0.921 GB, free: 177.6 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.169e-05/1.427, allocations: 36.25 kB / 0.921 GB, free: 177.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.622e-05/1.427, allocations: 22.64 kB / 0.9211 GB, free: 177.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.671e-05/1.427, allocations: 17.45 kB / 0.9211 GB, free: 177.6 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003626/1.431, allocations: 2.762 MB / 0.9238 GB, free: 176.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008641/1.432, allocations: 449 kB / 0.9242 GB, free: 176.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000229/1.432, allocations: 34.55 kB / 0.9242 GB, free: 176.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/1.433, allocations: 165 kB / 0.9244 GB, free: 176.1 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002529/1.434, allocations: 107.7 kB / 0.9245 GB, free: 176.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-05/1.434, allocations: 37.94 kB / 0.9245 GB, free: 176.1 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001551/1.435, allocations: 0.9724 MB / 0.9255 GB, free: 175.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.435, allocations: 1.062 kB / 0.9255 GB, free: 175.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004447/1.44, allocations: 1.125 MB / 0.9266 GB, free: 175.6 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002977/1.44, allocations: 145.5 kB / 0.9267 GB, free: 175.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006865/1.447, allocations: 4.244 MB / 0.9309 GB, free: 174.2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-05/1.447, allocations: 1.469 kB / 0.9309 GB, free: 174.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001247/1.448, allocations: 1.064 MB / 0.9319 GB, free: 173.9 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002461/1.451, allocations: 441 kB / 0.9323 GB, free: 173.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009524/1.46, allocations: 7.076 MB / 0.9392 GB, free: 170.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002333/1.463, allocations: 2.868 MB / 0.942 GB, free: 169.3 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002693/1.465, allocations: 1.207 MB / 0.9432 GB, free: 169.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004268/1.466, allocations: 122.1 kB / 0.9433 GB, free: 169.2 MB / 0.7325 GB Notification: Performance of SimCode: time 1.663e-06/1.466, allocations: 0 / 0.9433 GB, free: 169.2 MB / 0.7325 GB Notification: Performance of Templates: time 0.03606/1.502, allocations: 24.54 MB / 0.9673 GB, free: 146.8 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)