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.00114/0.00114, allocations: 98.5 kB / 16.02 MB, free: 80 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.001697/0.001697, allocations: 183.1 kB / 16.92 MB, free: 6.691 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.448/1.448, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7043/0.7043, allocations: 115.5 MB / 407.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003346/0.0003349, allocations: 8 kB / 495.9 MB, free: 6.352 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1561, allocations: 77.53 MB / 0.56 GB, free: 9.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01815/0.1743, allocations: 16.48 MB / 0.5761 GB, free: 8.488 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00905/0.1834, allocations: 5.799 MB / 0.5817 GB, free: 2.672 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001815/0.1853, allocations: 43.88 kB / 0.5818 GB, free: 2.629 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00134/0.1867, allocations: 321.7 kB / 0.5821 GB, free: 2.312 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002118/0.1888, allocations: 0.7863 MB / 0.5828 GB, free: 1.523 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002471/0.1913, allocations: 0.8686 MB / 0.5837 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.27/0.4613, allocations: 6.48 MB / 0.59 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01176/0.4731, allocations: 7.965 MB / 0.5978 GB, free: 13.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002708/0.4759, allocations: 1.284 MB / 0.5991 GB, free: 12.95 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003859/0.4798, allocations: 1.921 MB / 0.6009 GB, free: 12.74 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004891/0.4803, allocations: 194.5 kB / 0.6011 GB, free: 12.74 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001415/0.4817, allocations: 0.7228 MB / 0.6018 GB, free: 12.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001803/0.4835, allocations: 1.389 MB / 0.6032 GB, free: 12.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001661/0.4852, allocations: 1.408 MB / 0.6046 GB, free: 12.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00553/0.4907, allocations: 6.054 MB / 0.6105 GB, free: 9.508 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.4907, allocations: 3.984 kB / 0.6105 GB, free: 9.504 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.4907, allocations: 0 / 0.6105 GB, free: 9.504 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001052/0.4909, allocations: 0 / 0.6105 GB, free: 9.504 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.004903/0.4958, allocations: 2.475 MB / 0.6129 GB, free: 7.867 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.4958, allocations: 9.406 kB / 0.6129 GB, free: 7.867 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005209/0.501, allocations: 1.144 MB / 0.614 GB, free: 7.309 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002745/0.5038, allocations: 1.608 MB / 0.6156 GB, free: 6.379 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001359/0.5039, allocations: 230.3 kB / 0.6158 GB, free: 6.273 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00052/0.5045, allocations: 289.6 kB / 0.6161 GB, free: 6.188 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008719/0.5132, allocations: 5.298 MB / 0.6213 GB, free: 3.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.293e-05/0.5133, allocations: 3.938 kB / 0.6213 GB, free: 3.156 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003677/0.5137, allocations: 136.2 kB / 0.6214 GB, free: 3.059 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00026/0.5139, allocations: 207.3 kB / 0.6216 GB, free: 3.004 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007461/0.5214, allocations: 4.768 MB / 0.6262 GB, free: 14.46 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0283/0.5497, allocations: 23.2 MB / 0.6489 GB, free: 5.219 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004645/0.5544, allocations: 3.191 MB / 0.652 GB, free: 1.762 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001248/0.5557, allocations: 0.9071 MB / 0.6529 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001424/0.5558, allocations: 106.9 kB / 0.653 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.5559, allocations: 51.09 kB / 0.6531 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of pre-optimization done (n=82): time 3.246e-06/0.5559, allocations: 4 kB / 0.6531 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of matching and sorting (n=82): time 0.003328/0.5592, allocations: 2.09 MB / 0.6551 GB, free: 14.56 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/0.5594, allocations: 222.2 kB / 0.6553 GB, free: 14.29 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/0.5608, allocations: 1.094 MB / 0.6564 GB, free: 13.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.182e-05/0.5609, allocations: 41.7 kB / 0.6564 GB, free: 13.14 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001063/0.562, allocations: 1.282 MB / 0.6577 GB, free: 11.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002891/0.5623, allocations: 304.6 kB / 0.658 GB, free: 11.55 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001961/0.5625, allocations: 129.6 kB / 0.6581 GB, free: 11.42 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.5626, allocations: 345.9 kB / 0.6584 GB, free: 11.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001329/0.564, allocations: 0.8861 MB / 0.6593 GB, free: 10.19 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001777/0.5658, allocations: 1.521 MB / 0.6608 GB, free: 8.395 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002972/0.5687, allocations: 2.366 MB / 0.6631 GB, free: 5.766 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/0.5688, allocations: 4 kB / 0.6631 GB, free: 5.762 MB / 494.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003831/0.5726, allocations: 2.5 MB / 0.6655 GB, free: 3.258 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004845/0.5731, allocations: 0.64 MB / 0.6661 GB, free: 2.352 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.599e-05/0.5731, allocations: 24 kB / 0.6662 GB, free: 2.328 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.406e-05/0.5732, allocations: 28 kB / 0.6662 GB, free: 2.301 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00171/0.5749, allocations: 467.1 kB / 0.6666 GB, free: 1.844 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-05/0.5749, allocations: 39.86 kB / 0.6667 GB, free: 1.805 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/0.5765, allocations: 341.9 kB / 0.667 GB, free: 1.469 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001371/0.5767, allocations: 79.98 kB / 0.6671 GB, free: 1.391 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.5767, allocations: 7.984 kB / 0.6671 GB, free: 1.383 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003528/0.5802, allocations: 2.23 MB / 0.6693 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.012e-05/0.5803, allocations: 16 kB / 0.6693 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.163e-05/0.5804, allocations: 28 kB / 0.6693 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/0.5819, allocations: 443.3 kB / 0.6697 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.828e-05/0.582, allocations: 43.84 kB / 0.6698 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/0.5834, allocations: 254.7 kB / 0.67 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/0.5835, allocations: 75.98 kB / 0.6701 GB, free: 14.31 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002956/0.5865, allocations: 1.281 MB / 0.6713 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003902/0.5869, allocations: 98.78 kB / 0.6714 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002621/0.5895, allocations: 1.564 MB / 0.673 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/0.5895, allocations: 8 kB / 0.673 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.5895, allocations: 4 kB / 0.673 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.637e-05/0.5896, allocations: 11.91 kB / 0.673 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006979/0.5965, allocations: 4.51 MB / 0.6774 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.5966, allocations: 4 kB / 0.6774 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/0.5976, allocations: 255.6 kB / 0.6776 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-05/0.5976, allocations: 4 kB / 0.6776 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.194e-05/0.5977, allocations: 16 kB / 0.6777 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.647e-05/0.5977, allocations: 4 kB / 0.6777 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.734e-06/0.5977, allocations: 7.938 kB / 0.6777 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002246/0.6, allocations: 1.919 MB / 0.6795 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00061/0.6006, allocations: 363.5 kB / 0.6799 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/0.6008, allocations: 16 kB / 0.6799 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009017/0.6017, allocations: 123.8 kB / 0.68 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/0.6018, allocations: 60.47 kB / 0.6801 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.502e-05/0.6019, allocations: 23.98 kB / 0.6801 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001153/0.6031, allocations: 0.7917 MB / 0.6809 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6031, allocations: 0 / 0.6809 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003869/0.6069, allocations: 1.298 MB / 0.6821 GB, free: 1.785 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 (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.0002393/0.6072, allocations: 127.1 kB / 0.6823 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004782/0.612, allocations: 2.991 MB / 0.6852 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.612, allocations: 0 / 0.6852 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.613, allocations: 0.6596 MB / 0.6858 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001948/0.615, allocations: 185.2 kB / 0.686 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009723/0.6247, allocations: 5.794 MB / 0.6917 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002275/0.6271, allocations: 2.206 MB / 0.6938 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002708/0.6298, allocations: 1.093 MB / 0.6949 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003442/0.6301, allocations: 95.41 kB / 0.695 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of SimCode: time 9.42e-07/0.6302, allocations: 3.938 kB / 0.695 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of Templates: time 0.03195/0.6621, allocations: 15.03 MB / 0.7097 GB, free: 5.684 MB / 0.5294 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)