Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.768/1.768, allocations: 288.4 MB / 303.4 MB, free: 8.109 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009661/0.0009659, allocations: 186.9 kB / 372 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.699/1.699, allocations: 205.4 MB / 0.6307 GB, free: 9.977 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000725/0.0007249, allocations: 100.8 kB / 0.7441 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004322/0.0004322, allocations: 11.19 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2854, allocations: 115.3 MB / 0.9796 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01024/0.2957, allocations: 9.931 MB / 0.9893 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.009453/0.3052, allocations: 5.489 MB / 0.9947 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001734/0.307, allocations: 39.69 kB / 0.9947 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008912/0.308, allocations: 241.9 kB / 0.9949 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003776/0.3117, allocations: 0.8941 MB / 0.9958 GB, free: 11 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002367/0.3141, allocations: 0.5878 MB / 0.9964 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003605/0.3178, allocations: 2.352 MB / 0.9987 GB, free: 8.047 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004255/0.322, allocations: 2.156 MB / 1.001 GB, free: 5.863 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001852/0.3239, allocations: 0.6923 MB / 1.001 GB, free: 5.168 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001892/0.3258, allocations: 0.8326 MB / 1.002 GB, free: 4.332 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0003047/0.3261, allocations: 64 kB / 1.002 GB, free: 4.27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00227/0.3284, allocations: 0.5929 MB / 1.003 GB, free: 3.676 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000447/0.3289, allocations: 466.5 kB / 1.003 GB, free: 3.219 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0004657/0.3293, allocations: 296.9 kB / 1.004 GB, free: 2.922 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002217/0.3316, allocations: 1.789 MB / 1.005 GB, free: 1.129 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.3316, allocations: 3.938 kB / 1.005 GB, free: 1.125 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3316, allocations: 3.938 kB / 1.005 GB, free: 1.121 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.026e-05/0.3316, allocations: 0 / 1.005 GB, free: 1.121 MB / 0.6198 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.002901/0.3346, allocations: 1.622 MB / 1.007 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.3346, allocations: 12.02 kB / 1.007 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0045/0.3391, allocations: 0.6767 MB / 1.008 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001903/0.341, allocations: 0.875 MB / 1.008 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001118/0.3412, allocations: 102.5 kB / 1.009 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002153/0.3414, allocations: 124 kB / 1.009 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003614/0.345, allocations: 2.198 MB / 1.011 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.229e-05/0.3451, allocations: 15.78 kB / 1.011 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001488/0.3452, allocations: 59.97 kB / 1.011 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002762/0.3455, allocations: 166.3 kB / 1.011 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003101/0.3486, allocations: 1.855 MB / 1.013 GB, free: 9.078 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01487/0.3635, allocations: 12.48 MB / 1.025 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004506/0.3681, allocations: 1.97 MB / 1.027 GB, free: 9.672 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009649/0.3691, allocations: 0.6049 MB / 1.028 GB, free: 9.062 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002146/0.3693, allocations: 102.1 kB / 1.028 GB, free: 8.945 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.389e-05/0.3694, allocations: 43.56 kB / 1.028 GB, free: 8.895 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=103): time 4.268e-06/0.3694, allocations: 0 / 1.028 GB, free: 8.895 MB / 0.6511 GB Notification: Performance of matching and sorting (n=110): time 0.00719/0.3766, allocations: 3.702 MB / 1.031 GB, free: 5.027 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/0.3767, allocations: 64.41 kB / 1.031 GB, free: 4.949 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001806/0.3785, allocations: 0.9087 MB / 1.032 GB, free: 4.023 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.897e-05/0.3786, allocations: 41.7 kB / 1.032 GB, free: 3.977 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008039/0.3794, allocations: 0.7393 MB / 1.033 GB, free: 3.227 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000478/0.3799, allocations: 378.5 kB / 1.033 GB, free: 2.852 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.788e-05/0.38, allocations: 32 kB / 1.033 GB, free: 2.82 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002512/0.3803, allocations: 365.9 kB / 1.034 GB, free: 2.457 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.3814, allocations: 0.609 MB / 1.034 GB, free: 1.848 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001567/0.3829, allocations: 1.102 MB / 1.035 GB, free: 0.5273 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001303/0.3843, allocations: 0.772 MB / 1.036 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-05/0.3843, allocations: 4 kB / 1.036 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004143/0.3884, allocations: 2.084 MB / 1.038 GB, free: 13.63 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 4.459e-05/0.3885, allocations: 12 kB / 1.038 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.835e-05/0.3886, allocations: 16 kB / 1.038 GB, free: 13.61 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009359/0.3895, allocations: 263.1 kB / 1.039 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/0.3909, allocations: 371.4 kB / 1.039 GB, free: 12.96 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01039/0.4013, allocations: 10.75 MB / 1.049 GB, free: 1.145 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/0.4031, allocations: 127.9 kB / 1.05 GB, free: 1.02 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/0.4032, allocations: 75.94 kB / 1.05 GB, free: 0.9453 MB / 0.6667 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 (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008681/0.4041, allocations: 397.2 kB / 1.05 GB, free: 0.5469 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002294/0.4043, allocations: 138.4 kB / 1.05 GB, free: 420 kB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003123/0.4075, allocations: 1.673 MB / 1.052 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.567e-05/0.4075, allocations: 15.98 kB / 1.052 GB, free: 14.69 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.4075, allocations: 4 kB / 1.052 GB, free: 14.68 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.4075, allocations: 3.984 kB / 1.052 GB, free: 14.68 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005568/0.4131, allocations: 3.28 MB / 1.055 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/0.4131, allocations: 8 kB / 1.055 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008646/0.414, allocations: 223.6 kB / 1.055 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007453/0.4148, allocations: 246.6 kB / 1.055 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.78e-05/0.4149, allocations: 27.98 kB / 1.055 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5823/0.9972, allocations: 10.73 MB / 1.066 GB, free: 81.81 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.54e-05/0.9973, allocations: 13.91 kB / 1.066 GB, free: 81.81 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004919/1.002, allocations: 1.786 MB / 1.068 GB, free: 81.42 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007469/1.003, allocations: 323.2 kB / 1.068 GB, free: 81.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001385/1.003, allocations: 24.27 kB / 1.068 GB, free: 81.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007433/1.004, allocations: 90.28 kB / 1.068 GB, free: 81.32 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003295/1.004, allocations: 99.81 kB / 1.068 GB, free: 81.32 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-05/1.004, allocations: 35.08 kB / 1.068 GB, free: 81.32 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001153/1.005, allocations: 0.6094 MB / 1.069 GB, free: 81.21 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.6e-07/1.005, allocations: 1.281 kB / 1.069 GB, free: 81.21 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001627/1.007, allocations: 389.7 kB / 1.069 GB, free: 81.21 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002866/1.007, allocations: 145.6 kB / 1.069 GB, free: 81.13 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004522/1.012, allocations: 2.479 MB / 1.072 GB, free: 80.09 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/1.012, allocations: 0.9688 kB / 1.072 GB, free: 80.09 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002333/1.014, allocations: 1.633 MB / 1.073 GB, free: 78.99 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001838/1.016, allocations: 339.6 kB / 1.074 GB, free: 78.89 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005631/1.022, allocations: 3.244 MB / 1.077 GB, free: 77.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001308/1.023, allocations: 1.327 MB / 1.078 GB, free: 76.32 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001307/1.024, allocations: 359.2 kB / 1.078 GB, free: 76.27 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000316/1.025, allocations: 95.75 kB / 1.079 GB, free: 76.26 MB / 0.6823 GB Notification: Performance of SimCode: time 8.21e-07/1.025, allocations: 1.516 kB / 1.079 GB, free: 76.26 MB / 0.6823 GB Notification: Performance of Templates: time 0.0352/1.06, allocations: 15.74 MB / 1.094 GB, free: 73.13 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)