Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009758/0.0009758, allocations: 96.97 kB / 15.69 MB, free: 480 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.001012/0.001013, allocations: 175.3 kB / 16.57 MB, free: 6.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 223.2 MB / 240.5 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6691/0.6691, allocations: 113.8 MB / 405.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003522/0.0003522, allocations: 8 kB / 493.1 MB, free: 8.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.1834, allocations: 77.15 MB / 0.5569 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01548/0.1989, allocations: 15.32 MB / 0.5718 GB, free: 12.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008874/0.2078, allocations: 5.513 MB / 0.5772 GB, free: 6.727 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001154/0.209, allocations: 39.88 kB / 0.5772 GB, free: 6.688 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001117/0.2102, allocations: 361.8 kB / 0.5776 GB, free: 6.332 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001943/0.2121, allocations: 0.5607 MB / 0.5781 GB, free: 5.77 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002111/0.2142, allocations: 0.7715 MB / 0.5789 GB, free: 5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002545/0.2168, allocations: 1.891 MB / 0.5807 GB, free: 3.105 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3052/0.522, allocations: 7.029 MB / 0.5876 GB, free: 13.12 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002178/0.5243, allocations: 1.07 MB / 0.5886 GB, free: 13.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002332/0.5266, allocations: 1.237 MB / 0.5898 GB, free: 13.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000684/0.5273, allocations: 193.5 kB / 0.59 GB, free: 13.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00126/0.5286, allocations: 402.5 kB / 0.5904 GB, free: 13.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001854/0.5304, allocations: 1.272 MB / 0.5917 GB, free: 13.11 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00102/0.5315, allocations: 0.5594 MB / 0.5922 GB, free: 13.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008103/0.5396, allocations: 5.322 MB / 0.5974 GB, free: 12.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.5396, allocations: 0 / 0.5974 GB, free: 12.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.536e-06/0.5396, allocations: 1.781 kB / 0.5974 GB, free: 12.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000248/0.5399, allocations: 2.297 kB / 0.5974 GB, free: 12.86 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.007905/0.5478, allocations: 2.501 MB / 0.5998 GB, free: 11.72 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.5478, allocations: 10.03 kB / 0.5999 GB, free: 11.72 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006579/0.5544, allocations: 1.212 MB / 0.601 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00492/0.5594, allocations: 1.588 MB / 0.6026 GB, free: 11.13 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003054/0.5597, allocations: 227.2 kB / 0.6028 GB, free: 11.12 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001983/0.5617, allocations: 290.9 kB / 0.6031 GB, free: 11.12 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01292/0.5746, allocations: 5.254 MB / 0.6082 GB, free: 9.672 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.349e-05/0.5747, allocations: 2.156 kB / 0.6082 GB, free: 9.672 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004533/0.5752, allocations: 127.8 kB / 0.6083 GB, free: 9.672 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000272/0.5755, allocations: 211.9 kB / 0.6085 GB, free: 9.637 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01106/0.5865, allocations: 4.743 MB / 0.6132 GB, free: 8.723 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03954/0.6261, allocations: 23.2 MB / 0.6358 GB, free: 3.828 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004993/0.6312, allocations: 3.192 MB / 0.6389 GB, free: 384 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002462/0.6315, allocations: 110.1 kB / 0.639 GB, free: 264 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.127e-05/0.6315, allocations: 46.69 kB / 0.6391 GB, free: 212 kB / 462.1 MB Notification: Performance of pre-optimization done (n=82): time 2.995e-06/0.6316, allocations: 4 kB / 0.6391 GB, free: 208 kB / 462.1 MB Notification: Performance of matching and sorting (n=82): time 0.003825/0.6354, allocations: 2.12 MB / 0.6412 GB, free: 14.09 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.6355, allocations: 218.4 kB / 0.6414 GB, free: 13.82 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001876/0.6374, allocations: 1.094 MB / 0.6424 GB, free: 12.72 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001304/0.6375, allocations: 41.7 kB / 0.6425 GB, free: 12.67 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009012/0.6385, allocations: 1.278 MB / 0.6437 GB, free: 11.38 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003512/0.6388, allocations: 299.1 kB / 0.644 GB, free: 11.09 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.6389, allocations: 32 kB / 0.644 GB, free: 11.06 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.6391, allocations: 410.7 kB / 0.6444 GB, free: 10.65 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001341/0.6405, allocations: 0.8939 MB / 0.6453 GB, free: 9.758 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001832/0.6423, allocations: 1.507 MB / 0.6468 GB, free: 7.977 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00175/0.6441, allocations: 1.194 MB / 0.6479 GB, free: 6.789 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.545e-05/0.6441, allocations: 8 kB / 0.648 GB, free: 6.781 MB / 478.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004132/0.6483, allocations: 2.508 MB / 0.6504 GB, free: 4.262 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.003434/0.6517, allocations: 7.484 MB / 0.6577 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.217e-05/0.6518, allocations: 20 kB / 0.6577 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.75e-05/0.6519, allocations: 35.94 kB / 0.6578 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001806/0.6537, allocations: 471.2 kB / 0.6582 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.71e-05/0.6537, allocations: 41.83 kB / 0.6583 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001894/0.6556, allocations: 341.8 kB / 0.6586 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002332/0.6559, allocations: 79.97 kB / 0.6587 GB, free: 11.23 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.6559, allocations: 4 kB / 0.6587 GB, free: 11.22 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003667/0.6596, allocations: 2.234 MB / 0.6608 GB, free: 8.984 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.64e-05/0.6597, allocations: 20 kB / 0.6609 GB, free: 8.965 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.606e-05/0.6597, allocations: 40.05 kB / 0.6609 GB, free: 8.926 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/0.6612, allocations: 439.2 kB / 0.6613 GB, free: 8.496 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.731e-05/0.6613, allocations: 39.86 kB / 0.6614 GB, free: 8.457 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/0.6627, allocations: 242.7 kB / 0.6616 GB, free: 8.219 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001514/0.6629, allocations: 79.98 kB / 0.6617 GB, free: 8.141 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (197): * Single equations (assignments): 197 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002692/0.6656, allocations: 1.281 MB / 0.6629 GB, free: 6.848 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004273/0.666, allocations: 102.8 kB / 0.663 GB, free: 6.746 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00257/0.6686, allocations: 1.587 MB / 0.6646 GB, free: 5.141 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/0.6687, allocations: 11.66 kB / 0.6646 GB, free: 5.133 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.6687, allocations: 4 kB / 0.6646 GB, free: 5.129 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.6687, allocations: 3.984 kB / 0.6646 GB, free: 5.125 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00932/0.678, allocations: 4.253 MB / 0.6687 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.826e-06/0.6781, allocations: 1.969 kB / 0.6687 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/0.6791, allocations: 255.6 kB / 0.669 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-05/0.6791, allocations: 7.953 kB / 0.669 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.708e-05/0.6792, allocations: 16 kB / 0.669 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.935e-06/0.6792, allocations: 7.938 kB / 0.669 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.6793, allocations: 0 / 0.669 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002488/0.6817, allocations: 2.01 MB / 0.671 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009218/0.6827, allocations: 363.5 kB / 0.6713 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002863/0.683, allocations: 23.95 kB / 0.6713 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/0.684, allocations: 127.8 kB / 0.6715 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.6842, allocations: 44.59 kB / 0.6715 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.054e-05/0.6842, allocations: 24 kB / 0.6715 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001193/0.6854, allocations: 0.7917 MB / 0.6723 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6854, allocations: 0 / 0.6723 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00408/0.6895, allocations: 1.301 MB / 0.6736 GB, free: 11.79 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (85): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002243/0.6898, allocations: 123.8 kB / 0.6737 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004634/0.6944, allocations: 3.019 MB / 0.6766 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.6945, allocations: 2.188 kB / 0.6766 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009552/0.6954, allocations: 0.6713 MB / 0.6773 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/0.6968, allocations: 171.6 kB / 0.6775 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/0.7068, allocations: 5.526 MB / 0.6829 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003056/0.7099, allocations: 2.267 MB / 0.6851 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002836/0.7128, allocations: 1.101 MB / 0.6861 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004017/0.7132, allocations: 83.42 kB / 0.6862 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of SimCode: time 6.91e-07/0.7132, allocations: 0 / 0.6862 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of Templates: time 0.02777/0.741, allocations: 14.71 MB / 0.7006 GB, free: 212 kB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)