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.001222/0.001222, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 195.4 kB / 16.53 MB, free: 6.664 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.438/1.438, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.78/1.78, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001494/0.001494, allocations: 71.7 kB / 0.6715 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2811, allocations: 114.5 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01332/0.2945, allocations: 11.06 MB / 0.7942 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009971/0.3045, allocations: 5.832 MB / 0.7999 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001653/0.3062, allocations: 47.69 kB / 0.7999 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004202/0.3105, allocations: 1.733 MB / 0.8016 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003834/0.3143, allocations: 1.147 MB / 0.8027 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002715/0.3171, allocations: 0.8174 MB / 0.8035 GB, free: 8.793 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003547/0.3206, allocations: 2.115 MB / 0.8056 GB, free: 6.672 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002126/0.3228, allocations: 1.307 MB / 0.8069 GB, free: 5.34 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00175/0.3245, allocations: 0.8485 MB / 0.8077 GB, free: 4.488 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002144/0.3267, allocations: 0.9104 MB / 0.8086 GB, free: 3.574 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000634/0.3273, allocations: 112 kB / 0.8087 GB, free: 3.465 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004105/0.3315, allocations: 1.181 MB / 0.8098 GB, free: 2.281 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001235/0.3327, allocations: 0.522 MB / 0.8103 GB, free: 1.758 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001968/0.3347, allocations: 0.7888 MB / 0.8111 GB, free: 0.9648 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.006345/0.3411, allocations: 2.391 MB / 0.8135 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.141e-05/0.3411, allocations: 4 kB / 0.8135 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.056e-06/0.3411, allocations: 0 / 0.8135 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001448/0.3413, allocations: 0 / 0.8135 GB, free: 14.56 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.005476/0.3468, allocations: 1.86 MB / 0.8153 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.3468, allocations: 8.031 kB / 0.8153 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005151/0.352, allocations: 0.6699 MB / 0.8159 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001918/0.3539, allocations: 0.9145 MB / 0.8168 GB, free: 11 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.445e-05/0.354, allocations: 94.91 kB / 0.8169 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002039/0.3542, allocations: 124.3 kB / 0.817 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003659/0.3579, allocations: 2.218 MB / 0.8192 GB, free: 8.344 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.177e-05/0.358, allocations: 11.94 kB / 0.8192 GB, free: 8.332 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001655/0.3582, allocations: 55.98 kB / 0.8193 GB, free: 8.277 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002715/0.3584, allocations: 162.3 kB / 0.8194 GB, free: 8.117 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0029/0.3614, allocations: 1.867 MB / 0.8212 GB, free: 6.242 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01211/0.3735, allocations: 12.48 MB / 0.8334 GB, free: 8.82 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004125/0.3776, allocations: 1.978 MB / 0.8354 GB, free: 6.832 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008146/0.3785, allocations: 0.6128 MB / 0.836 GB, free: 6.215 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001703/0.3787, allocations: 102.1 kB / 0.8361 GB, free: 6.094 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.3787, allocations: 47.5 kB / 0.8361 GB, free: 6.039 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=103): time 3.076e-06/0.3787, allocations: 0 / 0.8361 GB, free: 6.039 MB / 0.6544 GB Notification: Performance of matching and sorting (n=110): time 0.006051/0.3848, allocations: 3.706 MB / 0.8397 GB, free: 2.172 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.002e-05/0.3849, allocations: 64.41 kB / 0.8398 GB, free: 2.098 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/0.386, allocations: 0.9281 MB / 0.8407 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.984e-05/0.3861, allocations: 41.7 kB / 0.8407 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004577/0.3865, allocations: 0.7237 MB / 0.8414 GB, free: 380 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003117/0.3868, allocations: 390.6 kB / 0.8418 GB, free: 15.98 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003812/0.3872, allocations: 287.2 kB / 0.8421 GB, free: 15.69 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.559e-05/0.3873, allocations: 301.1 kB / 0.8424 GB, free: 15.39 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000868/0.3882, allocations: 0.6129 MB / 0.843 GB, free: 14.78 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001241/0.3895, allocations: 1.106 MB / 0.844 GB, free: 13.46 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002452/0.3919, allocations: 1.835 MB / 0.8458 GB, free: 11.41 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-06/0.3919, allocations: 4 kB / 0.8458 GB, free: 11.4 MB / 0.67 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003707/0.3957, allocations: 2.1 MB / 0.8479 GB, free: 9.27 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.116e-05/0.3957, allocations: 12.94 kB / 0.8479 GB, free: 9.258 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.442e-05/0.3957, allocations: 16 kB / 0.8479 GB, free: 9.242 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008324/0.3966, allocations: 263.3 kB / 0.8482 GB, free: 8.961 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/0.3979, allocations: 375.4 kB / 0.8485 GB, free: 8.594 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01065/0.4085, allocations: 11.59 MB / 0.8598 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001775/0.4103, allocations: 123.8 kB / 0.86 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/0.4105, allocations: 79.91 kB / 0.86 GB, free: 11.69 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.0008471/0.4113, allocations: 401.9 kB / 0.8604 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002208/0.4116, allocations: 130.5 kB / 0.8605 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002804/0.4144, allocations: 1.677 MB / 0.8622 GB, free: 9.449 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.4144, allocations: 12 kB / 0.8622 GB, free: 9.438 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.651e-05/0.4144, allocations: 8 kB / 0.8622 GB, free: 9.43 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.59e-05/0.4145, allocations: 7.969 kB / 0.8622 GB, free: 9.422 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00538/0.4198, allocations: 3.292 MB / 0.8654 GB, free: 5.988 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.214e-05/0.4199, allocations: 12.09 kB / 0.8654 GB, free: 5.977 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008534/0.4207, allocations: 215.6 kB / 0.8656 GB, free: 5.766 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007154/0.4215, allocations: 250.6 kB / 0.8659 GB, free: 5.496 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.381e-05/0.4215, allocations: 23.94 kB / 0.8659 GB, free: 5.473 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009294/0.4308, allocations: 11.57 MB / 0.8772 GB, free: 8.773 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.4309, allocations: 4 kB / 0.8772 GB, free: 8.77 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002775/0.4337, allocations: 1.796 MB / 0.879 GB, free: 6.863 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005552/0.4342, allocations: 307.4 kB / 0.8793 GB, free: 6.543 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001613/0.4344, allocations: 35.88 kB / 0.8793 GB, free: 6.508 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007339/0.4351, allocations: 95.86 kB / 0.8794 GB, free: 6.414 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002053/0.4354, allocations: 96.7 kB / 0.8795 GB, free: 6.32 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-05/0.4354, allocations: 28 kB / 0.8795 GB, free: 6.293 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0008022/0.4362, allocations: 0.6255 MB / 0.8801 GB, free: 5.66 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4362, allocations: 0 / 0.8801 GB, free: 5.66 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001391/0.4376, allocations: 388 kB / 0.8805 GB, free: 5.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.0002267/0.4379, allocations: 147 kB / 0.8806 GB, free: 5.129 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004355/0.4422, allocations: 2.875 MB / 0.8834 GB, free: 2.152 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/0.4423, allocations: 4 kB / 0.8834 GB, free: 2.148 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002031/0.4443, allocations: 1.626 MB / 0.885 GB, free: 432 kB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001735/0.4461, allocations: 349 kB / 0.8854 GB, free: 88 kB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004288/0.4504, allocations: 2.787 MB / 0.8881 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009284/0.4513, allocations: 1.327 MB / 0.8894 GB, free: 11.84 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001019/0.4523, allocations: 363.3 kB / 0.8897 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002641/0.4526, allocations: 95.42 kB / 0.8898 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of SimCode: time 4.51e-07/0.4526, allocations: 0 / 0.8898 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of Templates: time 0.03157/0.4842, allocations: 17.07 MB / 0.9065 GB, free: 10.47 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)