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.001209/0.001209, allocations: 109 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.00117/0.00117, allocations: 191.7 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.404/1.404, allocations: 205.1 MB / 222.8 MB, free: 4.699 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.717/1.717, allocations: 292.3 MB / 0.5492 GB, free: 13.62 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.001314/0.001314, allocations: 66.95 kB / 0.6717 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.256, allocations: 114.5 MB / 0.7835 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.04202/0.2981, allocations: 36.92 MB / 0.8196 GB, free: 8.832 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02512/0.3233, allocations: 13.44 MB / 0.8327 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004668/0.328, allocations: 99.62 kB / 0.8328 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.006616/0.3347, allocations: 2.124 MB / 0.8349 GB, free: 9.121 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005367/0.3401, allocations: 1.3 MB / 0.8361 GB, free: 7.816 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0104/0.3505, allocations: 3.282 MB / 0.8393 GB, free: 4.539 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.009004/0.3596, allocations: 6.41 MB / 0.8456 GB, free: 14.11 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01856/0.3782, allocations: 11.97 MB / 0.8573 GB, free: 2.016 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005247/0.3835, allocations: 2.754 MB / 0.86 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005939/0.3894, allocations: 3.37 MB / 0.8633 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001755/0.3912, allocations: 0.6172 MB / 0.8639 GB, free: 11.26 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003094/0.3943, allocations: 1.221 MB / 0.8651 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003874/0.3982, allocations: 2.488 MB / 0.8675 GB, free: 7.543 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.004413/0.4027, allocations: 2.553 MB / 0.87 GB, free: 4.98 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.008613/0.4113, allocations: 7.889 MB / 0.8777 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 1.342e-05/0.4114, allocations: 4 kB / 0.8777 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.504e-06/0.4114, allocations: 3.938 kB / 0.8777 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0002938/0.4117, allocations: 0 / 0.8777 GB, free: 13.07 MB / 0.7012 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.01116/0.4229, allocations: 4.291 MB / 0.8819 GB, free: 8.707 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.4229, allocations: 12.03 kB / 0.8819 GB, free: 8.695 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004326/0.4273, allocations: 0.952 MB / 0.8828 GB, free: 7.738 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004477/0.4318, allocations: 2.183 MB / 0.885 GB, free: 5.512 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002565/0.432, allocations: 329 kB / 0.8853 GB, free: 5.188 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001282/0.4333, allocations: 428.2 kB / 0.8857 GB, free: 4.77 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01596/0.4493, allocations: 7.362 MB / 0.8929 GB, free: 13.17 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001279/0.4495, allocations: 15.86 kB / 0.8929 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007298/0.4502, allocations: 192 kB / 0.8931 GB, free: 12.97 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003355/0.4506, allocations: 282.9 kB / 0.8933 GB, free: 12.69 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01203/0.4626, allocations: 5.963 MB / 0.8992 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4598/0.9225, allocations: 32.61 MB / 0.931 GB, free: 114.9 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003192/0.9257, allocations: 2.115 MB / 0.9331 GB, free: 114.8 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001459/0.9272, allocations: 1.242 MB / 0.9343 GB, free: 114.7 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001641/0.9274, allocations: 104 kB / 0.9344 GB, free: 114.6 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.9274, allocations: 42.39 kB / 0.9344 GB, free: 114.6 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=98): time 3.106e-06/0.9274, allocations: 2.531 kB / 0.9344 GB, free: 114.6 MB / 0.7325 GB Notification: Performance of matching and sorting (n=101): time 0.007075/0.9345, allocations: 5.229 MB / 0.9395 GB, free: 112.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.994e-05/0.9346, allocations: 144.4 kB / 0.9397 GB, free: 112.4 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002187/0.9368, allocations: 1.455 MB / 0.9411 GB, free: 111.8 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001519/0.937, allocations: 47.05 kB / 0.9411 GB, free: 111.8 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001224/0.9382, allocations: 1.869 MB / 0.943 GB, free: 110.4 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000384/0.9386, allocations: 376 kB / 0.9433 GB, free: 110.1 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007901/0.9394, allocations: 460.1 kB / 0.9438 GB, free: 109.9 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.766e-05/0.9395, allocations: 305.7 kB / 0.9441 GB, free: 109.6 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001784/0.9412, allocations: 1.119 MB / 0.9452 GB, free: 109.2 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002518/0.9438, allocations: 2.186 MB / 0.9473 GB, free: 107.4 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00434/0.9481, allocations: 3.397 MB / 0.9506 GB, free: 105.1 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.789e-05/0.9482, allocations: 9.75 kB / 0.9506 GB, free: 105.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004961/0.9531, allocations: 3.31 MB / 0.9538 GB, free: 103.8 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.35e-05/0.9532, allocations: 19.92 kB / 0.9539 GB, free: 103.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.131e-05/0.9533, allocations: 39.52 kB / 0.9539 GB, free: 103.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.237e-05/0.9533, allocations: 47.72 kB / 0.9539 GB, free: 103.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002133/0.9555, allocations: 0.618 MB / 0.9546 GB, free: 103.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.505e-05/0.9555, allocations: 68.53 kB / 0.9546 GB, free: 103.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002031/0.9576, allocations: 318 kB / 0.9549 GB, free: 103.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002037/0.9578, allocations: 112 kB / 0.955 GB, free: 103.6 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003747/0.9616, allocations: 2.405 MB / 0.9574 GB, free: 102.7 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001724/0.9633, allocations: 2.012 MB / 0.9593 GB, free: 101 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00281/0.9661, allocations: 3.028 MB / 0.9623 GB, free: 98.75 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.201e-05/0.9661, allocations: 9.625 kB / 0.9623 GB, free: 98.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.003835/0.97, allocations: 2.933 MB / 0.9652 GB, free: 97.38 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.164e-05/0.97, allocations: 18.94 kB / 0.9652 GB, free: 97.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-05/0.9701, allocations: 36.53 kB / 0.9652 GB, free: 97.38 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.25e-05/0.9701, allocations: 50.12 kB / 0.9653 GB, free: 97.38 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001523/0.9716, allocations: 0.5518 MB / 0.9658 GB, free: 97.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.95e-05/0.9717, allocations: 71.22 kB / 0.9659 GB, free: 97.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/0.9733, allocations: 237.7 kB / 0.9661 GB, free: 97.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/0.9735, allocations: 118.6 kB / 0.9662 GB, free: 97.07 MB / 0.7325 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.0006314/0.9741, allocations: 342.7 kB / 0.9665 GB, free: 96.76 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002794/0.9744, allocations: 156.7 kB / 0.9667 GB, free: 96.68 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002757/0.9772, allocations: 2.219 MB / 0.9689 GB, free: 95.4 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/0.9772, allocations: 16.53 kB / 0.9689 GB, free: 95.39 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/0.9772, allocations: 0.8125 kB / 0.9689 GB, free: 95.39 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.9772, allocations: 9.797 kB / 0.9689 GB, free: 95.39 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0123/0.9895, allocations: 10.97 MB / 0.9796 GB, free: 88.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.43e-05/0.9896, allocations: 18.06 kB / 0.9796 GB, free: 88.86 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001358/0.9909, allocations: 387.4 kB / 0.98 GB, free: 88.72 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.61e-05/0.991, allocations: 19.59 kB / 0.98 GB, free: 88.71 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-05/0.9911, allocations: 35.53 kB / 0.98 GB, free: 88.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.366e-05/0.9911, allocations: 22.89 kB / 0.9801 GB, free: 88.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.954e-06/0.9911, allocations: 15.47 kB / 0.9801 GB, free: 88.69 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002667/0.9938, allocations: 2.757 MB / 0.9828 GB, free: 86.79 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007117/0.9945, allocations: 457.3 kB / 0.9832 GB, free: 86.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002219/0.9947, allocations: 35.98 kB / 0.9832 GB, free: 86.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009826/0.9957, allocations: 163.7 kB / 0.9834 GB, free: 86.23 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/0.9959, allocations: 100.2 kB / 0.9835 GB, free: 86.14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.088e-05/0.996, allocations: 43.39 kB / 0.9835 GB, free: 86.1 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009977/0.997, allocations: 0.9742 MB / 0.9845 GB, free: 85.12 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.997, allocations: 0 / 0.9845 GB, free: 85.12 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003563/1.001, allocations: 1.125 MB / 0.9856 GB, free: 84 MB / 0.7325 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.0002276/1.001, allocations: 154.9 kB / 0.9857 GB, free: 83.84 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005184/1.006, allocations: 4.232 MB / 0.9899 GB, free: 79.64 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.167e-05/1.006, allocations: 7.938 kB / 0.9899 GB, free: 79.63 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001089/1.007, allocations: 1.052 MB / 0.9909 GB, free: 78.58 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002379/1.01, allocations: 444 kB / 0.9913 GB, free: 78.18 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01242/1.022, allocations: 9.438 MB / 1.001 GB, free: 68.56 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002365/1.024, allocations: 2.951 MB / 1.003 GB, free: 65.57 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007892/1.025, allocations: 135.4 kB / 1.004 GB, free: 65.44 MB / 0.7325 GB Notification: Performance of SimCode: time 1.243e-06/1.025, allocations: 0 / 1.004 GB, free: 65.44 MB / 0.7325 GB Notification: Performance of Templates: time 0.05524/1.08, allocations: 40.67 MB / 1.043 GB, free: 24.95 MB / 0.7325 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)