Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.92/1.92, allocations: 287.5 MB / 302.6 MB, free: 8.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001303/0.001303, allocations: 176.5 kB / 371.2 MB, free: 10.75 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.643/1.643, allocations: 205.4 MB / 0.6298 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007674/0.0007675, allocations: 91.05 kB / 0.7432 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000415/0.0004152, allocations: 10.84 kB / 0.8661 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2172, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.004548/0.2218, allocations: 4.087 MB / 0.9827 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002959/0.2248, allocations: 2.078 MB / 0.9847 GB, free: 22 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003042/0.2251, allocations: 11.94 kB / 0.9847 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002894/0.2254, allocations: 71.42 kB / 0.9848 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006509/0.2261, allocations: 219 kB / 0.985 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007606/0.2268, allocations: 261.2 kB / 0.9852 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006647/0.2275, allocations: 0.6581 MB / 0.9859 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001019/0.2285, allocations: 0.63 MB / 0.9865 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000328/0.2289, allocations: 183.3 kB / 0.9867 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004214/0.2293, allocations: 255.2 kB / 0.9869 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.618e-05/0.2294, allocations: 16 kB / 0.9869 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003586/0.2297, allocations: 147.8 kB / 0.9871 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001462/0.2299, allocations: 151.6 kB / 0.9872 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.101e-05/0.23, allocations: 97.45 kB / 0.9873 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000467/0.2305, allocations: 490.7 kB / 0.9878 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2305, allocations: 0 / 0.9878 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.223e-06/0.2305, allocations: 0 / 0.9878 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.044e-05/0.2305, allocations: 0 / 0.9878 GB, free: 18.83 MB / 0.6198 GB 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.0009671/0.2315, allocations: 0.6376 MB / 0.9884 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.2315, allocations: 8.031 kB / 0.9884 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009049/0.2325, allocations: 140.3 kB / 0.9885 GB, free: 18 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003761/0.2328, allocations: 324.4 kB / 0.9889 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.2329, allocations: 33.31 kB / 0.9889 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.728e-05/0.2329, allocations: 44.34 kB / 0.9889 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007547/0.2337, allocations: 0.6224 MB / 0.9895 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.2337, allocations: 0 / 0.9895 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.282e-05/0.2338, allocations: 20 kB / 0.9896 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.777e-05/0.2339, allocations: 40.62 kB / 0.9896 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006115/0.2345, allocations: 474.1 kB / 0.99 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002629/0.2371, allocations: 3.436 MB / 0.9934 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005777/0.2377, allocations: 365 kB / 0.9938 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001922/0.2379, allocations: 173.6 kB / 0.9939 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.238, allocations: 8.406 kB / 0.9939 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.238, allocations: 34.5 kB / 0.994 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=25): time 1.723e-06/0.238, allocations: 0 / 0.994 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26): time 0.00393/0.2419, allocations: 1.467 MB / 0.9954 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/0.242, allocations: 81.11 kB / 0.9955 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002628/0.2422, allocations: 324.4 kB / 0.9958 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.2423, allocations: 37.7 kB / 0.9958 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.48e-05/0.2424, allocations: 255.3 kB / 0.9961 GB, free: 9.793 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.046e-05/0.2424, allocations: 90.75 kB / 0.9961 GB, free: 9.703 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.975e-05/0.2424, allocations: 8 kB / 0.9962 GB, free: 9.695 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.212e-05/0.2425, allocations: 342.8 kB / 0.9965 GB, free: 9.352 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002215/0.2427, allocations: 177 kB / 0.9966 GB, free: 9.176 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002595/0.243, allocations: 334.1 kB / 0.997 GB, free: 8.781 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005097/0.2435, allocations: 0.5274 MB / 0.9975 GB, free: 8.18 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.2435, allocations: 4 kB / 0.9975 GB, free: 8.176 MB / 0.6198 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001942/0.2455, allocations: 0.9122 MB / 0.9984 GB, free: 7.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.869e-05/0.2456, allocations: 248.9 kB / 0.9986 GB, free: 6.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.2456, allocations: 8 kB / 0.9986 GB, free: 6.922 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002004/0.2476, allocations: 0.5049 MB / 0.9991 GB, free: 6.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003369/0.248, allocations: 95.81 kB / 0.9992 GB, free: 6.316 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004376/0.2523, allocations: 3.781 MB / 1.003 GB, free: 2.266 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003512/0.2527, allocations: 47.8 kB / 1.003 GB, free: 2.219 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.558e-05/0.2528, allocations: 20 kB / 1.003 GB, free: 2.199 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.693e-06/0.2528, allocations: 4 kB / 1.003 GB, free: 2.195 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005865/0.2534, allocations: 475.3 kB / 1.003 GB, free: 1.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.2534, allocations: 4 kB / 1.003 GB, free: 1.727 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.712e-06/0.2534, allocations: 8 kB / 1.003 GB, free: 1.719 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003554/0.2538, allocations: 111.8 kB / 1.004 GB, free: 1.609 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.2538, allocations: 8.656 kB / 1.004 GB, free: 1.602 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002601/0.254, allocations: 39.81 kB / 1.004 GB, free: 1.562 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.794e-05/0.2541, allocations: 27.94 kB / 1.004 GB, free: 1.535 MB / 0.6198 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002071/0.2543, allocations: 268.9 kB / 1.004 GB, free: 1.262 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.975e-05/0.2544, allocations: 35.62 kB / 1.004 GB, free: 1.227 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001436/0.2558, allocations: 0.6709 MB / 1.005 GB, free: 0.5469 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.2558, allocations: 4 kB / 1.005 GB, free: 0.543 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.2558, allocations: 3.938 kB / 1.005 GB, free: 0.5391 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.2559, allocations: 3.984 kB / 1.005 GB, free: 0.5352 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009382/0.2568, allocations: 0.652 MB / 1.005 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.2568, allocations: 4 kB / 1.005 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001963/0.257, allocations: 40.06 kB / 1.005 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001515/0.2585, allocations: 417.1 kB / 1.006 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.949e-05/0.2586, allocations: 8 kB / 1.006 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004049/0.2626, allocations: 3.47 MB / 1.009 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.2627, allocations: 3.938 kB / 1.009 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001646/0.2643, allocations: 0.8383 MB / 1.01 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001924/0.2645, allocations: 140.6 kB / 1.01 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.92e-05/0.2646, allocations: 11.98 kB / 1.01 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003368/0.2649, allocations: 43.94 kB / 1.01 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.307e-05/0.265, allocations: 23.97 kB / 1.01 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/0.265, allocations: 8 kB / 1.01 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002373/0.2653, allocations: 227 kB / 1.01 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.11e-07/0.2653, allocations: 0 / 1.01 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00086/0.2662, allocations: 192 kB / 1.01 GB, free: 10.09 MB / 0.6355 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001453/0.2663, allocations: 111.2 kB / 1.011 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001655/0.268, allocations: 0.952 MB / 1.012 GB, free: 8.996 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.268, allocations: 0 / 1.012 GB, free: 8.996 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007353/0.2687, allocations: 486.9 kB / 1.012 GB, free: 8.496 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005773/0.2693, allocations: 64.98 kB / 1.012 GB, free: 8.434 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.2707, allocations: 0.927 MB / 1.013 GB, free: 7.473 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004761/0.2712, allocations: 0.8392 MB / 1.014 GB, free: 6.609 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000424/0.2717, allocations: 143.1 kB / 1.014 GB, free: 6.473 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.556e-05/0.2717, allocations: 27.44 kB / 1.014 GB, free: 6.445 MB / 0.6355 GB Notification: Performance of SimCode: time 2.21e-07/0.2718, allocations: 0 / 1.014 GB, free: 6.445 MB / 0.6355 GB Notification: Performance of Templates: time 0.01154/0.2833, allocations: 6.602 MB / 1.02 GB, free: 15.87 MB / 0.6511 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1)