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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005386/0.005386, allocations: 102.1 kB / 15.73 MB, free: 6.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 198.3 kB / 16.67 MB, free: 6.355 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.78/1.78, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.667/1.667, allocations: 251.7 MB / 0.5094 GB, free: 3.113 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.001707/0.001707, allocations: 67.91 kB / 0.7258 GB, free: 9.043 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3035, allocations: 104.7 MB / 0.828 GB, free: 232 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02577/0.3293, allocations: 20.43 MB / 0.848 GB, free: 11.72 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01747/0.3468, allocations: 7.588 MB / 0.8554 GB, free: 4.113 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00301/0.3499, allocations: 59.81 kB / 0.8555 GB, free: 4.055 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004402/0.3544, allocations: 1.344 MB / 0.8568 GB, free: 2.707 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003349/0.3578, allocations: 0.9958 MB / 0.8577 GB, free: 1.707 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005304/0.3631, allocations: 1.985 MB / 0.8597 GB, free: 15.72 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00582/0.3689, allocations: 4.332 MB / 0.8639 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009155/0.3781, allocations: 6.161 MB / 0.8699 GB, free: 5.152 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003301/0.3814, allocations: 1.862 MB / 0.8718 GB, free: 3.285 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003894/0.3853, allocations: 2.197 MB / 0.8739 GB, free: 1.082 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001496/0.3869, allocations: 428 kB / 0.8743 GB, free: 0.6641 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002999/0.3899, allocations: 0.9128 MB / 0.8752 GB, free: 15.75 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.002575/0.3925, allocations: 1.653 MB / 0.8768 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.002542/0.395, allocations: 1.716 MB / 0.8785 GB, free: 12.37 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.007089/0.4021, allocations: 6.167 MB / 0.8845 GB, free: 6.188 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 9.859e-06/0.4022, allocations: 0 / 0.8845 GB, free: 6.188 MB / 0.7012 GB Notification: Performance of FrontEnd: time 3.376e-06/0.4022, allocations: 4 kB / 0.8845 GB, free: 6.184 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001403/0.4023, allocations: 0 / 0.8845 GB, free: 6.184 MB / 0.7012 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.006869/0.4092, allocations: 3.047 MB / 0.8875 GB, free: 3.074 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 6.86e-05/0.4093, allocations: 8.031 kB / 0.8875 GB, free: 3.066 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002991/0.4123, allocations: 0.6882 MB / 0.8882 GB, free: 2.375 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002904/0.4152, allocations: 1.567 MB / 0.8897 GB, free: 0.7617 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001688/0.4154, allocations: 218.2 kB / 0.8899 GB, free: 0.5469 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004476/0.4158, allocations: 284.3 kB / 0.8902 GB, free: 276 kB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008396/0.4242, allocations: 5.047 MB / 0.8951 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.111e-05/0.4244, allocations: 11.94 kB / 0.8951 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002958/0.4247, allocations: 124 kB / 0.8952 GB, free: 10.9 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002303/0.4249, allocations: 204.6 kB / 0.8954 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007181/0.4321, allocations: 4.184 MB / 0.8995 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6551/1.087, allocations: 22.85 MB / 0.9218 GB, free: 78.4 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003796/1.091, allocations: 1.721 MB / 0.9235 GB, free: 78.3 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002187/1.093, allocations: 1.139 MB / 0.9246 GB, free: 78.27 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001926/1.093, allocations: 104.6 kB / 0.9247 GB, free: 78.17 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.253e-05/1.094, allocations: 49.14 kB / 0.9248 GB, free: 78.13 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=84): time 3.547e-06/1.094, allocations: 0.9688 kB / 0.9248 GB, free: 78.13 MB / 0.7325 GB Notification: Performance of matching and sorting (n=87): time 0.007288/1.101, allocations: 3.988 MB / 0.9287 GB, free: 77.04 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.462e-05/1.101, allocations: 139.9 kB / 0.9288 GB, free: 76.88 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001506/1.102, allocations: 0.8524 MB / 0.9296 GB, free: 76.73 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001396/1.103, allocations: 44.5 kB / 0.9297 GB, free: 76.7 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009538/1.104, allocations: 1.158 MB / 0.9308 GB, free: 75.93 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003343/1.104, allocations: 310.8 kB / 0.9311 GB, free: 75.7 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006326/1.105, allocations: 269.9 kB / 0.9314 GB, free: 75.57 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002134/1.105, allocations: 406.3 kB / 0.9317 GB, free: 75.23 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001586/1.106, allocations: 0.8071 MB / 0.9325 GB, free: 74.95 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001684/1.108, allocations: 1.284 MB / 0.9338 GB, free: 74.08 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003029/1.111, allocations: 2.145 MB / 0.9359 GB, free: 72.93 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-05/1.111, allocations: 3.688 kB / 0.9359 GB, free: 72.93 MB / 0.7325 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003943/1.115, allocations: 2.177 MB / 0.938 GB, free: 72.11 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.386e-05/1.115, allocations: 12.91 kB / 0.938 GB, free: 72.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.474e-05/1.115, allocations: 13.5 kB / 0.938 GB, free: 72.11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.825e-05/1.115, allocations: 20.34 kB / 0.9381 GB, free: 72.11 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001613/1.117, allocations: 407.2 kB / 0.9384 GB, free: 72.08 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-05/1.117, allocations: 27.22 kB / 0.9385 GB, free: 72.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/1.118, allocations: 201.3 kB / 0.9387 GB, free: 72.03 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001443/1.119, allocations: 65.23 kB / 0.9387 GB, free: 72.02 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003324/1.122, allocations: 1.662 MB / 0.9403 GB, free: 71.38 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001455/1.123, allocations: 1.165 MB / 0.9415 GB, free: 70.5 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002555/1.126, allocations: 1.879 MB / 0.9433 GB, free: 69.34 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.254e-05/1.126, allocations: 4.094 kB / 0.9433 GB, free: 69.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003355/1.129, allocations: 1.886 MB / 0.9452 GB, free: 68.61 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/1.129, allocations: 12.41 kB / 0.9452 GB, free: 68.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.37e-05/1.129, allocations: 15.62 kB / 0.9452 GB, free: 68.61 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.926e-05/1.129, allocations: 21.28 kB / 0.9452 GB, free: 68.61 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/1.131, allocations: 359 kB / 0.9456 GB, free: 68.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-05/1.131, allocations: 37 kB / 0.9456 GB, free: 68.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/1.132, allocations: 160.8 kB / 0.9457 GB, free: 68.53 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/1.132, allocations: 65.14 kB / 0.9458 GB, free: 68.52 MB / 0.7325 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.0005029/1.133, allocations: 257.7 kB / 0.9461 GB, free: 68.28 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002785/1.133, allocations: 103.9 kB / 0.9462 GB, free: 68.22 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003551/1.137, allocations: 1.847 MB / 0.948 GB, free: 67.52 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.242e-05/1.137, allocations: 14.8 kB / 0.948 GB, free: 67.52 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/1.137, allocations: 1.188 kB / 0.948 GB, free: 67.52 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.66e-05/1.137, allocations: 8.953 kB / 0.948 GB, free: 67.52 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01628/1.153, allocations: 9.571 MB / 0.9573 GB, free: 63.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.571e-05/1.153, allocations: 10.91 kB / 0.9573 GB, free: 63.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001187/1.154, allocations: 319.8 kB / 0.9576 GB, free: 63.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.667e-05/1.154, allocations: 19.88 kB / 0.9577 GB, free: 63.65 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.617e-05/1.154, allocations: 29.02 kB / 0.9577 GB, free: 63.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.603e-05/1.154, allocations: 18.84 kB / 0.9577 GB, free: 63.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.76e-05/1.154, allocations: 17.66 kB / 0.9577 GB, free: 63.64 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003074/1.158, allocations: 2.408 MB / 0.9601 GB, free: 61.96 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007455/1.158, allocations: 377.7 kB / 0.9604 GB, free: 61.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000148/1.158, allocations: 31.53 kB / 0.9605 GB, free: 61.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008665/1.159, allocations: 138.7 kB / 0.9606 GB, free: 61.61 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/1.16, allocations: 87.36 kB / 0.9607 GB, free: 61.56 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.748e-05/1.16, allocations: 36.22 kB / 0.9607 GB, free: 61.55 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007699/1.16, allocations: 0.5928 MB / 0.9613 GB, free: 61.22 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/1.16, allocations: 0 / 0.9613 GB, free: 61.22 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003272/1.164, allocations: 0.7467 MB / 0.962 GB, free: 61.17 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 (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.0002755/1.164, allocations: 150.3 kB / 0.9622 GB, free: 61.04 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004427/1.168, allocations: 2.863 MB / 0.965 GB, free: 59.63 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-05/1.168, allocations: 3.469 kB / 0.965 GB, free: 59.63 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00128/1.17, allocations: 0.9073 MB / 0.9658 GB, free: 59.18 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00183/1.172, allocations: 311 kB / 0.9661 GB, free: 59.04 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008393/1.18, allocations: 4.975 MB / 0.971 GB, free: 55.98 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001645/1.182, allocations: 2.129 MB / 0.9731 GB, free: 53.82 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001724/1.183, allocations: 0.7304 MB / 0.9738 GB, free: 53.09 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003388/1.184, allocations: 83.42 kB / 0.9739 GB, free: 53.02 MB / 0.7325 GB Notification: Performance of SimCode: time 1.593e-06/1.184, allocations: 0 / 0.9739 GB, free: 53.02 MB / 0.7325 GB Notification: Performance of Templates: time 0.02622/1.21, allocations: 17.7 MB / 0.9912 GB, free: 35.51 MB / 0.7325 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)