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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008862/0.008862, allocations: 106.1 kB / 15.73 MB, free: 6.047 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.002248/0.002249, allocations: 196.6 kB / 16.67 MB, free: 5.961 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.706/1.706, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.579/1.579, allocations: 251.7 MB / 0.5094 GB, free: 3.031 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.001591/0.001591, allocations: 67.91 kB / 0.7258 GB, free: 9.016 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2918, allocations: 104.7 MB / 0.828 GB, free: 200 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.047/0.3388, allocations: 37.26 MB / 0.8644 GB, free: 10.81 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02941/0.3683, allocations: 13.59 MB / 0.8777 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00574/0.3741, allocations: 115.6 kB / 0.8778 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.007264/0.3815, allocations: 2.266 MB / 0.88 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.005436/0.3869, allocations: 1.416 MB / 0.8814 GB, free: 9.371 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.01158/0.3985, allocations: 3.509 MB / 0.8848 GB, free: 5.863 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01078/0.4093, allocations: 6.383 MB / 0.8911 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01644/0.4258, allocations: 9.878 MB / 0.9007 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005526/0.4314, allocations: 2.735 MB / 0.9034 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.613/1.044, allocations: 3.195 MB / 0.9065 GB, free: 26.25 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.002579/1.047, allocations: 0.6198 MB / 0.9071 GB, free: 26.25 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007435/1.054, allocations: 1.231 MB / 0.9083 GB, free: 26.25 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.007367/1.062, allocations: 2.475 MB / 0.9107 GB, free: 26.25 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.01085/1.073, allocations: 2.546 MB / 0.9132 GB, free: 26.06 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.02306/1.096, allocations: 9.149 MB / 0.9222 GB, free: 25.39 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/1.096, allocations: 0 / 0.9222 GB, free: 25.39 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.513e-06/1.096, allocations: 0 / 0.9222 GB, free: 25.39 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0005659/1.097, allocations: 0 / 0.9222 GB, free: 25.39 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.02605/1.123, allocations: 4.306 MB / 0.9264 GB, free: 23.89 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 8.369e-05/1.123, allocations: 11.48 kB / 0.9264 GB, free: 23.89 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007904/1.131, allocations: 0.9425 MB / 0.9273 GB, free: 23.68 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009017/1.14, allocations: 2.222 MB / 0.9295 GB, free: 23.23 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005904/1.14, allocations: 327.5 kB / 0.9298 GB, free: 23.21 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003845/1.144, allocations: 427 kB / 0.9302 GB, free: 23.21 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03557/1.18, allocations: 7.359 MB / 0.9374 GB, free: 22.52 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004593/1.18, allocations: 19.34 kB / 0.9374 GB, free: 22.52 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003862/1.184, allocations: 187.2 kB / 0.9376 GB, free: 22.51 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006748/1.185, allocations: 287.2 kB / 0.9378 GB, free: 22.5 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0205/1.205, allocations: 5.956 MB / 0.9437 GB, free: 20.82 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05498/1.26, allocations: 32.37 MB / 0.9753 GB, free: 8.52 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004095/1.265, allocations: 2.119 MB / 0.9773 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001852/1.266, allocations: 1.233 MB / 0.9785 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002345/1.267, allocations: 108.7 kB / 0.9786 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.153e-05/1.267, allocations: 43.5 kB / 0.9787 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=98): time 3.968e-06/1.267, allocations: 3.719 kB / 0.9787 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of matching and sorting (n=101): time 0.01441/1.281, allocations: 5.229 MB / 0.9838 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001394/1.281, allocations: 145.7 kB / 0.9839 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004566/1.286, allocations: 1.453 MB / 0.9853 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0004732/1.287, allocations: 43.17 kB / 0.9854 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001951/1.289, allocations: 1.857 MB / 0.9872 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009619/1.29, allocations: 379.5 kB / 0.9876 GB, free: 332 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002069/1.292, allocations: 463.2 kB / 0.988 GB, free: 64 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001371/1.292, allocations: 301.1 kB / 0.9883 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002638/1.294, allocations: 1.119 MB / 0.9894 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004067/1.299, allocations: 2.187 MB / 0.9915 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00665/1.305, allocations: 3.403 MB / 0.9948 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-05/1.305, allocations: 8 kB / 0.9949 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.00979/1.315, allocations: 3.315 MB / 0.9981 GB, free: 7.105 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 8.847e-05/1.315, allocations: 20.22 kB / 0.9981 GB, free: 7.086 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.905e-05/1.315, allocations: 36 kB / 0.9981 GB, free: 7.051 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.206e-05/1.315, allocations: 48 kB / 0.9982 GB, free: 7.004 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003592/1.319, allocations: 0.6142 MB / 0.9988 GB, free: 6.426 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.519e-05/1.319, allocations: 73.78 kB / 0.9989 GB, free: 6.367 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00354/1.323, allocations: 310.7 kB / 0.9992 GB, free: 6.062 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000479/1.323, allocations: 112 kB / 0.9993 GB, free: 5.953 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008441/1.332, allocations: 2.413 MB / 1.002 GB, free: 3.539 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003878/1.336, allocations: 2.007 MB / 1.004 GB, free: 1.004 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00458/1.34, allocations: 3.031 MB / 1.007 GB, free: 13.63 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.619e-05/1.34, allocations: 12 kB / 1.007 GB, free: 13.62 MB / 0.7637 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.005854/1.346, allocations: 2.919 MB / 1.009 GB, free: 10.9 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.227e-05/1.346, allocations: 20 kB / 1.009 GB, free: 10.88 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.689e-05/1.346, allocations: 32 kB / 1.009 GB, free: 10.85 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.081e-05/1.346, allocations: 52 kB / 1.01 GB, free: 10.8 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001997/1.348, allocations: 0.5594 MB / 1.01 GB, free: 10.28 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.087e-05/1.348, allocations: 73.45 kB / 1.01 GB, free: 10.22 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002603/1.351, allocations: 250.8 kB / 1.01 GB, free: 9.977 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002922/1.351, allocations: 112 kB / 1.01 GB, free: 9.867 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (264): * Single equations (assignments): 264 * 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.0008779/1.352, allocations: 332 kB / 1.011 GB, free: 9.57 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006741/1.353, allocations: 158.1 kB / 1.011 GB, free: 9.414 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004353/1.357, allocations: 2.226 MB / 1.013 GB, free: 7.176 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.058e-05/1.357, allocations: 15.98 kB / 1.013 GB, free: 7.16 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.369e-05/1.357, allocations: 3.938 kB / 1.013 GB, free: 7.156 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/1.357, allocations: 7.984 kB / 1.013 GB, free: 7.148 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02372/1.381, allocations: 10.96 MB / 1.024 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.426e-05/1.381, allocations: 9 kB / 1.024 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001806/1.383, allocations: 383.9 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.324e-05/1.383, allocations: 23.09 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000219/1.383, allocations: 39.92 kB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.162e-05/1.383, allocations: 18.91 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.661e-05/1.383, allocations: 19.22 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003911/1.387, allocations: 2.76 MB / 1.027 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00129/1.389, allocations: 458.8 kB / 1.027 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000257/1.389, allocations: 28 kB / 1.027 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/1.39, allocations: 169.8 kB / 1.028 GB, free: 8 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002397/1.39, allocations: 96.19 kB / 1.028 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.754e-05/1.39, allocations: 36 kB / 1.028 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001708/1.392, allocations: 0.9815 MB / 1.029 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/1.392, allocations: 4 kB / 1.029 GB, free: 6.898 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.005944/1.398, allocations: 1.129 MB / 1.03 GB, free: 5.77 MB / 0.7794 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 (104): * Single equations (assignments): 104 * 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.0003925/1.399, allocations: 152 kB / 1.03 GB, free: 5.629 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00687/1.405, allocations: 4.013 MB / 1.034 GB, free: 1.848 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.967e-05/1.406, allocations: 8.062 kB / 1.034 GB, free: 1.84 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.00157/1.407, allocations: 1.053 MB / 1.035 GB, free: 0.832 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003025/1.41, allocations: 447.2 kB / 1.035 GB, free: 436 kB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0151/1.425, allocations: 6.99 MB / 1.042 GB, free: 9.289 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003594/1.429, allocations: 2.864 MB / 1.045 GB, free: 6.387 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.003249/1.432, allocations: 1.207 MB / 1.046 GB, free: 5.172 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005697/1.433, allocations: 123.4 kB / 1.046 GB, free: 5.051 MB / 0.795 GB Notification: Performance of SimCode: time 1.383e-06/1.433, allocations: 0 / 1.046 GB, free: 5.051 MB / 0.795 GB Notification: Performance of Templates: time 0.05052/1.483, allocations: 25.17 MB / 1.071 GB, free: 12.19 MB / 0.8262 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)