Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 109.2 kB / 15.99 MB, free: 6.359 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.002073/0.002073, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.401/1.401, allocations: 205.1 MB / 222.8 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.652/1.652, allocations: 292.3 MB / 0.5492 GB, free: 13.65 MB / 462.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.001357/0.001357, allocations: 70.22 kB / 0.6717 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.1997, allocations: 114.5 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01238/0.2122, allocations: 11.02 MB / 0.7943 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008407/0.2206, allocations: 5.794 MB / 0.7999 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001166/0.2218, allocations: 47.62 kB / 0.8 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004082/0.226, allocations: 1.63 MB / 0.8016 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003326/0.2293, allocations: 1.046 MB / 0.8026 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00213/0.2315, allocations: 0.7358 MB / 0.8033 GB, free: 9.543 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002795/0.2343, allocations: 2.131 MB / 0.8054 GB, free: 7.406 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002087/0.2364, allocations: 1.497 MB / 0.8069 GB, free: 5.887 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001385/0.2378, allocations: 0.8522 MB / 0.8077 GB, free: 5.031 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001242/0.239, allocations: 0.9455 MB / 0.8086 GB, free: 4.082 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001914/0.2392, allocations: 116 kB / 0.8087 GB, free: 3.969 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001995/0.2412, allocations: 1.173 MB / 0.8099 GB, free: 2.793 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005315/0.2418, allocations: 0.5259 MB / 0.8104 GB, free: 2.266 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008465/0.2427, allocations: 0.7888 MB / 0.8112 GB, free: 1.473 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002621/0.2453, allocations: 1.882 MB / 0.813 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.2453, allocations: 0 / 0.813 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2453, allocations: 0 / 0.813 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.191e-05/0.2454, allocations: 0 / 0.813 GB, free: 15.59 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.003056/0.2484, allocations: 1.871 MB / 0.8148 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.2485, allocations: 8.031 kB / 0.8148 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00434/0.2528, allocations: 0.666 MB / 0.8155 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/0.2544, allocations: 0.9184 MB / 0.8164 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.849e-05/0.2545, allocations: 94.89 kB / 0.8165 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000214/0.2547, allocations: 124.3 kB / 0.8166 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003088/0.2578, allocations: 2.206 MB / 0.8187 GB, free: 9.367 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.336e-05/0.2579, allocations: 11.88 kB / 0.8188 GB, free: 9.355 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001399/0.258, allocations: 67.91 kB / 0.8188 GB, free: 9.289 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002079/0.2582, allocations: 162.3 kB / 0.819 GB, free: 9.129 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002936/0.2612, allocations: 1.867 MB / 0.8208 GB, free: 7.254 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01238/0.2736, allocations: 12.48 MB / 0.833 GB, free: 9.832 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004233/0.2779, allocations: 1.98 MB / 0.8349 GB, free: 7.836 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008848/0.2788, allocations: 0.605 MB / 0.8355 GB, free: 7.23 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001981/0.279, allocations: 98.09 kB / 0.8356 GB, free: 7.113 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.279, allocations: 43.5 kB / 0.8356 GB, free: 7.062 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=103): time 2.905e-06/0.279, allocations: 0 / 0.8356 GB, free: 7.062 MB / 0.6544 GB Notification: Performance of matching and sorting (n=110): time 0.006239/0.2853, allocations: 3.714 MB / 0.8393 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.2854, allocations: 60.41 kB / 0.8393 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.2865, allocations: 0.9242 MB / 0.8402 GB, free: 2.172 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.513e-05/0.2866, allocations: 45.7 kB / 0.8403 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004792/0.2871, allocations: 0.7236 MB / 0.841 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003065/0.2874, allocations: 386.5 kB / 0.8414 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003841/0.2878, allocations: 283.2 kB / 0.8416 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.2879, allocations: 305.1 kB / 0.8419 GB, free: 428 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008756/0.2888, allocations: 0.6167 MB / 0.8425 GB, free: 15.8 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001182/0.29, allocations: 1.109 MB / 0.8436 GB, free: 14.47 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002137/0.2921, allocations: 1.839 MB / 0.8454 GB, free: 12.41 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/0.2922, allocations: 4 kB / 0.8454 GB, free: 12.41 MB / 0.67 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003352/0.2955, allocations: 2.096 MB / 0.8474 GB, free: 10.29 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/0.2956, allocations: 8 kB / 0.8475 GB, free: 10.28 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/0.2956, allocations: 16 kB / 0.8475 GB, free: 10.26 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007777/0.2964, allocations: 267.2 kB / 0.8477 GB, free: 9.977 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.2976, allocations: 371.4 kB / 0.8481 GB, free: 9.613 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008718/0.3063, allocations: 11.59 MB / 0.8594 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/0.3077, allocations: 128 kB / 0.8595 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/0.3078, allocations: 75.92 kB / 0.8596 GB, free: 12.71 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006516/0.3085, allocations: 401.9 kB / 0.86 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002078/0.3087, allocations: 134.5 kB / 0.8601 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002791/0.3115, allocations: 1.673 MB / 0.8617 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.3115, allocations: 12 kB / 0.8617 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.3115, allocations: 0 / 0.8617 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.514e-05/0.3116, allocations: 11.97 kB / 0.8618 GB, free: 10.44 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005024/0.3166, allocations: 3.283 MB / 0.865 GB, free: 7.012 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.331e-05/0.3167, allocations: 4.688 kB / 0.865 GB, free: 7.008 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/0.3177, allocations: 231.6 kB / 0.8652 GB, free: 6.781 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007198/0.3185, allocations: 246.6 kB / 0.8654 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.188e-05/0.3186, allocations: 35.88 kB / 0.8655 GB, free: 6.48 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00857/0.3271, allocations: 11.58 MB / 0.8768 GB, free: 9.777 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.3272, allocations: 8 kB / 0.8768 GB, free: 9.77 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002739/0.3299, allocations: 1.796 MB / 0.8785 GB, free: 7.863 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004895/0.3304, allocations: 303.4 kB / 0.8788 GB, free: 7.547 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001483/0.3306, allocations: 28 kB / 0.8788 GB, free: 7.52 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006708/0.3313, allocations: 91.86 kB / 0.8789 GB, free: 7.43 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002041/0.3315, allocations: 104.6 kB / 0.879 GB, free: 7.328 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-05/0.3316, allocations: 36 kB / 0.8791 GB, free: 7.293 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0007447/0.3323, allocations: 0.6216 MB / 0.8797 GB, free: 6.664 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3323, allocations: 0 / 0.8797 GB, free: 6.664 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001404/0.3337, allocations: 392 kB / 0.88 GB, free: 6.281 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002641/0.334, allocations: 146 kB / 0.8802 GB, free: 6.133 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.00434/0.3383, allocations: 2.875 MB / 0.883 GB, free: 3.156 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/0.3384, allocations: 0 / 0.883 GB, free: 3.156 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002076/0.3404, allocations: 1.637 MB / 0.8846 GB, free: 1.422 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/0.3421, allocations: 356.8 kB / 0.8849 GB, free: 1.082 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004562/0.3467, allocations: 3.481 MB / 0.8883 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008891/0.3476, allocations: 1.331 MB / 0.8896 GB, free: 12.13 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004161/0.348, allocations: 107.4 kB / 0.8897 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of SimCode: time 5.51e-07/0.348, allocations: 0 / 0.8897 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of Templates: time 0.4108/0.7588, allocations: 59.16 MB / 0.9475 GB, free: 117.9 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)