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.001084/0.001084, allocations: 113.5 kB / 16.38 MB, free: 6.02 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.00102/0.00102, allocations: 192.7 kB / 17.31 MB, free: 5.617 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.395/1.395, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.864/1.864, allocations: 292.3 MB / 0.5496 GB, free: 17.73 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.001446/0.001447, allocations: 68.12 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.247, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.4443/0.6914, allocations: 37.25 MB / 0.8212 GB, free: 27.54 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02398/0.7154, allocations: 13.59 MB / 0.8345 GB, free: 18.39 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005819/0.7213, allocations: 113.8 kB / 0.8346 GB, free: 18.36 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.006634/0.728, allocations: 2.278 MB / 0.8368 GB, free: 17 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005788/0.7338, allocations: 1.406 MB / 0.8382 GB, free: 16.18 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.01084/0.7447, allocations: 3.517 MB / 0.8416 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00997/0.7547, allocations: 6.37 MB / 0.8478 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01547/0.7702, allocations: 10.04 MB / 0.8576 GB, free: 7.719 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006107/0.7764, allocations: 2.736 MB / 0.8603 GB, free: 6.449 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006544/0.7829, allocations: 3.202 MB / 0.8634 GB, free: 5.039 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001891/0.7848, allocations: 0.62 MB / 0.864 GB, free: 5.039 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003778/0.7886, allocations: 1.229 MB / 0.8652 GB, free: 4.707 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003752/0.7924, allocations: 2.476 MB / 0.8676 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.005121/0.7975, allocations: 2.543 MB / 0.8701 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01347/0.811, allocations: 9.142 MB / 0.8791 GB, free: 10.02 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.8111, allocations: 0 / 0.8791 GB, free: 10.02 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.585e-06/0.8111, allocations: 0 / 0.8791 GB, free: 10.02 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0003083/0.8114, allocations: 0 / 0.8791 GB, free: 10.02 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.01346/0.8249, allocations: 4.31 MB / 0.8833 GB, free: 5.633 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 7.071e-05/0.825, allocations: 12.03 kB / 0.8833 GB, free: 5.621 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004389/0.8294, allocations: 0.9442 MB / 0.8842 GB, free: 4.672 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00423/0.8336, allocations: 2.222 MB / 0.8864 GB, free: 2.406 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002624/0.8339, allocations: 325 kB / 0.8867 GB, free: 2.086 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008144/0.8347, allocations: 428.3 kB / 0.8871 GB, free: 1.668 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01341/0.8481, allocations: 7.358 MB / 0.8943 GB, free: 10.07 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.115e-05/0.8483, allocations: 19.84 kB / 0.8943 GB, free: 10.05 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004686/0.8488, allocations: 180 kB / 0.8945 GB, free: 9.879 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003077/0.8491, allocations: 294.9 kB / 0.8947 GB, free: 9.59 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009842/0.8589, allocations: 5.955 MB / 0.9006 GB, free: 3.621 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04213/0.9011, allocations: 32.36 MB / 0.9322 GB, free: 412 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003465/0.9046, allocations: 2.107 MB / 0.9342 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001661/0.9063, allocations: 1.236 MB / 0.9354 GB, free: 13 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001912/0.9065, allocations: 113.9 kB / 0.9355 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.9065, allocations: 43.56 kB / 0.9356 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=98): time 3.196e-06/0.9065, allocations: 0 / 0.9356 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of matching and sorting (n=101): time 0.009971/0.9165, allocations: 5.227 MB / 0.9407 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.034e-05/0.9167, allocations: 145.5 kB / 0.9408 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002018/0.9187, allocations: 1.456 MB / 0.9422 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001968/0.9189, allocations: 41.7 kB / 0.9423 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001117/0.92, allocations: 1.863 MB / 0.9441 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.00036/0.9204, allocations: 374.9 kB / 0.9445 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006498/0.9211, allocations: 463 kB / 0.9449 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.9212, allocations: 301.1 kB / 0.9452 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001673/0.9228, allocations: 1.114 MB / 0.9463 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002386/0.9252, allocations: 2.192 MB / 0.9484 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003998/0.9293, allocations: 3.395 MB / 0.9517 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.566e-05/0.9293, allocations: 8 kB / 0.9517 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005146/0.9344, allocations: 3.32 MB / 0.955 GB, free: 7.801 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.736e-05/0.9345, allocations: 24.06 kB / 0.955 GB, free: 7.777 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.891e-05/0.9346, allocations: 32 kB / 0.955 GB, free: 7.746 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.923e-05/0.9346, allocations: 48 kB / 0.9551 GB, free: 7.699 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002207/0.9368, allocations: 0.6161 MB / 0.9557 GB, free: 7.082 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.782e-05/0.9369, allocations: 75.66 kB / 0.9558 GB, free: 7.008 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002184/0.9391, allocations: 310.7 kB / 0.9561 GB, free: 6.703 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002353/0.9394, allocations: 112 kB / 0.9562 GB, free: 6.594 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003826/0.9432, allocations: 2.405 MB / 0.9585 GB, free: 4.18 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002017/0.9452, allocations: 2.015 MB / 0.9605 GB, free: 1.629 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003345/0.9486, allocations: 3.029 MB / 0.9634 GB, free: 14.11 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.525e-05/0.9486, allocations: 8 kB / 0.9634 GB, free: 14.1 MB / 0.7637 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.004241/0.9529, allocations: 2.929 MB / 0.9663 GB, free: 11.16 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.9529, allocations: 23.98 kB / 0.9663 GB, free: 11.14 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.202e-05/0.953, allocations: 32.06 kB / 0.9664 GB, free: 11.11 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.385e-05/0.953, allocations: 52 kB / 0.9664 GB, free: 11.06 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001732/0.9547, allocations: 0.5498 MB / 0.9669 GB, free: 10.51 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.081e-05/0.9548, allocations: 71.72 kB / 0.967 GB, free: 10.44 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001783/0.9566, allocations: 247.3 kB / 0.9672 GB, free: 10.2 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000156/0.9568, allocations: 120 kB / 0.9674 GB, free: 10.08 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.0005164/0.9573, allocations: 331.3 kB / 0.9677 GB, free: 9.746 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003237/0.9576, allocations: 162.1 kB / 0.9678 GB, free: 9.586 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003326/0.9609, allocations: 2.215 MB / 0.97 GB, free: 7.359 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.961, allocations: 3.984 kB / 0.97 GB, free: 7.355 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.961, allocations: 7.938 kB / 0.97 GB, free: 7.348 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007791/0.9618, allocations: 438.8 kB / 0.9704 GB, free: 6.898 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002607/0.962, allocations: 23.84 kB / 0.9704 GB, free: 6.875 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001589/0.9636, allocations: 299.5 kB / 0.9707 GB, free: 6.582 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001803/0.9638, allocations: 52.92 kB / 0.9708 GB, free: 6.531 MB / 0.7637 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003776/0.9676, allocations: 2.471 MB / 0.9732 GB, free: 4.051 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003054/0.9707, allocations: 2.494 MB / 0.9756 GB, free: 1.531 MB / 0.7637 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001228/0.9719, allocations: 0.9641 MB / 0.9766 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.00173/0.9737, allocations: 0.9781 MB / 0.9775 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of Backend: time 3.91e-07/0.9737, allocations: 0 / 0.9775 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.007356/0.981, allocations: 3.473 MB / 0.9809 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of SimCode: time 0.01431/0.9954, allocations: 6.38 MB / 0.9871 GB, free: 5.73 MB / 0.7794 GB Notification: Performance of Templates: time 0.06847/1.064, allocations: 37.97 MB / 1.024 GB, free: 48 kB / 0.8106 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)