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.001219/0.001219, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001843/0.001843, allocations: 190 kB / 16.62 MB, free: 6.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.431/1.431, allocations: 205.1 MB / 222.5 MB, free: 4.574 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.753/1.753, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001417/0.001417, allocations: 65.42 kB / 0.6723 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.234, allocations: 114.5 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.04263/0.2767, allocations: 37.26 MB / 0.8205 GB, free: 7.375 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02499/0.3018, allocations: 13.58 MB / 0.8338 GB, free: 9.75 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004296/0.3061, allocations: 115.6 kB / 0.8339 GB, free: 9.637 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00625/0.3124, allocations: 2.278 MB / 0.8361 GB, free: 7.352 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004515/0.3169, allocations: 1.408 MB / 0.8375 GB, free: 5.938 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.009135/0.3261, allocations: 3.504 MB / 0.8409 GB, free: 2.434 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.008285/0.3344, allocations: 6.383 MB / 0.8471 GB, free: 12.03 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01203/0.3465, allocations: 9.897 MB / 0.8568 GB, free: 2.004 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004759/0.3513, allocations: 2.731 MB / 0.8595 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005682/0.357, allocations: 3.198 MB / 0.8626 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001618/0.3586, allocations: 0.6211 MB / 0.8632 GB, free: 11.44 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003346/0.362, allocations: 1.225 MB / 0.8644 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003679/0.3657, allocations: 2.476 MB / 0.8668 GB, free: 7.73 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00399/0.3697, allocations: 2.549 MB / 0.8693 GB, free: 5.172 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.009314/0.379, allocations: 9.143 MB / 0.8782 GB, free: 12 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.3791, allocations: 0 / 0.8782 GB, free: 12 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.314e-06/0.3791, allocations: 7.938 kB / 0.8782 GB, free: 12 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0002587/0.3794, allocations: 0 / 0.8782 GB, free: 12 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.01123/0.3906, allocations: 4.297 MB / 0.8824 GB, free: 7.633 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.3907, allocations: 8.031 kB / 0.8824 GB, free: 7.625 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004162/0.3948, allocations: 0.952 MB / 0.8834 GB, free: 6.668 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004794/0.3997, allocations: 2.222 MB / 0.8855 GB, free: 4.402 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002732/0.4, allocations: 325 kB / 0.8859 GB, free: 4.082 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001085/0.401, allocations: 428.3 kB / 0.8863 GB, free: 3.664 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01506/0.4161, allocations: 7.366 MB / 0.8935 GB, free: 12.06 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001162/0.4163, allocations: 15.88 kB / 0.8935 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005103/0.4168, allocations: 188 kB / 0.8936 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003345/0.4171, allocations: 290.9 kB / 0.8939 GB, free: 11.58 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01055/0.4277, allocations: 5.963 MB / 0.8997 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4839/0.9116, allocations: 32.35 MB / 0.9313 GB, free: 114.3 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003124/0.9147, allocations: 2.109 MB / 0.9334 GB, free: 114.2 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00141/0.9162, allocations: 1.239 MB / 0.9346 GB, free: 114.2 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001483/0.9163, allocations: 104.7 kB / 0.9347 GB, free: 114.1 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.9164, allocations: 52.39 kB / 0.9348 GB, free: 114 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=98): time 3.496e-06/0.9164, allocations: 0 / 0.9348 GB, free: 114 MB / 0.7325 GB Notification: Performance of matching and sorting (n=101): time 0.006672/0.9231, allocations: 5.232 MB / 0.9399 GB, free: 111.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.9231, allocations: 141.4 kB / 0.94 GB, free: 111.3 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001753/0.9249, allocations: 1.452 MB / 0.9414 GB, free: 110.8 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.978e-05/0.925, allocations: 45.83 kB / 0.9415 GB, free: 110.7 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009514/0.926, allocations: 1.859 MB / 0.9433 GB, free: 109.3 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002919/0.9263, allocations: 379.1 kB / 0.9436 GB, free: 109 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006958/0.927, allocations: 459.8 kB / 0.9441 GB, free: 108.8 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 3.926e-05/0.927, allocations: 305.6 kB / 0.9444 GB, free: 108.5 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001767/0.9288, allocations: 1.121 MB / 0.9455 GB, free: 108.1 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002144/0.9309, allocations: 2.185 MB / 0.9476 GB, free: 106.4 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004052/0.935, allocations: 3.4 MB / 0.9509 GB, free: 104.1 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.442e-05/0.935, allocations: 10 kB / 0.9509 GB, free: 104.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004774/0.9398, allocations: 3.319 MB / 0.9542 GB, free: 102.8 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.935e-05/0.9399, allocations: 19.72 kB / 0.9542 GB, free: 102.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.006e-05/0.9399, allocations: 33.59 kB / 0.9542 GB, free: 102.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.466e-05/0.94, allocations: 47.06 kB / 0.9543 GB, free: 102.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002084/0.9421, allocations: 0.6198 MB / 0.9549 GB, free: 102.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-05/0.9422, allocations: 66.72 kB / 0.9549 GB, free: 102.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00174/0.9439, allocations: 307.6 kB / 0.9552 GB, free: 102.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001805/0.9441, allocations: 120.3 kB / 0.9553 GB, free: 102.6 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003593/0.9477, allocations: 2.406 MB / 0.9577 GB, free: 101.7 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001934/0.9497, allocations: 2.015 MB / 0.9597 GB, free: 99.95 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00287/0.9525, allocations: 3.03 MB / 0.9626 GB, free: 97.73 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.27e-05/0.9526, allocations: 10.06 kB / 0.9626 GB, free: 97.73 MB / 0.7325 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.004102/0.9567, allocations: 2.921 MB / 0.9655 GB, free: 96.34 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.087e-05/0.9568, allocations: 21.09 kB / 0.9655 GB, free: 96.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.306e-05/0.9568, allocations: 34.81 kB / 0.9655 GB, free: 96.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.249e-05/0.9569, allocations: 51.98 kB / 0.9656 GB, free: 96.34 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001701/0.9586, allocations: 0.5555 MB / 0.9661 GB, free: 96.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.567e-05/0.9587, allocations: 76.84 kB / 0.9662 GB, free: 96.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001899/0.9606, allocations: 241.6 kB / 0.9664 GB, free: 96.04 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/0.9607, allocations: 114.3 kB / 0.9665 GB, free: 96.02 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.0006366/0.9614, allocations: 338.5 kB / 0.9669 GB, free: 95.71 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002826/0.9617, allocations: 153.3 kB / 0.967 GB, free: 95.64 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002673/0.9643, allocations: 2.23 MB / 0.9692 GB, free: 94.35 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.9644, allocations: 7.75 kB / 0.9692 GB, free: 94.35 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/0.9644, allocations: 6.375 kB / 0.9692 GB, free: 94.35 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.9644, allocations: 3.984 kB / 0.9692 GB, free: 94.34 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01213/0.9765, allocations: 10.97 MB / 0.9799 GB, free: 87.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.686e-05/0.9766, allocations: 11.88 kB / 0.9799 GB, free: 87.81 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001354/0.9779, allocations: 386.8 kB / 0.9803 GB, free: 87.67 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.776e-05/0.978, allocations: 18.88 kB / 0.9803 GB, free: 87.67 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.477e-05/0.9781, allocations: 31.5 kB / 0.9803 GB, free: 87.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-05/0.9781, allocations: 23.41 kB / 0.9804 GB, free: 87.65 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-05/0.9781, allocations: 19.14 kB / 0.9804 GB, free: 87.64 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00267/0.9808, allocations: 2.76 MB / 0.9831 GB, free: 85.75 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006702/0.9815, allocations: 444.6 kB / 0.9835 GB, free: 85.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002102/0.9817, allocations: 43.33 kB / 0.9835 GB, free: 85.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009926/0.9827, allocations: 166.2 kB / 0.9837 GB, free: 85.34 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000182/0.9829, allocations: 105.7 kB / 0.9838 GB, free: 85.24 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.566e-05/0.983, allocations: 40 kB / 0.9838 GB, free: 85.2 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001159/0.9841, allocations: 0.9703 MB / 0.9848 GB, free: 84.23 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9841, allocations: 0 / 0.9848 GB, free: 84.23 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004208/0.9883, allocations: 1.125 MB / 0.9859 GB, free: 83.11 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.0002868/0.9886, allocations: 153.4 kB / 0.986 GB, free: 82.95 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004935/0.9936, allocations: 4.014 MB / 0.99 GB, free: 78.95 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.9936, allocations: 3.609 kB / 0.99 GB, free: 78.95 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.9946, allocations: 1.059 MB / 0.991 GB, free: 77.9 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002193/0.9969, allocations: 461.6 kB / 0.9914 GB, free: 77.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008845/1.006, allocations: 6.979 MB / 0.9983 GB, free: 70.34 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002099/1.008, allocations: 2.868 MB / 1.001 GB, free: 67.43 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002506/1.01, allocations: 1.205 MB / 1.002 GB, free: 66.23 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005063/1.011, allocations: 119.4 kB / 1.002 GB, free: 66.12 MB / 0.7325 GB Notification: Performance of SimCode: time 6.11e-07/1.011, allocations: 4 kB / 1.002 GB, free: 66.11 MB / 0.7325 GB Notification: Performance of Templates: time 0.04996/1.061, allocations: 24.53 MB / 1.026 GB, free: 41.89 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)