Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.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.001215/0.001215, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001186/0.001186, allocations: 193.8 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.62/1.62, allocations: 205.1 MB / 222.1 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.716/1.716, allocations: 292.2 MB / 0.5485 GB, free: 13.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 66.58 kB / 0.671 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2665, allocations: 114.6 MB / 0.7829 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.008578/0.2752, allocations: 4.651 MB / 0.7874 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005459/0.2807, allocations: 2.206 MB / 0.7896 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004126/0.2812, allocations: 7.938 kB / 0.7896 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001708/0.283, allocations: 0.5101 MB / 0.7901 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0009141/0.2839, allocations: 251 kB / 0.7903 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.285, allocations: 318.7 kB / 0.7906 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008956/0.2859, allocations: 0.5685 MB / 0.7912 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006784/0.2866, allocations: 424 kB / 0.7916 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003714/0.287, allocations: 223.3 kB / 0.7918 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005482/0.2875, allocations: 298.9 kB / 0.7921 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.512e-05/0.2876, allocations: 40 kB / 0.7921 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005679/0.2882, allocations: 255.5 kB / 0.7923 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002015/0.2884, allocations: 175.6 kB / 0.7925 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002287/0.2886, allocations: 218.9 kB / 0.7927 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007505/0.2894, allocations: 0.6464 MB / 0.7934 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.2894, allocations: 3.938 kB / 0.7934 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2894, allocations: 0 / 0.7934 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.2894, allocations: 0 / 0.7934 GB, free: 3.09 MB / 0.6075 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.001241/0.2906, allocations: 0.7136 MB / 0.7941 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.2907, allocations: 8.031 kB / 0.7941 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009525/0.2916, allocations: 144.2 kB / 0.7942 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004605/0.2921, allocations: 320.5 kB / 0.7945 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.429e-05/0.2922, allocations: 29.36 kB / 0.7945 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.2923, allocations: 40.28 kB / 0.7946 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.2933, allocations: 0.6225 MB / 0.7952 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/0.2933, allocations: 7.938 kB / 0.7952 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.285e-05/0.2934, allocations: 19.98 kB / 0.7952 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-05/0.2935, allocations: 40.62 kB / 0.7952 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007216/0.2942, allocations: 478.1 kB / 0.7957 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003962/0.2982, allocations: 3.417 MB / 0.799 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000714/0.2989, allocations: 382.2 kB / 0.7994 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002443/0.2992, allocations: 169.6 kB / 0.7996 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.11e-05/0.2992, allocations: 12.39 kB / 0.7996 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.2993, allocations: 34.56 kB / 0.7996 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=25): time 2.154e-06/0.2993, allocations: 0 / 0.7996 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of matching and sorting (n=26): time 0.004681/0.304, allocations: 1.459 MB / 0.801 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.387e-05/0.304, allocations: 81.11 kB / 0.8011 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003856/0.3044, allocations: 324.4 kB / 0.8014 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.653e-05/0.3045, allocations: 37.69 kB / 0.8015 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/0.3047, allocations: 259.2 kB / 0.8017 GB, free: 9.984 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.079e-05/0.3047, allocations: 94.64 kB / 0.8018 GB, free: 9.891 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/0.3049, allocations: 90.16 kB / 0.8019 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.305, allocations: 346.8 kB / 0.8022 GB, free: 9.449 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002671/0.3053, allocations: 187 kB / 0.8024 GB, free: 9.266 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003666/0.3057, allocations: 338.1 kB / 0.8027 GB, free: 8.859 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006341/0.3063, allocations: 0.5319 MB / 0.8032 GB, free: 8.254 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.3063, allocations: 4 kB / 0.8032 GB, free: 8.25 MB / 0.6231 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002322/0.3087, allocations: 0.9128 MB / 0.8041 GB, free: 7.324 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/0.3087, allocations: 8.438 kB / 0.8041 GB, free: 7.316 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/0.3087, allocations: 8 kB / 0.8041 GB, free: 7.309 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002417/0.3112, allocations: 0.5009 MB / 0.8046 GB, free: 6.801 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003974/0.3116, allocations: 99.75 kB / 0.8047 GB, free: 6.703 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00603/0.3176, allocations: 4.049 MB / 0.8087 GB, free: 2.375 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004585/0.3181, allocations: 35.91 kB / 0.8087 GB, free: 2.34 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.91e-05/0.3181, allocations: 24 kB / 0.8087 GB, free: 2.316 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004672/0.3186, allocations: 297.8 kB / 0.809 GB, free: 2.02 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003669/0.319, allocations: 335.8 kB / 0.8093 GB, free: 1.617 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006221/0.3196, allocations: 0.5028 MB / 0.8098 GB, free: 1.035 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.749e-06/0.3196, allocations: 4 kB / 0.8098 GB, free: 1.031 MB / 0.6231 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0008315/0.3205, allocations: 0.524 MB / 0.8103 GB, free: 0.5 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.3205, allocations: 7.984 kB / 0.8104 GB, free: 0.4922 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.3205, allocations: 8 kB / 0.8104 GB, free: 496 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.408e-06/0.3205, allocations: 12.72 kB / 0.8104 GB, free: 484 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003938/0.3209, allocations: 107.8 kB / 0.8105 GB, free: 376 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.321, allocations: 15.94 kB / 0.8105 GB, free: 360 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003093/0.3213, allocations: 39.81 kB / 0.8105 GB, free: 320 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.988e-05/0.3213, allocations: 20 kB / 0.8105 GB, free: 300 kB / 0.6231 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 (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.0001992/0.3215, allocations: 208.1 kB / 0.8107 GB, free: 84 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.71e-05/0.3216, allocations: 35.62 kB / 0.8108 GB, free: 48 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001686/0.3233, allocations: 0.6729 MB / 0.8114 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.3233, allocations: 7.984 kB / 0.8114 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.3233, allocations: 4 kB / 0.8114 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.3233, allocations: 3.984 kB / 0.8115 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.3244, allocations: 0.6636 MB / 0.8121 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.3244, allocations: 4 kB / 0.8121 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001881/0.3246, allocations: 43.97 kB / 0.8121 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001489/0.3261, allocations: 401.2 kB / 0.8125 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.362e-05/0.3261, allocations: 4 kB / 0.8125 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004102/0.3302, allocations: 3.757 MB / 0.8162 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.3303, allocations: 4.031 kB / 0.8162 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/0.3319, allocations: 0.8219 MB / 0.817 GB, free: 9.273 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001659/0.3321, allocations: 136.7 kB / 0.8171 GB, free: 9.121 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.773e-05/0.3321, allocations: 8 kB / 0.8171 GB, free: 9.113 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003618/0.3325, allocations: 39.94 kB / 0.8172 GB, free: 9.074 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.413e-05/0.3326, allocations: 27.97 kB / 0.8172 GB, free: 9.047 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.3326, allocations: 8 kB / 0.8172 GB, free: 9.039 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002458/0.3329, allocations: 231 kB / 0.8174 GB, free: 8.816 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.483e-06/0.3329, allocations: 0 / 0.8174 GB, free: 8.816 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009088/0.3338, allocations: 195.9 kB / 0.8176 GB, free: 8.625 MB / 0.6387 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 (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.0001906/0.334, allocations: 113.7 kB / 0.8177 GB, free: 8.504 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001642/0.3356, allocations: 0.9982 MB / 0.8187 GB, free: 7.48 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3357, allocations: 7.938 kB / 0.8187 GB, free: 7.473 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007165/0.3364, allocations: 482.6 kB / 0.8192 GB, free: 6.977 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005887/0.337, allocations: 77.66 kB / 0.8193 GB, free: 6.902 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.3383, allocations: 0.9175 MB / 0.8201 GB, free: 5.949 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004671/0.3388, allocations: 0.8392 MB / 0.821 GB, free: 5.086 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003974/0.3392, allocations: 143.2 kB / 0.8211 GB, free: 4.949 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.381e-05/0.3393, allocations: 31.44 kB / 0.8211 GB, free: 4.918 MB / 0.6387 GB Notification: Performance of SimCode: time 3.4e-07/0.3393, allocations: 0 / 0.8211 GB, free: 4.918 MB / 0.6387 GB Notification: Performance of Templates: time 0.01338/0.3527, allocations: 7.209 MB / 0.8282 GB, free: 13.74 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1)