Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 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.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.001169/0.001174, allocations: 110.9 kB / 16.37 MB, free: 6.012 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.001052/0.001052, allocations: 189.7 kB / 17.31 MB, free: 5.613 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.335/1.335, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.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.722/1.722, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001636/0.001636, allocations: 67.89 kB / 0.6729 GB, free: 5.801 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2233, allocations: 114.6 MB / 0.7848 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.4125/0.6358, allocations: 37.25 MB / 0.8212 GB, free: 27.43 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02295/0.6588, allocations: 13.59 MB / 0.8345 GB, free: 18.28 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005972/0.6649, allocations: 114.4 kB / 0.8346 GB, free: 18.26 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.007142/0.6721, allocations: 2.27 MB / 0.8368 GB, free: 16.9 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005926/0.6781, allocations: 1.412 MB / 0.8382 GB, free: 16.08 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.01128/0.6894, allocations: 3.507 MB / 0.8416 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.009912/0.6993, allocations: 6.372 MB / 0.8478 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01339/0.7128, allocations: 10.04 MB / 0.8576 GB, free: 7.625 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006152/0.719, allocations: 2.738 MB / 0.8603 GB, free: 6.355 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006653/0.7257, allocations: 3.201 MB / 0.8634 GB, free: 4.965 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.00269/0.7284, allocations: 0.6193 MB / 0.864 GB, free: 4.965 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004963/0.7334, allocations: 1.233 MB / 0.8652 GB, free: 4.648 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.004429/0.7378, allocations: 2.47 MB / 0.8676 GB, free: 3.09 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.004965/0.7428, allocations: 2.553 MB / 0.8701 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01225/0.7551, allocations: 9.135 MB / 0.8791 GB, free: 9.969 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 1.478e-05/0.7552, allocations: 0 / 0.8791 GB, free: 9.969 MB / 0.67 GB Notification: Performance of FrontEnd: time 4.178e-06/0.7552, allocations: 0 / 0.8791 GB, free: 9.969 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0004776/0.7557, allocations: 0 / 0.8791 GB, free: 9.969 MB / 0.67 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.01393/0.7697, allocations: 4.31 MB / 0.8833 GB, free: 5.586 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.7697, allocations: 12.03 kB / 0.8833 GB, free: 5.574 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004286/0.774, allocations: 0.9442 MB / 0.8842 GB, free: 4.625 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004558/0.7786, allocations: 2.222 MB / 0.8864 GB, free: 2.359 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002564/0.7789, allocations: 325 kB / 0.8867 GB, free: 2.039 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009212/0.7798, allocations: 432.3 kB / 0.8871 GB, free: 1.617 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01606/0.7959, allocations: 7.362 MB / 0.8943 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001147/0.796, allocations: 15.84 kB / 0.8943 GB, free: 10 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005056/0.7965, allocations: 184 kB / 0.8945 GB, free: 9.824 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003297/0.7969, allocations: 286.9 kB / 0.8947 GB, free: 9.543 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01106/0.808, allocations: 5.959 MB / 0.9006 GB, free: 3.57 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0397/0.8477, allocations: 32.36 MB / 0.9322 GB, free: 364 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003347/0.8511, allocations: 2.107 MB / 0.9342 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001601/0.8527, allocations: 1.237 MB / 0.9354 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000176/0.8529, allocations: 102.1 kB / 0.9355 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.8529, allocations: 47.5 kB / 0.9356 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=98): time 2.875e-06/0.853, allocations: 3.938 kB / 0.9356 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of matching and sorting (n=101): time 0.008312/0.8613, allocations: 5.238 MB / 0.9407 GB, free: 7.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.964e-05/0.8614, allocations: 145.4 kB / 0.9408 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001959/0.8634, allocations: 1.453 MB / 0.9422 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000164/0.8635, allocations: 45.7 kB / 0.9423 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001198/0.8647, allocations: 1.863 MB / 0.9441 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004139/0.8652, allocations: 371.5 kB / 0.9445 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006748/0.8659, allocations: 463 kB / 0.9449 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.866, allocations: 305.1 kB / 0.9452 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00163/0.8676, allocations: 1.118 MB / 0.9463 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002504/0.8701, allocations: 2.184 MB / 0.9484 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004278/0.8744, allocations: 3.395 MB / 0.9517 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.287e-05/0.8745, allocations: 12 kB / 0.9517 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005463/0.8799, allocations: 3.316 MB / 0.955 GB, free: 7.75 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.675e-05/0.88, allocations: 24.25 kB / 0.955 GB, free: 7.727 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-05/0.8801, allocations: 36 kB / 0.955 GB, free: 7.691 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.527e-05/0.8801, allocations: 48 kB / 0.9551 GB, free: 7.645 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002177/0.8823, allocations: 0.6277 MB / 0.9557 GB, free: 7.016 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.85e-05/0.8824, allocations: 63.78 kB / 0.9558 GB, free: 6.953 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002015/0.8844, allocations: 306.7 kB / 0.9561 GB, free: 6.652 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001811/0.8846, allocations: 112 kB / 0.9562 GB, free: 6.543 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003914/0.8885, allocations: 2.405 MB / 0.9585 GB, free: 4.129 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002128/0.8907, allocations: 2.019 MB / 0.9605 GB, free: 1.574 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003635/0.8943, allocations: 3.029 MB / 0.9634 GB, free: 14.05 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.435e-05/0.8944, allocations: 12 kB / 0.9635 GB, free: 14.04 MB / 0.7637 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.00466/0.8991, allocations: 2.922 MB / 0.9663 GB, free: 11.11 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.316e-05/0.8991, allocations: 23.98 kB / 0.9663 GB, free: 11.09 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-05/0.8992, allocations: 36 kB / 0.9664 GB, free: 11.05 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.226e-05/0.8992, allocations: 48 kB / 0.9664 GB, free: 11.01 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001773/0.901, allocations: 0.5498 MB / 0.9669 GB, free: 10.46 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.487e-05/0.9011, allocations: 75.66 kB / 0.967 GB, free: 10.38 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00186/0.9029, allocations: 247.3 kB / 0.9673 GB, free: 10.14 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001685/0.9031, allocations: 112 kB / 0.9674 GB, free: 10.03 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.0005949/0.9037, allocations: 335.3 kB / 0.9677 GB, free: 9.695 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003795/0.9041, allocations: 154.1 kB / 0.9678 GB, free: 9.543 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003433/0.9075, allocations: 2.219 MB / 0.97 GB, free: 7.312 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/0.9076, allocations: 19.94 kB / 0.97 GB, free: 7.293 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.779e-06/0.9076, allocations: 0 / 0.97 GB, free: 7.293 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.9076, allocations: 7.984 kB / 0.97 GB, free: 7.285 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01833/0.926, allocations: 10.98 MB / 0.9807 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.341e-05/0.926, allocations: 12 kB / 0.9807 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001587/0.9276, allocations: 387.4 kB / 0.9811 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-05/0.9277, allocations: 19.94 kB / 0.9811 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001744/0.9279, allocations: 32 kB / 0.9812 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.471e-05/0.9279, allocations: 27.86 kB / 0.9812 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.356e-05/0.9279, allocations: 15.94 kB / 0.9812 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003713/0.9316, allocations: 2.763 MB / 0.9839 GB, free: 8.645 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009817/0.9326, allocations: 450.8 kB / 0.9843 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000401/0.9331, allocations: 35.89 kB / 0.9844 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001406/0.9345, allocations: 167.7 kB / 0.9845 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002612/0.9347, allocations: 100.2 kB / 0.9846 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/0.9349, allocations: 36 kB / 0.9847 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001736/0.9366, allocations: 0.9781 MB / 0.9856 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.81e-07/0.9366, allocations: 4 kB / 0.9856 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.004592/0.9412, allocations: 1.125 MB / 0.9867 GB, free: 5.746 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.0003233/0.9416, allocations: 150.9 kB / 0.9869 GB, free: 5.59 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.006263/0.9478, allocations: 4.009 MB / 0.9908 GB, free: 1.598 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.451e-05/0.9479, allocations: 8.125 kB / 0.9908 GB, free: 1.59 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001552/0.9494, allocations: 1.056 MB / 0.9918 GB, free: 0.5352 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003127/0.9526, allocations: 452.7 kB / 0.9922 GB, free: 128 kB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01634/0.969, allocations: 7.642 MB / 0.9997 GB, free: 8.297 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004984/0.974, allocations: 2.946 MB / 1.003 GB, free: 5.32 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008162/0.9749, allocations: 135.4 kB / 1.003 GB, free: 5.191 MB / 0.795 GB Notification: Performance of SimCode: time 9.01e-07/0.9749, allocations: 0 / 1.003 GB, free: 5.191 MB / 0.795 GB Notification: Performance of Templates: time 0.06453/1.039, allocations: 40.67 MB / 1.042 GB, free: 12.69 MB / 0.8419 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)