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.001149/0.001149, allocations: 100 kB / 16.94 MB, free: 6.188 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.001098/0.001098, allocations: 191.4 kB / 17.87 MB, free: 5.285 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.338/1.338, allocations: 222.9 MB / 241.6 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7346/0.7346, allocations: 122.8 MB / 414.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 59.91 kB / 0.4917 GB, free: 7.426 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.36, allocations: 77.93 MB / 0.5678 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.006179/0.3662, allocations: 4.615 MB / 0.5724 GB, free: 29.6 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003816/0.37, allocations: 2.359 MB / 0.5747 GB, free: 28.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003744/0.3705, allocations: 10.56 kB / 0.5747 GB, free: 28.02 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0015/0.372, allocations: 0.5406 MB / 0.5752 GB, free: 27.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009229/0.373, allocations: 287.7 kB / 0.5755 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.3741, allocations: 351.2 kB / 0.5758 GB, free: 27.38 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000827/0.3749, allocations: 0.5612 MB / 0.5764 GB, free: 27.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005915/0.3755, allocations: 372 kB / 0.5767 GB, free: 27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003628/0.3759, allocations: 228.6 kB / 0.5769 GB, free: 26.9 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004413/0.3763, allocations: 283.5 kB / 0.5772 GB, free: 26.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.17e-05/0.3764, allocations: 34.97 kB / 0.5772 GB, free: 26.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005996/0.377, allocations: 290.6 kB / 0.5775 GB, free: 26.69 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001794/0.3772, allocations: 179.9 kB / 0.5777 GB, free: 26.62 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001957/0.3774, allocations: 210.4 kB / 0.5779 GB, free: 26.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008403/0.3783, allocations: 0.6606 MB / 0.5785 GB, free: 26.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3783, allocations: 0 / 0.5785 GB, free: 26.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3783, allocations: 0 / 0.5785 GB, free: 26.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.3783, allocations: 2.172 kB / 0.5785 GB, free: 26.27 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.001135/0.3794, allocations: 0.7187 MB / 0.5792 GB, free: 25.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.3795, allocations: 10.22 kB / 0.5792 GB, free: 25.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00122/0.3807, allocations: 159.9 kB / 0.5794 GB, free: 25.69 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003896/0.3811, allocations: 331 kB / 0.5797 GB, free: 25.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/0.3812, allocations: 31.25 kB / 0.5797 GB, free: 25.4 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.608e-05/0.3813, allocations: 40.58 kB / 0.5798 GB, free: 25.38 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009555/0.3822, allocations: 0.6297 MB / 0.5804 GB, free: 25.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.3823, allocations: 5.312 kB / 0.5804 GB, free: 25.03 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.897e-05/0.3823, allocations: 18.31 kB / 0.5804 GB, free: 25.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.802e-05/0.3824, allocations: 42.03 kB / 0.5805 GB, free: 25.01 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007445/0.3831, allocations: 495.3 kB / 0.5809 GB, free: 24.77 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002824/0.386, allocations: 3.426 MB / 0.5843 GB, free: 21.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006642/0.3867, allocations: 377.8 kB / 0.5846 GB, free: 21.37 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002234/0.3869, allocations: 180 kB / 0.5848 GB, free: 21.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.527e-05/0.3869, allocations: 5.75 kB / 0.5848 GB, free: 21.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.387, allocations: 36.03 kB / 0.5848 GB, free: 21.22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 2.074e-06/0.387, allocations: 0 / 0.5848 GB, free: 21.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=26): time 0.004357/0.3913, allocations: 1.451 MB / 0.5863 GB, free: 20.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.3914, allocations: 86.12 kB / 0.5863 GB, free: 20.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004079/0.3918, allocations: 339.2 kB / 0.5867 GB, free: 20.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.3919, allocations: 27.23 kB / 0.5867 GB, free: 20.01 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.392, allocations: 261.8 kB / 0.5869 GB, free: 19.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.222e-05/0.392, allocations: 91.03 kB / 0.587 GB, free: 19.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/0.3922, allocations: 97.27 kB / 0.5871 GB, free: 19.63 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.602e-05/0.3923, allocations: 338.1 kB / 0.5874 GB, free: 19.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002995/0.3926, allocations: 203.3 kB / 0.5876 GB, free: 19.19 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003837/0.393, allocations: 352 kB / 0.588 GB, free: 18.89 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006668/0.3936, allocations: 0.5382 MB / 0.5885 GB, free: 18.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.3936, allocations: 1.469 kB / 0.5885 GB, free: 18.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002293/0.3959, allocations: 0.9209 MB / 0.5894 GB, free: 18.01 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.396, allocations: 8.281 kB / 0.5894 GB, free: 18.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.396, allocations: 4.656 kB / 0.5894 GB, free: 18.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00218/0.3982, allocations: 0.5019 MB / 0.5899 GB, free: 17.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000421/0.3986, allocations: 98.34 kB / 0.59 GB, free: 17.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004987/0.4036, allocations: 4.065 MB / 0.594 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005961/0.4042, allocations: 48.86 kB / 0.594 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.421e-05/0.4043, allocations: 22 kB / 0.594 GB, free: 14.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004517/0.4047, allocations: 305.8 kB / 0.5943 GB, free: 13.94 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003178/0.4051, allocations: 336.7 kB / 0.5946 GB, free: 13.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005452/0.4056, allocations: 0.5011 MB / 0.5951 GB, free: 13.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.637e-06/0.4056, allocations: 1.25 kB / 0.5951 GB, free: 13.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0008406/0.4065, allocations: 0.5428 MB / 0.5957 GB, free: 12.95 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.4065, allocations: 7.812 kB / 0.5957 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.4065, allocations: 5.594 kB / 0.5957 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.778e-06/0.4065, allocations: 12.25 kB / 0.5957 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004279/0.407, allocations: 114.5 kB / 0.5958 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.407, allocations: 15.92 kB / 0.5958 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004008/0.4074, allocations: 37.72 kB / 0.5959 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.504e-05/0.4074, allocations: 30.02 kB / 0.5959 GB, free: 12.88 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.0001663/0.4076, allocations: 212.8 kB / 0.5961 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.229e-05/0.4077, allocations: 31.84 kB / 0.5961 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001491/0.4092, allocations: 0.6879 MB / 0.5968 GB, free: 12.01 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.4092, allocations: 0 / 0.5968 GB, free: 12.01 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.4092, allocations: 4 kB / 0.5968 GB, free: 12.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.4092, allocations: 0 / 0.5968 GB, free: 12.01 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007796/0.41, allocations: 0.6559 MB / 0.5974 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.41, allocations: 4 kB / 0.5974 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/0.4102, allocations: 43.97 kB / 0.5975 GB, free: 11.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00135/0.4116, allocations: 405.2 kB / 0.5979 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.533e-05/0.4116, allocations: 4 kB / 0.5979 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003058/0.4147, allocations: 3.757 MB / 0.6015 GB, free: 6.793 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.4147, allocations: 3.984 kB / 0.6015 GB, free: 6.789 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/0.4162, allocations: 0.8258 MB / 0.6023 GB, free: 5.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/0.4163, allocations: 140.6 kB / 0.6025 GB, free: 5.773 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.192e-05/0.4164, allocations: 8 kB / 0.6025 GB, free: 5.766 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003637/0.4168, allocations: 43.88 kB / 0.6025 GB, free: 5.723 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.783e-05/0.4168, allocations: 19.97 kB / 0.6025 GB, free: 5.703 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.4169, allocations: 15.98 kB / 0.6026 GB, free: 5.688 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000239/0.4171, allocations: 235 kB / 0.6028 GB, free: 5.461 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4171, allocations: 3.938 kB / 0.6028 GB, free: 5.457 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009102/0.418, allocations: 196 kB / 0.603 GB, free: 5.266 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.0001531/0.4182, allocations: 107.5 kB / 0.6031 GB, free: 5.148 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001555/0.4197, allocations: 1.018 MB / 0.6041 GB, free: 4.105 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.4198, allocations: 3.938 kB / 0.6041 GB, free: 4.102 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005895/0.4204, allocations: 486.5 kB / 0.6045 GB, free: 3.602 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006011/0.421, allocations: 70.88 kB / 0.6046 GB, free: 3.535 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.4221, allocations: 0.8012 MB / 0.6054 GB, free: 2.691 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.4224, allocations: 0.847 MB / 0.6062 GB, free: 1.816 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.4225, allocations: 31.42 kB / 0.6062 GB, free: 1.785 MB / 446.1 MB Notification: Performance of SimCode: time 3.5e-07/0.4225, allocations: 0 / 0.6062 GB, free: 1.785 MB / 446.1 MB Notification: Performance of Templates: time 0.01102/0.4335, allocations: 8.429 MB / 0.6145 GB, free: 9.367 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)