Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.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.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 108.9 kB / 16.27 MB, free: 6.004 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.001173/0.001173, allocations: 186.1 kB / 17.2 MB, free: 5.617 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.367/1.367, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7781/0.7781, allocations: 126.1 MB / 417.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 67.89 kB / 0.495 GB, free: 3.5 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3466, allocations: 78.69 MB / 0.5718 GB, free: 31.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.005826/0.3525, allocations: 4.63 MB / 0.5763 GB, free: 28.26 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003317/0.3558, allocations: 2.356 MB / 0.5786 GB, free: 26.69 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001671/0.356, allocations: 10.81 kB / 0.5787 GB, free: 26.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00125/0.3573, allocations: 0.5363 MB / 0.5792 GB, free: 26.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005178/0.3578, allocations: 294.2 kB / 0.5795 GB, free: 26.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008187/0.3586, allocations: 342.5 kB / 0.5798 GB, free: 25.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005611/0.3592, allocations: 0.5581 MB / 0.5803 GB, free: 25.51 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005243/0.3598, allocations: 376.9 kB / 0.5807 GB, free: 25.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002834/0.36, allocations: 227.7 kB / 0.5809 GB, free: 25.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003873/0.3604, allocations: 286.5 kB / 0.5812 GB, free: 25.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.341e-05/0.3605, allocations: 35.41 kB / 0.5812 GB, free: 25.03 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004285/0.361, allocations: 281.2 kB / 0.5815 GB, free: 24.9 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001426/0.3611, allocations: 188.4 kB / 0.5817 GB, free: 24.78 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001579/0.3613, allocations: 210.9 kB / 0.5819 GB, free: 24.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005827/0.3619, allocations: 0.6521 MB / 0.5825 GB, free: 24.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3619, allocations: 1.281 kB / 0.5825 GB, free: 24.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3619, allocations: 5.312 kB / 0.5825 GB, free: 24.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.3619, allocations: 0 / 0.5825 GB, free: 24.2 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.0009857/0.3629, allocations: 0.7163 MB / 0.5832 GB, free: 23.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.3629, allocations: 9 kB / 0.5832 GB, free: 23.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001217/0.3641, allocations: 166.9 kB / 0.5834 GB, free: 23.51 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003381/0.3645, allocations: 330.2 kB / 0.5837 GB, free: 23.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.3645, allocations: 28.25 kB / 0.5837 GB, free: 23.19 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.842e-05/0.3646, allocations: 35.98 kB / 0.5837 GB, free: 23.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008133/0.3654, allocations: 0.6392 MB / 0.5844 GB, free: 22.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.3655, allocations: 5.812 kB / 0.5844 GB, free: 22.72 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.709e-05/0.3655, allocations: 17.22 kB / 0.5844 GB, free: 22.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.255e-05/0.3656, allocations: 42.44 kB / 0.5844 GB, free: 22.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000746/0.3663, allocations: 487.9 kB / 0.5849 GB, free: 22.47 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002914/0.3693, allocations: 3.437 MB / 0.5883 GB, free: 19.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006532/0.3699, allocations: 379.1 kB / 0.5886 GB, free: 19.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002289/0.3702, allocations: 174.6 kB / 0.5888 GB, free: 18.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.3702, allocations: 2.969 kB / 0.5888 GB, free: 18.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.3702, allocations: 33.5 kB / 0.5888 GB, free: 18.92 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 2.716e-06/0.3702, allocations: 2.531 kB / 0.5888 GB, free: 18.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=26): time 0.004415/0.3747, allocations: 1.458 MB / 0.5902 GB, free: 18.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.3747, allocations: 80.67 kB / 0.5903 GB, free: 17.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003538/0.3751, allocations: 339.8 kB / 0.5906 GB, free: 17.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.3751, allocations: 31.2 kB / 0.5907 GB, free: 17.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.3752, allocations: 258.9 kB / 0.5909 GB, free: 17.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.586e-05/0.3753, allocations: 92.69 kB / 0.591 GB, free: 17.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/0.3754, allocations: 97.61 kB / 0.5911 GB, free: 17.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.737e-05/0.3755, allocations: 338.7 kB / 0.5914 GB, free: 16.99 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003384/0.3759, allocations: 187.6 kB / 0.5916 GB, free: 16.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000377/0.3762, allocations: 351.1 kB / 0.5919 GB, free: 16.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006107/0.3769, allocations: 0.5433 MB / 0.5925 GB, free: 16.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.3769, allocations: 6.219 kB / 0.5925 GB, free: 16.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002253/0.3791, allocations: 0.9225 MB / 0.5934 GB, free: 15.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.3792, allocations: 13.45 kB / 0.5934 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.3792, allocations: 5.938 kB / 0.5934 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002197/0.3814, allocations: 0.4974 MB / 0.5939 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003754/0.3818, allocations: 103.8 kB / 0.594 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004677/0.3865, allocations: 4.064 MB / 0.598 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000466/0.3869, allocations: 51.86 kB / 0.598 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.387, allocations: 19.98 kB / 0.598 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003776/0.3874, allocations: 305.1 kB / 0.5983 GB, free: 10.53 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002868/0.3877, allocations: 340.6 kB / 0.5986 GB, free: 10.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004847/0.3882, allocations: 0.5057 MB / 0.5991 GB, free: 9.539 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.156e-06/0.3882, allocations: 4 kB / 0.5991 GB, free: 9.535 MB / 446.1 MB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0007174/0.3889, allocations: 0.5297 MB / 0.5997 GB, free: 9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.3889, allocations: 8 kB / 0.5997 GB, free: 8.992 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3889, allocations: 4 kB / 0.5997 GB, free: 8.988 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.825e-06/0.3889, allocations: 11.94 kB / 0.5997 GB, free: 8.977 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003838/0.3893, allocations: 116.3 kB / 0.5998 GB, free: 8.863 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.3893, allocations: 11.94 kB / 0.5998 GB, free: 8.852 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003627/0.3897, allocations: 51.75 kB / 0.5998 GB, free: 8.801 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.785e-05/0.3897, allocations: 23.98 kB / 0.5999 GB, free: 8.777 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.3899, allocations: 204.1 kB / 0.6001 GB, free: 8.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.934e-05/0.3899, allocations: 31.62 kB / 0.6001 GB, free: 8.539 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001473/0.3914, allocations: 0.685 MB / 0.6008 GB, free: 7.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.3914, allocations: 4 kB / 0.6008 GB, free: 7.836 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-06/0.3914, allocations: 0 / 0.6008 GB, free: 7.836 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.3915, allocations: 4 kB / 0.6008 GB, free: 7.832 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007309/0.3922, allocations: 0.6598 MB / 0.6014 GB, free: 7.109 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3922, allocations: 0 / 0.6014 GB, free: 7.109 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/0.3924, allocations: 39.97 kB / 0.6015 GB, free: 7.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001331/0.3937, allocations: 405.2 kB / 0.6018 GB, free: 6.668 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.3938, allocations: 4 kB / 0.6018 GB, free: 6.664 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003017/0.3968, allocations: 3.765 MB / 0.6055 GB, free: 2.617 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3968, allocations: 7.969 kB / 0.6055 GB, free: 2.609 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/0.3982, allocations: 0.8261 MB / 0.6063 GB, free: 1.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.3983, allocations: 144.6 kB / 0.6065 GB, free: 1.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.196e-05/0.3984, allocations: 8 kB / 0.6065 GB, free: 1.582 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003824/0.3988, allocations: 39.94 kB / 0.6065 GB, free: 1.543 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.968e-05/0.3988, allocations: 24.16 kB / 0.6065 GB, free: 1.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.3989, allocations: 11.94 kB / 0.6066 GB, free: 1.508 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002115/0.3991, allocations: 235 kB / 0.6068 GB, free: 1.281 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3991, allocations: 0 / 0.6068 GB, free: 1.281 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008061/0.3999, allocations: 192 kB / 0.607 GB, free: 1.094 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001409/0.4001, allocations: 115.2 kB / 0.6071 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001506/0.4016, allocations: 1.015 MB / 0.6081 GB, free: 15.93 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4016, allocations: 0 / 0.6081 GB, free: 15.93 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000744/0.4023, allocations: 485.8 kB / 0.6085 GB, free: 15.42 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006014/0.403, allocations: 81.42 kB / 0.6086 GB, free: 15.35 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.4041, allocations: 0.7382 MB / 0.6093 GB, free: 14.57 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003984/0.4046, allocations: 0.847 MB / 0.6101 GB, free: 13.7 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004463/0.405, allocations: 143.1 kB / 0.6103 GB, free: 13.56 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.751e-05/0.4051, allocations: 27.44 kB / 0.6103 GB, free: 13.53 MB / 462.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4051, allocations: 0 / 0.6103 GB, free: 13.53 MB / 462.1 MB Notification: Performance of Templates: time 0.01234/0.4174, allocations: 7.358 MB / 0.6175 GB, free: 6.223 MB / 462.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1)