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_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.418/1.418, allocations: 252 MB / 268 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001024/0.001024, allocations: 173.6 kB / 327.6 MB, free: 2.09 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.458/1.458, allocations: 205.4 MB / 0.5786 GB, free: 20.14 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000734/0.000734, allocations: 97.78 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003152/0.0003152, allocations: 10.66 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1865, allocations: 106.3 MB / 0.9015 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.01538/0.2019, allocations: 19.65 MB / 0.9207 GB, free: 43.76 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.009213/0.2112, allocations: 7.531 MB / 0.928 GB, free: 36.21 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001279/0.2125, allocations: 47.81 kB / 0.9281 GB, free: 36.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007374/0.2133, allocations: 369.3 kB / 0.9284 GB, free: 35.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001761/0.215, allocations: 0.9225 MB / 0.9293 GB, free: 34.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002468/0.2175, allocations: 1.319 MB / 0.9306 GB, free: 33.56 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004222/0.2217, allocations: 6.445 MB / 0.9369 GB, free: 27.1 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007864/0.2296, allocations: 7.511 MB / 0.9442 GB, free: 19.48 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001825/0.2315, allocations: 1.3 MB / 0.9455 GB, free: 18.18 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002117/0.2336, allocations: 1.877 MB / 0.9473 GB, free: 16.3 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0003316/0.234, allocations: 176 kB / 0.9475 GB, free: 16.12 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001327/0.2353, allocations: 0.8267 MB / 0.9483 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0009039/0.2362, allocations: 1.337 MB / 0.9496 GB, free: 13.96 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001052/0.2373, allocations: 1.37 MB / 0.9509 GB, free: 12.57 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003089/0.2404, allocations: 5.166 MB / 0.956 GB, free: 7.395 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.2404, allocations: 0 / 0.956 GB, free: 7.395 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2404, allocations: 0 / 0.956 GB, free: 7.395 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.924e-05/0.2405, allocations: 0 / 0.956 GB, free: 7.395 MB / 0.6042 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.003759/0.2443, allocations: 2.44 MB / 0.9584 GB, free: 4.895 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.2443, allocations: 8.031 kB / 0.9584 GB, free: 4.887 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002611/0.2469, allocations: 0.6883 MB / 0.959 GB, free: 4.195 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002062/0.249, allocations: 1.532 MB / 0.9605 GB, free: 2.621 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/0.2491, allocations: 218.2 kB / 0.9608 GB, free: 2.406 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003735/0.2495, allocations: 288.3 kB / 0.961 GB, free: 2.125 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007579/0.2571, allocations: 5.059 MB / 0.966 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.037e-05/0.2572, allocations: 7.938 kB / 0.966 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003094/0.2575, allocations: 120 kB / 0.9661 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002399/0.2577, allocations: 204.6 kB / 0.9663 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007159/0.2649, allocations: 4.189 MB / 0.9704 GB, free: 8.348 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02471/0.2897, allocations: 23.03 MB / 0.9929 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002767/0.2925, allocations: 1.719 MB / 0.9945 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001534/0.294, allocations: 1.133 MB / 0.9957 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001529/0.2942, allocations: 101.7 kB / 0.9957 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.618e-05/0.2943, allocations: 47.16 kB / 0.9958 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=84): time 3.386e-06/0.2943, allocations: 0 / 0.9958 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of matching and sorting (n=87): time 0.005723/0.3, allocations: 4.005 MB / 0.9997 GB, free: 8.055 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.608e-05/0.3001, allocations: 137.2 kB / 0.9998 GB, free: 7.891 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.3011, allocations: 0.8525 MB / 1.001 GB, free: 7.031 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.232e-05/0.3012, allocations: 45.64 kB / 1.001 GB, free: 6.98 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007007/0.302, allocations: 1.166 MB / 1.002 GB, free: 5.797 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002823/0.3022, allocations: 311.6 kB / 1.002 GB, free: 5.488 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.884e-05/0.3023, allocations: 24 kB / 1.002 GB, free: 5.465 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.3025, allocations: 410.7 kB / 1.003 GB, free: 5.055 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001156/0.3037, allocations: 0.7989 MB / 1.003 GB, free: 4.254 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/0.3052, allocations: 1.299 MB / 1.005 GB, free: 2.734 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002817/0.3081, allocations: 2.147 MB / 1.007 GB, free: 400 kB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.3081, allocations: 4 kB / 1.007 GB, free: 396 kB / 0.6511 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003367/0.3115, allocations: 2.175 MB / 1.009 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.000318/0.3118, allocations: 0.499 MB / 1.009 GB, free: 13.51 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/0.3118, allocations: 16 kB / 1.009 GB, free: 13.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.358e-05/0.3119, allocations: 23.98 kB / 1.009 GB, free: 13.47 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00155/0.3134, allocations: 411.3 kB / 1.01 GB, free: 13.07 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.009e-05/0.3135, allocations: 31.86 kB / 1.01 GB, free: 13.04 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/0.3146, allocations: 203.2 kB / 1.01 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/0.3147, allocations: 59.98 kB / 1.01 GB, free: 12.78 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.037e-06/0.3148, allocations: 4 kB / 1.01 GB, free: 12.78 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002453/0.3172, allocations: 1.769 MB / 1.012 GB, free: 11.01 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.058e-05/0.3173, allocations: 16 kB / 1.012 GB, free: 10.99 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.3173, allocations: 20 kB / 1.012 GB, free: 10.97 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/0.3185, allocations: 359.4 kB / 1.012 GB, free: 10.62 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.501e-05/0.3186, allocations: 31.86 kB / 1.012 GB, free: 10.59 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009043/0.3195, allocations: 155.3 kB / 1.012 GB, free: 10.44 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.195e-05/0.3196, allocations: 59.98 kB / 1.012 GB, free: 10.38 MB / 0.6667 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001893/0.3215, allocations: 1.176 MB / 1.014 GB, free: 9.191 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002545/0.3217, allocations: 98.78 kB / 1.014 GB, free: 9.094 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002765/0.3245, allocations: 1.854 MB / 1.015 GB, free: 7.223 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.3245, allocations: 8 kB / 1.015 GB, free: 7.215 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.3245, allocations: 4 kB / 1.015 GB, free: 7.211 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/0.3246, allocations: 3.984 kB / 1.015 GB, free: 7.207 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0124/0.337, allocations: 9.588 MB / 1.025 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.428e-05/0.337, allocations: 13 kB / 1.025 GB, free: 13.35 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001258/0.3383, allocations: 319.4 kB / 1.025 GB, free: 13.04 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-05/0.3383, allocations: 16 kB / 1.025 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.76e-05/0.3384, allocations: 28 kB / 1.025 GB, free: 13 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.022e-05/0.3384, allocations: 24.02 kB / 1.025 GB, free: 12.97 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.137e-05/0.3384, allocations: 23.81 kB / 1.025 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002802/0.3413, allocations: 2.41 MB / 1.028 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006162/0.3419, allocations: 387.5 kB / 1.028 GB, free: 9.984 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000139/0.342, allocations: 27.98 kB / 1.028 GB, free: 9.957 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008873/0.3429, allocations: 139.8 kB / 1.028 GB, free: 9.82 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001908/0.3431, allocations: 91.61 kB / 1.028 GB, free: 9.73 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-05/0.3432, allocations: 40 kB / 1.028 GB, free: 9.691 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007468/0.344, allocations: 0.5927 MB / 1.029 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.71e-07/0.344, allocations: 0 / 1.029 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002286/0.3463, allocations: 0.7422 MB / 1.03 GB, free: 8.363 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 (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.0002635/0.3465, allocations: 154.9 kB / 1.03 GB, free: 8.203 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004054/0.3506, allocations: 2.834 MB / 1.032 GB, free: 5.375 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/0.3506, allocations: 0 / 1.032 GB, free: 5.375 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001239/0.3519, allocations: 0.9198 MB / 1.033 GB, free: 4.457 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002867/0.3548, allocations: 288.9 kB / 1.034 GB, free: 4.176 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0095/0.3643, allocations: 6.683 MB / 1.04 GB, free: 13.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002169/0.3665, allocations: 2.195 MB / 1.042 GB, free: 11.07 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006005/0.3671, allocations: 91.42 kB / 1.042 GB, free: 10.98 MB / 0.698 GB Notification: Performance of SimCode: time 7.21e-07/0.3671, allocations: 0 / 1.042 GB, free: 10.98 MB / 0.698 GB Notification: Performance of Templates: time 0.3765/0.7436, allocations: 27.4 MB / 1.069 GB, free: 136 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)