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.001354/0.001354, allocations: 103.8 kB / 16.94 MB, free: 5.906 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.001333/0.001333, allocations: 191.3 kB / 17.87 MB, free: 5.184 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.356/1.356, allocations: 222.9 MB / 241.6 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7587/0.7587, allocations: 122.9 MB / 414.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001289, allocations: 63.89 kB / 0.4917 GB, free: 7.441 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4162/0.4176, allocations: 77.92 MB / 0.5678 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.02055/0.4382, allocations: 17.17 MB / 0.5846 GB, free: 21.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009534/0.4477, allocations: 5.841 MB / 0.5903 GB, free: 16.75 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002271/0.45, allocations: 52 kB / 0.5904 GB, free: 16.74 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003847/0.454, allocations: 1.296 MB / 0.5916 GB, free: 15.74 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002705/0.4567, allocations: 0.8351 MB / 0.5924 GB, free: 15.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003516/0.4603, allocations: 1.338 MB / 0.5938 GB, free: 14.03 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005703/0.466, allocations: 4.285 MB / 0.5979 GB, free: 11.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006653/0.4727, allocations: 6.914 MB / 0.6047 GB, free: 4.984 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00275/0.4755, allocations: 1.909 MB / 0.6066 GB, free: 3.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002689/0.4782, allocations: 2.283 MB / 0.6088 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007489/0.4789, allocations: 448 kB / 0.6092 GB, free: 352 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0021/0.481, allocations: 0.8467 MB / 0.61 GB, free: 15.49 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001987/0.483, allocations: 1.716 MB / 0.6117 GB, free: 13.77 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002716/0.4858, allocations: 1.759 MB / 0.6134 GB, free: 12.01 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005994/0.4918, allocations: 6.338 MB / 0.6196 GB, free: 5.652 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4918, allocations: 4 kB / 0.6196 GB, free: 5.648 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4918, allocations: 0 / 0.6196 GB, free: 5.648 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001554/0.492, allocations: 0 / 0.6196 GB, free: 5.648 MB / 462.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.006974/0.499, allocations: 3.076 MB / 0.6226 GB, free: 2.512 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.499, allocations: 8.625 kB / 0.6226 GB, free: 2.504 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005241/0.5043, allocations: 1.113 MB / 0.6237 GB, free: 1.387 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004153/0.5085, allocations: 1.6 MB / 0.6253 GB, free: 15.74 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001913/0.5087, allocations: 226.3 kB / 0.6255 GB, free: 15.52 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007533/0.5095, allocations: 292.3 kB / 0.6258 GB, free: 15.23 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009261/0.5187, allocations: 5.311 MB / 0.631 GB, free: 9.824 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.043e-05/0.5188, allocations: 7.938 kB / 0.631 GB, free: 9.816 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003176/0.5191, allocations: 128 kB / 0.6311 GB, free: 9.691 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003123/0.5195, allocations: 201.1 kB / 0.6313 GB, free: 9.492 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007955/0.5274, allocations: 4.759 MB / 0.6359 GB, free: 4.719 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02983/0.5573, allocations: 23.17 MB / 0.6586 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004668/0.562, allocations: 3.187 MB / 0.6617 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001303/0.5634, allocations: 0.9173 MB / 0.6626 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001635/0.5635, allocations: 97.73 kB / 0.6627 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.657e-05/0.5636, allocations: 55.16 kB / 0.6627 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=82): time 4.228e-06/0.5636, allocations: 0 / 0.6627 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of matching and sorting (n=82): time 0.00331/0.5669, allocations: 2.066 MB / 0.6647 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/0.5671, allocations: 223 kB / 0.6649 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001503/0.5686, allocations: 1.106 MB / 0.666 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.679e-05/0.5687, allocations: 37.7 kB / 0.6661 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008679/0.5695, allocations: 1.281 MB / 0.6673 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002834/0.5698, allocations: 299.9 kB / 0.6676 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005018/0.5703, allocations: 351.1 kB / 0.6679 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.5705, allocations: 345.9 kB / 0.6683 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/0.5717, allocations: 0.8947 MB / 0.6691 GB, free: 36 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001704/0.5734, allocations: 1.511 MB / 0.6706 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002811/0.5763, allocations: 2.358 MB / 0.6729 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.169e-05/0.5763, allocations: 4 kB / 0.6729 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.00385/0.5801, allocations: 2.488 MB / 0.6754 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.158e-05/0.5802, allocations: 12 kB / 0.6754 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.811e-05/0.5802, allocations: 20 kB / 0.6754 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.261e-05/0.5803, allocations: 28 kB / 0.6754 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001565/0.5819, allocations: 463.2 kB / 0.6759 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.361e-05/0.5819, allocations: 39.86 kB / 0.6759 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/0.5835, allocations: 354 kB / 0.6762 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000139/0.5837, allocations: 79.98 kB / 0.6763 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002834/0.5865, allocations: 1.901 MB / 0.6782 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001673/0.5882, allocations: 1.45 MB / 0.6796 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002748/0.5909, allocations: 2.202 MB / 0.6817 GB, free: 2.039 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.214e-05/0.591, allocations: 8 kB / 0.6817 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.003865/0.5949, allocations: 2.324 MB / 0.684 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/0.5949, allocations: 12 kB / 0.684 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.572e-05/0.595, allocations: 24.09 kB / 0.684 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.97e-05/0.595, allocations: 28 kB / 0.6841 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001416/0.5964, allocations: 443.2 kB / 0.6845 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.58e-05/0.5965, allocations: 43.84 kB / 0.6845 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001637/0.5981, allocations: 282.5 kB / 0.6848 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001519/0.5983, allocations: 75.98 kB / 0.6849 GB, free: 14.8 MB / 0.5294 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.0004558/0.5987, allocations: 287.6 kB / 0.6851 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000392/0.5991, allocations: 102.9 kB / 0.6852 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002548/0.6017, allocations: 1.56 MB / 0.6868 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.6017, allocations: 12 kB / 0.6868 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.6017, allocations: 0 / 0.6868 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/0.6018, allocations: 11.92 kB / 0.6868 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007902/0.6097, allocations: 4.486 MB / 0.6912 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.6097, allocations: 0 / 0.6912 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009868/0.6107, allocations: 247.6 kB / 0.6914 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.32e-05/0.6107, allocations: 8 kB / 0.6914 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.848e-05/0.6108, allocations: 20 kB / 0.6914 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.856e-06/0.6108, allocations: 4 kB / 0.6914 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.6108, allocations: 0 / 0.6914 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002339/0.6132, allocations: 1.911 MB / 0.6933 GB, free: 6.008 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000575/0.6138, allocations: 323.6 kB / 0.6936 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002452/0.614, allocations: 12 kB / 0.6936 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001135/0.6152, allocations: 123.8 kB / 0.6937 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001667/0.6153, allocations: 64.45 kB / 0.6938 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.814e-05/0.6154, allocations: 20 kB / 0.6938 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001574/0.617, allocations: 0.7995 MB / 0.6946 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.12e-07/0.617, allocations: 0 / 0.6946 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00428/0.6213, allocations: 1.305 MB / 0.6959 GB, free: 3.344 MB / 0.5294 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.0002611/0.6216, allocations: 119.1 kB / 0.696 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005797/0.6274, allocations: 3.479 MB / 0.6994 GB, free: 15.74 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.6274, allocations: 3.828 kB / 0.6994 GB, free: 15.74 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009598/0.6284, allocations: 0.6634 MB / 0.7 GB, free: 15.07 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001751/0.6301, allocations: 198.5 kB / 0.7002 GB, free: 14.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009231/0.6394, allocations: 5.046 MB / 0.7052 GB, free: 9.797 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002396/0.6418, allocations: 2.277 MB / 0.7074 GB, free: 7.48 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005455/0.6424, allocations: 107.4 kB / 0.7075 GB, free: 7.375 MB / 0.545 GB Notification: Performance of SimCode: time 9.52e-07/0.6424, allocations: 0 / 0.7075 GB, free: 7.375 MB / 0.545 GB Notification: Performance of Templates: time 0.04643/0.6888, allocations: 28.58 MB / 0.7354 GB, free: 10.92 MB / 0.5762 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)