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.881/1.881, allocations: 288.4 MB / 303.4 MB, free: 8.188 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.001042/0.001042, allocations: 180.5 kB / 372 MB, free: 10.29 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.68/1.68, allocations: 205.4 MB / 0.6307 GB, free: 10.01 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.0008368/0.000837, allocations: 94.22 kB / 0.7441 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004285/0.0004285, allocations: 15.81 kB / 0.867 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2676, allocations: 115.3 MB / 0.9796 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.01816/0.2858, allocations: 18.52 MB / 0.9977 GB, free: 9.117 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01166/0.2975, allocations: 7.174 MB / 1.005 GB, free: 1.926 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002384/0.3, allocations: 51.81 kB / 1.005 GB, free: 1.875 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001547/0.3016, allocations: 365.2 kB / 1.005 GB, free: 1.516 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002817/0.3044, allocations: 0.743 MB / 1.006 GB, free: 0.7695 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003613/0.308, allocations: 1.013 MB / 1.007 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.006575/0.3146, allocations: 4.931 MB / 1.012 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01165/0.3263, allocations: 6.56 MB / 1.018 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002885/0.3292, allocations: 1.269 MB / 1.019 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003793/0.3331, allocations: 1.838 MB / 1.021 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001109/0.3342, allocations: 176 kB / 1.021 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00234/0.3366, allocations: 423.6 kB / 1.022 GB, free: 492 kB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.002809/0.3394, allocations: 1.333 MB / 1.023 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001861/0.3413, allocations: 0.555 MB / 1.023 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.007159/0.3485, allocations: 5.139 MB / 1.028 GB, free: 9.43 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.054e-05/0.3485, allocations: 0 / 1.028 GB, free: 9.43 MB / 0.6511 GB Notification: Performance of FrontEnd: time 4.308e-06/0.3485, allocations: 7.938 kB / 1.028 GB, free: 9.422 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002732/0.3488, allocations: 0 / 1.028 GB, free: 9.422 MB / 0.6511 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.007842/0.3566, allocations: 2.466 MB / 1.031 GB, free: 6.895 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.3567, allocations: 12.03 kB / 1.031 GB, free: 6.883 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003866/0.3606, allocations: 0.6873 MB / 1.032 GB, free: 6.191 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003835/0.3644, allocations: 1.515 MB / 1.033 GB, free: 4.633 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002435/0.3647, allocations: 213.8 kB / 1.033 GB, free: 4.422 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001125/0.3658, allocations: 292 kB / 1.034 GB, free: 4.137 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009961/0.3758, allocations: 5.027 MB / 1.038 GB, free: 14.92 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.056e-05/0.3759, allocations: 15.94 kB / 1.038 GB, free: 14.9 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003146/0.3763, allocations: 120 kB / 1.039 GB, free: 14.79 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000265/0.3765, allocations: 208.6 kB / 1.039 GB, free: 14.58 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007577/0.3841, allocations: 4.161 MB / 1.043 GB, free: 10.4 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03116/0.4153, allocations: 23.02 MB / 1.065 GB, free: 1.242 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5214/0.9367, allocations: 1.708 MB / 1.067 GB, free: 84.53 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00211/0.9389, allocations: 1.123 MB / 1.068 GB, free: 84.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002333/0.9391, allocations: 100.3 kB / 1.068 GB, free: 84.41 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.99e-05/0.9392, allocations: 43.55 kB / 1.068 GB, free: 84.37 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=84): time 3.888e-06/0.9392, allocations: 1.375 kB / 1.068 GB, free: 84.37 MB / 0.6823 GB Notification: Performance of matching and sorting (n=87): time 0.007438/0.9467, allocations: 4.003 MB / 1.072 GB, free: 82.63 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.48e-05/0.9468, allocations: 144 kB / 1.072 GB, free: 82.47 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001351/0.9481, allocations: 0.8424 MB / 1.073 GB, free: 82.11 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.839e-05/0.9482, allocations: 41.83 kB / 1.073 GB, free: 82.07 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006968/0.9489, allocations: 1.162 MB / 1.074 GB, free: 81.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002816/0.9492, allocations: 310.8 kB / 1.075 GB, free: 80.96 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.279e-05/0.9493, allocations: 25.03 kB / 1.075 GB, free: 80.95 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.9495, allocations: 406 kB / 1.075 GB, free: 80.59 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00135/0.9508, allocations: 0.7929 MB / 1.076 GB, free: 80.33 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001681/0.9525, allocations: 1.29 MB / 1.077 GB, free: 79.45 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001664/0.9542, allocations: 1.002 MB / 1.078 GB, free: 79.08 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.217e-05/0.9542, allocations: 4.781 kB / 1.078 GB, free: 79.08 MB / 0.6823 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003991/0.9582, allocations: 2.168 MB / 1.08 GB, free: 78.26 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002909/0.9585, allocations: 0.5012 MB / 1.081 GB, free: 77.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.271e-05/0.9585, allocations: 17.5 kB / 1.081 GB, free: 77.59 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.59e-05/0.9586, allocations: 23.03 kB / 1.081 GB, free: 77.59 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001772/0.9604, allocations: 405.8 kB / 1.081 GB, free: 77.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.514e-05/0.9604, allocations: 31.95 kB / 1.081 GB, free: 77.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/0.9618, allocations: 202.9 kB / 1.081 GB, free: 77.51 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/0.9619, allocations: 63.88 kB / 1.081 GB, free: 77.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.962, allocations: 7.328 kB / 1.081 GB, free: 77.5 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002773/0.9647, allocations: 1.759 MB / 1.083 GB, free: 76.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.096e-05/0.9648, allocations: 15.5 kB / 1.083 GB, free: 76.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.593e-05/0.9648, allocations: 22.56 kB / 1.083 GB, free: 76.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/0.9661, allocations: 358.1 kB / 1.083 GB, free: 76.81 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-05/0.9662, allocations: 32.14 kB / 1.083 GB, free: 76.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/0.9672, allocations: 149.2 kB / 1.084 GB, free: 76.76 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.963e-05/0.9673, allocations: 63.41 kB / 1.084 GB, free: 76.75 MB / 0.6823 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.002366/0.9697, allocations: 1.17 MB / 1.085 GB, free: 76.18 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003598/0.97, allocations: 100 kB / 1.085 GB, free: 76.12 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002988/0.973, allocations: 1.855 MB / 1.087 GB, free: 75.43 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/0.973, allocations: 9.812 kB / 1.087 GB, free: 75.43 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/0.9731, allocations: 3.953 kB / 1.087 GB, free: 75.42 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/0.9731, allocations: 10.73 kB / 1.087 GB, free: 75.42 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01462/0.9877, allocations: 9.582 MB / 1.096 GB, free: 71.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.49e-05/0.9878, allocations: 11 kB / 1.096 GB, free: 71.59 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001201/0.989, allocations: 318.6 kB / 1.096 GB, free: 71.56 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.826e-05/0.989, allocations: 19.75 kB / 1.096 GB, free: 71.56 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.951e-05/0.9891, allocations: 23.66 kB / 1.096 GB, free: 71.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.469e-05/0.9891, allocations: 27.55 kB / 1.096 GB, free: 71.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.235e-06/0.9891, allocations: 15.81 kB / 1.096 GB, free: 71.54 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002387/0.9915, allocations: 2.404 MB / 1.099 GB, free: 70.14 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006308/0.9922, allocations: 389.2 kB / 1.099 GB, free: 69.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/0.9923, allocations: 32.75 kB / 1.099 GB, free: 69.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008776/0.9932, allocations: 140.6 kB / 1.099 GB, free: 69.88 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.9934, allocations: 89.94 kB / 1.099 GB, free: 69.84 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.768e-05/0.9934, allocations: 35.72 kB / 1.099 GB, free: 69.84 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008181/0.9943, allocations: 0.5857 MB / 1.1 GB, free: 69.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9943, allocations: 0 / 1.1 GB, free: 69.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003514/0.9978, allocations: 0.7528 MB / 1.101 GB, free: 69.54 MB / 0.6823 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 (90): * Single equations (assignments): 90 * 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.0002479/0.9981, allocations: 144 kB / 1.101 GB, free: 69.43 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004428/1.002, allocations: 2.823 MB / 1.104 GB, free: 68.21 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/1.003, allocations: 1.312 kB / 1.104 GB, free: 68.21 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001309/1.004, allocations: 0.9152 MB / 1.105 GB, free: 67.75 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001848/1.006, allocations: 268.3 kB / 1.105 GB, free: 67.63 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008898/1.015, allocations: 6.015 MB / 1.111 GB, free: 63.68 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001904/1.017, allocations: 2.126 MB / 1.113 GB, free: 62.26 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002017/1.019, allocations: 0.7443 MB / 1.114 GB, free: 61.96 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000366/1.019, allocations: 81.42 kB / 1.114 GB, free: 61.95 MB / 0.6823 GB Notification: Performance of SimCode: time 1.213e-06/1.019, allocations: 1.375 kB / 1.114 GB, free: 61.95 MB / 0.6823 GB Notification: Performance of Templates: time 0.02378/1.043, allocations: 16.14 MB / 1.129 GB, free: 49.66 MB / 0.6823 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)