Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.359/2.359, allocations: 391.2 MB / 407 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001905/0.001905, allocations: 199.4 kB / 499.1 MB, free: 4.672 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.649/1.649, allocations: 222.9 MB / 0.7948 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 99.64 kB / 0.9329 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00104/0.00104, allocations: 52.48 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2863, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads): time 0.004843/0.2912, allocations: 4.354 MB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.003523/0.2947, allocations: 2.68 MB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002285/0.295, allocations: 7.938 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.000892/0.2959, allocations: 350.6 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.000716/0.2967, allocations: 378.5 kB / 1.226 GB, free: 109.4 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009535/0.2976, allocations: 474.6 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0006897/0.2983, allocations: 1.017 MB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005001/0.2988, allocations: 367.8 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002404/0.2991, allocations: 239.1 kB / 1.228 GB, free: 107.3 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003833/0.2995, allocations: 358.7 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 5.293e-05/0.2995, allocations: 32 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004804/0.3, allocations: 391.1 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001618/0.3002, allocations: 183.5 kB / 1.229 GB, free: 106.4 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001848/0.3004, allocations: 250.6 kB / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0005587/0.301, allocations: 0.7534 MB / 1.23 GB, free: 105.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.301, allocations: 0 / 1.23 GB, free: 105.4 MB / 0.823 GB Notification: Performance of FrontEnd: time 6.91e-07/0.301, allocations: 0 / 1.23 GB, free: 105.4 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.301, allocations: 0 / 1.23 GB, free: 105.4 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.00127/0.3023, allocations: 0.834 MB / 1.23 GB, free: 104.5 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.3023, allocations: 11.98 kB / 1.23 GB, free: 104.5 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007733/0.3031, allocations: 148.1 kB / 1.231 GB, free: 104.3 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004088/0.3035, allocations: 367 kB / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/0.3035, allocations: 37.36 kB / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.114e-05/0.3036, allocations: 40.38 kB / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000984/0.3046, allocations: 0.8402 MB / 1.232 GB, free: 102.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.3046, allocations: 3.938 kB / 1.232 GB, free: 102.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.545e-05/0.3047, allocations: 19.98 kB / 1.232 GB, free: 102.9 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.751e-05/0.3048, allocations: 64.95 kB / 1.232 GB, free: 102.8 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.3058, allocations: 0.6672 MB / 1.233 GB, free: 102.2 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002804/0.3086, allocations: 4.5 MB / 1.237 GB, free: 97.34 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.3097, allocations: 0.5987 MB / 1.238 GB, free: 96.72 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004622/0.3101, allocations: 301.5 kB / 1.238 GB, free: 96.42 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.435e-05/0.3102, allocations: 7.984 kB / 1.238 GB, free: 96.41 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.3102, allocations: 42.42 kB / 1.238 GB, free: 96.36 MB / 0.823 GB Notification: Performance of pre-optimization done (n=38): time 2.024e-06/0.3102, allocations: 4 kB / 1.238 GB, free: 96.36 MB / 0.823 GB Notification: Performance of matching and sorting (n=39): time 0.001648/0.3119, allocations: 0.9433 MB / 1.239 GB, free: 95.4 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.3119, allocations: 85.3 kB / 1.239 GB, free: 95.3 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002467/0.3122, allocations: 353.5 kB / 1.239 GB, free: 94.95 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.533e-05/0.3122, allocations: 29.7 kB / 1.239 GB, free: 94.91 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.3123, allocations: 287.8 kB / 1.24 GB, free: 94.62 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 7.289e-05/0.3124, allocations: 145.9 kB / 1.24 GB, free: 94.48 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.3125, allocations: 102.2 kB / 1.24 GB, free: 94.38 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.078e-05/0.3126, allocations: 354.7 kB / 1.24 GB, free: 94.02 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004413/0.3131, allocations: 274.9 kB / 1.24 GB, free: 93.75 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005196/0.3136, allocations: 484 kB / 1.241 GB, free: 93.18 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009702/0.3146, allocations: 0.7742 MB / 1.242 GB, free: 92.31 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3146, allocations: 0 / 1.242 GB, free: 92.31 MB / 0.823 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001166/0.3157, allocations: 0.8009 MB / 1.242 GB, free: 91.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.3158, allocations: 8.781 kB / 1.242 GB, free: 91.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.3158, allocations: 4 kB / 1.242 GB, free: 91.49 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.3158, allocations: 12 kB / 1.242 GB, free: 91.48 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006525/0.3165, allocations: 167.7 kB / 1.243 GB, free: 91.32 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/0.3165, allocations: 15.98 kB / 1.243 GB, free: 91.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004203/0.3169, allocations: 71.97 kB / 1.243 GB, free: 91.23 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.944e-05/0.317, allocations: 35.86 kB / 1.243 GB, free: 91.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004903/0.3175, allocations: 365 kB / 1.243 GB, free: 90.84 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004427/0.3179, allocations: 431.7 kB / 1.243 GB, free: 90.3 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008178/0.3188, allocations: 0.6912 MB / 1.244 GB, free: 89.52 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.667e-06/0.3188, allocations: 3.938 kB / 1.244 GB, free: 89.51 MB / 0.823 GB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.001022/0.3198, allocations: 0.6891 MB / 1.245 GB, free: 88.82 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.3198, allocations: 8.875 kB / 1.245 GB, free: 88.81 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3198, allocations: 8 kB / 1.245 GB, free: 88.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.685e-06/0.3198, allocations: 16 kB / 1.245 GB, free: 88.79 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005448/0.3204, allocations: 147.8 kB / 1.245 GB, free: 88.64 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.3204, allocations: 19.92 kB / 1.245 GB, free: 88.62 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003497/0.3208, allocations: 59.7 kB / 1.245 GB, free: 88.56 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.097e-05/0.3208, allocations: 24 kB / 1.245 GB, free: 88.54 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (68): * Single equations (assignments): 68 * 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.000135/0.3209, allocations: 224.7 kB / 1.245 GB, free: 88.31 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.459e-05/0.321, allocations: 47.52 kB / 1.245 GB, free: 88.27 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001132/0.3222, allocations: 0.6437 MB / 1.246 GB, free: 87.62 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.3222, allocations: 8.047 kB / 1.246 GB, free: 87.61 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.3222, allocations: 3.984 kB / 1.246 GB, free: 87.61 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.79e-06/0.3222, allocations: 7.984 kB / 1.246 GB, free: 87.6 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001861/0.3241, allocations: 1.439 MB / 1.247 GB, free: 86.09 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.3241, allocations: 8 kB / 1.247 GB, free: 86.08 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006649/0.3248, allocations: 143.8 kB / 1.247 GB, free: 85.94 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.3248, allocations: 4 kB / 1.247 GB, free: 85.93 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.909e-05/0.3248, allocations: 16.16 kB / 1.248 GB, free: 85.92 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.3248, allocations: 4 kB / 1.248 GB, free: 85.91 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3248, allocations: 3.938 kB / 1.248 GB, free: 85.91 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001547/0.3264, allocations: 1.74 MB / 1.249 GB, free: 84.09 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001905/0.3266, allocations: 180.3 kB / 1.249 GB, free: 83.9 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.11e-05/0.3266, allocations: 8 kB / 1.249 GB, free: 83.89 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003863/0.327, allocations: 51.92 kB / 1.249 GB, free: 83.84 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.401e-05/0.3271, allocations: 35.89 kB / 1.249 GB, free: 83.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.968e-05/0.3272, allocations: 15.94 kB / 1.249 GB, free: 83.79 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001841/0.3274, allocations: 259.1 kB / 1.25 GB, free: 83.54 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3274, allocations: 0 / 1.25 GB, free: 83.54 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0009161/0.3283, allocations: 196 kB / 1.25 GB, free: 83.34 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (42): * Single equations (assignments): 42 * 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.0001263/0.3284, allocations: 112 kB / 1.25 GB, free: 83.23 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001508/0.3299, allocations: 0.9669 MB / 1.251 GB, free: 82.26 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.33, allocations: 0 / 1.251 GB, free: 82.26 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004666/0.3304, allocations: 300.6 kB / 1.251 GB, free: 81.97 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007231/0.3312, allocations: 119.3 kB / 1.251 GB, free: 81.86 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.3328, allocations: 1.509 MB / 1.253 GB, free: 80.29 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.3331, allocations: 0.8875 MB / 1.254 GB, free: 79.38 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0005186/0.3336, allocations: 208.3 kB / 1.254 GB, free: 79.17 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/0.3338, allocations: 39.42 kB / 1.254 GB, free: 79.13 MB / 0.823 GB Notification: Performance of SimCode: time 4.91e-07/0.3338, allocations: 0 / 1.254 GB, free: 79.13 MB / 0.823 GB Notification: Performance of Templates: time 0.008851/0.3426, allocations: 6.444 MB / 1.26 GB, free: 72.75 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe 2>&1)