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.001139/0.001139, allocations: 103.2 kB / 16.27 MB, free: 5.961 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.001205/0.001205, allocations: 188.2 kB / 17.19 MB, free: 5.594 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.452/1.452, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.861/1.861, allocations: 292.3 MB / 0.5495 GB, free: 17.52 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.002093/0.002093, allocations: 67.89 kB / 0.6722 GB, free: 6.562 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.262, allocations: 114.6 MB / 0.784 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.4815/0.7436, allocations: 37.24 MB / 0.8204 GB, free: 27.66 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02446/0.7681, allocations: 13.59 MB / 0.8337 GB, free: 18.51 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005812/0.774, allocations: 113.8 kB / 0.8338 GB, free: 18.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.006378/0.7805, allocations: 2.28 MB / 0.836 GB, free: 17.11 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005331/0.7858, allocations: 1.407 MB / 0.8374 GB, free: 16.3 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.01019/0.7961, allocations: 3.511 MB / 0.8408 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.009657/0.8057, allocations: 6.38 MB / 0.847 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01452/0.8203, allocations: 10.03 MB / 0.8568 GB, free: 7.824 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005519/0.8258, allocations: 2.727 MB / 0.8595 GB, free: 6.555 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006764/0.8326, allocations: 3.188 MB / 0.8626 GB, free: 5.172 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002542/0.8352, allocations: 0.6208 MB / 0.8632 GB, free: 5.172 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004453/0.8397, allocations: 1.237 MB / 0.8644 GB, free: 4.93 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.004257/0.8439, allocations: 2.471 MB / 0.8668 GB, free: 3.395 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.006107/0.8501, allocations: 2.546 MB / 0.8693 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01347/0.8636, allocations: 9.084 MB / 0.8782 GB, free: 10.57 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.8636, allocations: 0 / 0.8782 GB, free: 10.57 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.073e-06/0.8636, allocations: 0 / 0.8782 GB, free: 10.57 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0003248/0.8639, allocations: 0 / 0.8782 GB, free: 10.57 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.01409/0.878, allocations: 4.302 MB / 0.8824 GB, free: 6.195 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.8781, allocations: 12.03 kB / 0.8824 GB, free: 6.184 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004588/0.8827, allocations: 0.9404 MB / 0.8833 GB, free: 5.234 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005301/0.888, allocations: 2.187 MB / 0.8855 GB, free: 3.004 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002882/0.8884, allocations: 325 kB / 0.8858 GB, free: 2.684 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001692/0.8901, allocations: 424.3 kB / 0.8862 GB, free: 2.27 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0167/0.9068, allocations: 7.369 MB / 0.8934 GB, free: 10.66 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001141/0.9069, allocations: 11.84 kB / 0.8934 GB, free: 10.65 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006441/0.9076, allocations: 184 kB / 0.8936 GB, free: 10.47 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000337/0.9079, allocations: 290.9 kB / 0.8938 GB, free: 10.19 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01199/0.9199, allocations: 5.959 MB / 0.8997 GB, free: 4.215 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04076/0.9607, allocations: 32.63 MB / 0.9315 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003382/0.9641, allocations: 2.111 MB / 0.9336 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001584/0.9658, allocations: 1.236 MB / 0.9348 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001809/0.966, allocations: 102.1 kB / 0.9349 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.966, allocations: 51.56 kB / 0.9349 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=98): time 2.385e-06/0.966, allocations: 0 / 0.9349 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=101): time 0.007958/0.974, allocations: 5.23 MB / 0.9401 GB, free: 7.879 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.898e-05/0.9741, allocations: 149.5 kB / 0.9402 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00199/0.9761, allocations: 1.453 MB / 0.9416 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001839/0.9763, allocations: 50.27 kB / 0.9417 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001143/0.9774, allocations: 1.863 MB / 0.9435 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004062/0.9779, allocations: 375 kB / 0.9438 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006556/0.9785, allocations: 459 kB / 0.9443 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.506e-05/0.9786, allocations: 301.1 kB / 0.9446 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001483/0.9801, allocations: 1.122 MB / 0.9457 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002228/0.9824, allocations: 2.18 MB / 0.9478 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003948/0.9863, allocations: 3.403 MB / 0.9511 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.312e-05/0.9864, allocations: 8 kB / 0.9511 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005087/0.9915, allocations: 3.316 MB / 0.9544 GB, free: 8.117 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.965e-05/0.9915, allocations: 19.98 kB / 0.9544 GB, free: 8.098 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.074e-05/0.9916, allocations: 36 kB / 0.9544 GB, free: 8.062 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.09e-05/0.9916, allocations: 48 kB / 0.9545 GB, free: 8.016 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00222/0.9939, allocations: 0.6199 MB / 0.9551 GB, free: 7.395 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.759e-05/0.9939, allocations: 71.72 kB / 0.9551 GB, free: 7.324 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002041/0.996, allocations: 310.9 kB / 0.9554 GB, free: 7.02 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000183/0.9962, allocations: 116 kB / 0.9555 GB, free: 6.906 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003713/0.9999, allocations: 2.405 MB / 0.9579 GB, free: 4.492 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001985/1.002, allocations: 2.015 MB / 0.9599 GB, free: 1.941 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003203/1.005, allocations: 3.033 MB / 0.9628 GB, free: 14.41 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.377e-05/1.005, allocations: 8 kB / 0.9628 GB, free: 14.41 MB / 0.7637 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.004256/1.009, allocations: 2.917 MB / 0.9657 GB, free: 11.48 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.111e-05/1.009, allocations: 20.78 kB / 0.9657 GB, free: 11.46 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.493e-05/1.01, allocations: 36.06 kB / 0.9657 GB, free: 11.43 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.873e-05/1.01, allocations: 52 kB / 0.9658 GB, free: 11.38 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001671/1.011, allocations: 0.5504 MB / 0.9663 GB, free: 10.82 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.544e-05/1.011, allocations: 79.66 kB / 0.9664 GB, free: 10.75 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001751/1.013, allocations: 243.1 kB / 0.9666 GB, free: 10.51 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001561/1.013, allocations: 111.9 kB / 0.9667 GB, free: 10.4 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.0005505/1.014, allocations: 343.2 kB / 0.9671 GB, free: 10.05 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003306/1.014, allocations: 158 kB / 0.9672 GB, free: 9.898 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003126/1.017, allocations: 2.219 MB / 0.9694 GB, free: 7.668 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/1.017, allocations: 15.94 kB / 0.9694 GB, free: 7.652 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/1.017, allocations: 4 kB / 0.9694 GB, free: 7.648 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/1.017, allocations: 7.969 kB / 0.9694 GB, free: 7.641 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01534/1.033, allocations: 10.98 MB / 0.9801 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.428e-05/1.033, allocations: 12 kB / 0.9801 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001454/1.034, allocations: 383.3 kB / 0.9805 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.757e-05/1.034, allocations: 16 kB / 0.9805 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.974e-05/1.034, allocations: 28 kB / 0.9805 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.029e-05/1.034, allocations: 23.92 kB / 0.9806 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.144e-05/1.034, allocations: 23.88 kB / 0.9806 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003281/1.038, allocations: 2.759 MB / 0.9833 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008197/1.038, allocations: 450.9 kB / 0.9837 GB, free: 8.559 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002309/1.039, allocations: 35.94 kB / 0.9837 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/1.04, allocations: 163.7 kB / 0.9839 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002054/1.04, allocations: 108.2 kB / 0.984 GB, free: 8.258 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.946e-05/1.04, allocations: 40 kB / 0.984 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001348/1.041, allocations: 0.9742 MB / 0.985 GB, free: 7.246 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/1.041, allocations: 0 / 0.985 GB, free: 7.246 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.004107/1.046, allocations: 1.125 MB / 0.9861 GB, free: 6.121 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.0002636/1.046, allocations: 154.9 kB / 0.9862 GB, free: 5.961 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.006225/1.052, allocations: 4.234 MB / 0.9904 GB, free: 1.742 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.399e-05/1.052, allocations: 4 kB / 0.9904 GB, free: 1.738 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001472/1.054, allocations: 1.056 MB / 0.9914 GB, free: 0.6836 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002556/1.056, allocations: 448.2 kB / 0.9918 GB, free: 288 kB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01265/1.069, allocations: 7.729 MB / 0.9994 GB, free: 8.363 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003097/1.072, allocations: 2.946 MB / 1.002 GB, free: 5.387 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007861/1.073, allocations: 135.4 kB / 1.002 GB, free: 5.258 MB / 0.795 GB Notification: Performance of SimCode: time 1.503e-06/1.073, allocations: 0 / 1.002 GB, free: 5.258 MB / 0.795 GB Notification: Performance of Templates: time 0.06604/1.139, allocations: 40.66 MB / 1.042 GB, free: 12.75 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)