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.0016/0.0016, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00245/0.00245, allocations: 194.6 kB / 16.14 MB, free: 6.703 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.611/1.611, allocations: 205.1 MB / 222 MB, free: 4.754 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.736/1.736, allocations: 292.2 MB / 0.5484 GB, free: 13.68 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.001258/0.001259, allocations: 69.92 kB / 0.6708 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2208, allocations: 114.5 MB / 0.7827 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.04079/0.2616, allocations: 36.91 MB / 0.8187 GB, free: 8.984 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02122/0.2829, allocations: 13.65 MB / 0.8321 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003205/0.2861, allocations: 99.62 kB / 0.8321 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.005496/0.2917, allocations: 2.112 MB / 0.8342 GB, free: 9.082 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004089/0.2958, allocations: 1.331 MB / 0.8355 GB, free: 7.746 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.007998/0.3039, allocations: 3.259 MB / 0.8387 GB, free: 4.488 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01102/0.3149, allocations: 9.585 MB / 0.8481 GB, free: 10.88 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01578/0.3307, allocations: 11.2 MB / 0.859 GB, free: 15.56 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003942/0.3347, allocations: 2.282 MB / 0.8612 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005354/0.3401, allocations: 3.284 MB / 0.8644 GB, free: 9.977 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.00156/0.3417, allocations: 432 kB / 0.8648 GB, free: 9.555 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002776/0.3445, allocations: 1.229 MB / 0.866 GB, free: 8.324 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002776/0.3473, allocations: 2.288 MB / 0.8683 GB, free: 6.031 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003508/0.3508, allocations: 2.338 MB / 0.8706 GB, free: 3.684 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.008799/0.3596, allocations: 8.99 MB / 0.8793 GB, free: 10.67 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.3597, allocations: 0 / 0.8793 GB, free: 10.67 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.765e-06/0.3597, allocations: 0 / 0.8793 GB, free: 10.67 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0002871/0.36, allocations: 0 / 0.8793 GB, free: 10.67 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.01247/0.3725, allocations: 4.299 MB / 0.8835 GB, free: 6.301 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.713e-05/0.3725, allocations: 8.031 kB / 0.8835 GB, free: 6.293 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005036/0.3776, allocations: 0.9482 MB / 0.8845 GB, free: 5.34 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005338/0.3829, allocations: 2.183 MB / 0.8866 GB, free: 3.113 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003382/0.3833, allocations: 325 kB / 0.8869 GB, free: 2.793 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00165/0.385, allocations: 428.3 kB / 0.8873 GB, free: 2.375 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01758/0.4026, allocations: 7.366 MB / 0.8945 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001981/0.4028, allocations: 11.94 kB / 0.8945 GB, free: 10.76 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00158/0.4044, allocations: 180 kB / 0.8947 GB, free: 10.59 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003874/0.4048, allocations: 298.9 kB / 0.895 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0131/0.4179, allocations: 5.955 MB / 0.9008 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5298/0.9478, allocations: 32.62 MB / 0.9326 GB, free: 114.8 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00364/0.9515, allocations: 2.111 MB / 0.9347 GB, free: 114.7 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001572/0.9531, allocations: 1.237 MB / 0.9359 GB, free: 114.5 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001901/0.9533, allocations: 105.8 kB / 0.936 GB, free: 114.4 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.9533, allocations: 48.12 kB / 0.9361 GB, free: 114.3 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=98): time 3.527e-06/0.9533, allocations: 3.719 kB / 0.9361 GB, free: 114.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=101): time 0.007851/0.9612, allocations: 5.232 MB / 0.9412 GB, free: 111.6 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.489e-05/0.9613, allocations: 139.2 kB / 0.9413 GB, free: 111.4 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002632/0.9639, allocations: 1.461 MB / 0.9427 GB, free: 110.9 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001947/0.9641, allocations: 42.61 kB / 0.9428 GB, free: 110.8 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001372/0.9655, allocations: 1.862 MB / 0.9446 GB, free: 109.4 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004351/0.966, allocations: 375 kB / 0.945 GB, free: 109.1 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007872/0.9668, allocations: 463.3 kB / 0.9454 GB, free: 108.9 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 6.388e-05/0.9668, allocations: 302.7 kB / 0.9457 GB, free: 108.6 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00206/0.9689, allocations: 1.12 MB / 0.9468 GB, free: 108.2 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003281/0.9722, allocations: 2.183 MB / 0.9489 GB, free: 106.5 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004654/0.9769, allocations: 3.405 MB / 0.9522 GB, free: 104.1 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.156e-05/0.9769, allocations: 9.688 kB / 0.9522 GB, free: 104.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.006054/0.983, allocations: 3.311 MB / 0.9555 GB, free: 102.9 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.962e-05/0.9831, allocations: 19.41 kB / 0.9555 GB, free: 102.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.705e-05/0.9832, allocations: 34.03 kB / 0.9555 GB, free: 102.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.174e-05/0.9832, allocations: 47.09 kB / 0.9556 GB, free: 102.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002193/0.9854, allocations: 0.6188 MB / 0.9562 GB, free: 102.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.627e-05/0.9855, allocations: 73.22 kB / 0.9562 GB, free: 102.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0021/0.9876, allocations: 310.2 kB / 0.9565 GB, free: 102.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000193/0.9879, allocations: 124.9 kB / 0.9567 GB, free: 102.7 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004173/0.992, allocations: 2.405 MB / 0.959 GB, free: 101.8 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001847/0.9939, allocations: 2.009 MB / 0.961 GB, free: 100 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003051/0.997, allocations: 3.028 MB / 0.9639 GB, free: 97.54 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.105e-05/0.997, allocations: 10.72 kB / 0.9639 GB, free: 97.54 MB / 0.7325 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.004064/1.001, allocations: 2.929 MB / 0.9668 GB, free: 96.06 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/1.001, allocations: 19.66 kB / 0.9668 GB, free: 96.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.485e-05/1.001, allocations: 35.44 kB / 0.9669 GB, free: 96.06 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.489e-05/1.001, allocations: 49.45 kB / 0.9669 GB, free: 96.06 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/1.003, allocations: 0.5556 MB / 0.9674 GB, free: 95.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.504e-05/1.003, allocations: 70.97 kB / 0.9675 GB, free: 95.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001797/1.005, allocations: 245.1 kB / 0.9677 GB, free: 95.76 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/1.005, allocations: 118.8 kB / 0.9679 GB, free: 95.73 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.0006731/1.005, allocations: 334.7 kB / 0.9682 GB, free: 95.43 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000302/1.006, allocations: 157.2 kB / 0.9683 GB, free: 95.35 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002844/1.009, allocations: 2.227 MB / 0.9705 GB, free: 94.07 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/1.009, allocations: 7.75 kB / 0.9705 GB, free: 94.07 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/1.009, allocations: 3.719 kB / 0.9705 GB, free: 94.07 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/1.009, allocations: 7.922 kB / 0.9705 GB, free: 94.06 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01261/1.021, allocations: 10.97 MB / 0.9812 GB, free: 87.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.304e-05/1.021, allocations: 11.03 kB / 0.9812 GB, free: 87.54 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/1.023, allocations: 395.2 kB / 0.9816 GB, free: 87.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-05/1.023, allocations: 15.84 kB / 0.9816 GB, free: 87.39 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.033e-05/1.023, allocations: 31.81 kB / 0.9817 GB, free: 87.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.469e-05/1.023, allocations: 24.27 kB / 0.9817 GB, free: 87.37 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.335e-06/1.023, allocations: 19.84 kB / 0.9817 GB, free: 87.36 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002573/1.025, allocations: 2.763 MB / 0.9844 GB, free: 84.78 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006761/1.026, allocations: 450.8 kB / 0.9848 GB, free: 84.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003048/1.026, allocations: 42.7 kB / 0.9849 GB, free: 84.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/1.027, allocations: 167.7 kB / 0.985 GB, free: 84.12 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002019/1.028, allocations: 96.16 kB / 0.9851 GB, free: 84.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.753e-05/1.028, allocations: 44 kB / 0.9852 GB, free: 83.98 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001357/1.029, allocations: 0.9703 MB / 0.9861 GB, free: 83.01 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.1e-07/1.029, allocations: 0 / 0.9861 GB, free: 83.01 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004781/1.034, allocations: 1.125 MB / 0.9872 GB, free: 81.89 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.0002827/1.034, allocations: 149.8 kB / 0.9874 GB, free: 81.73 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005538/1.04, allocations: 3.992 MB / 0.9913 GB, free: 77.76 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.235e-05/1.04, allocations: 0 / 0.9913 GB, free: 77.76 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001248/1.041, allocations: 1.06 MB / 0.9923 GB, free: 76.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003092/1.044, allocations: 409.2 kB / 0.9927 GB, free: 76.32 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01345/1.058, allocations: 8.782 MB / 1.001 GB, free: 67.35 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003551/1.061, allocations: 2.864 MB / 1.004 GB, free: 64.45 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003629/1.065, allocations: 1.207 MB / 1.005 GB, free: 63.25 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008156/1.066, allocations: 119.4 kB / 1.005 GB, free: 63.13 MB / 0.7325 GB Notification: Performance of SimCode: time 2.555e-06/1.066, allocations: 3.609 kB / 1.005 GB, free: 63.13 MB / 0.7325 GB Notification: Performance of Templates: time 0.03632/1.102, allocations: 23.67 MB / 1.028 GB, free: 39.74 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)