Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1743/0.1763, allocations: 80.84 MB / 0.6706 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.006045/0.1824, allocations: 4.572 MB / 0.6751 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003617/0.186, allocations: 2.319 MB / 0.6774 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001983/0.1863, allocations: 4 kB / 0.6774 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001431/0.1877, allocations: 0.5408 MB / 0.6779 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0006052/0.1884, allocations: 286.7 kB / 0.6782 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008676/0.1892, allocations: 359.1 kB / 0.6785 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000612/0.1898, allocations: 0.5527 MB / 0.679 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006219/0.1905, allocations: 359.8 kB / 0.6794 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003396/0.1908, allocations: 235.2 kB / 0.6796 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005085/0.1913, allocations: 287 kB / 0.6799 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.874e-05/0.1914, allocations: 36 kB / 0.6799 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005068/0.1919, allocations: 247.6 kB / 0.6802 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002021/0.1922, allocations: 187.5 kB / 0.6803 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002128/0.1924, allocations: 203 kB / 0.6805 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007759/0.1932, allocations: 0.6346 MB / 0.6811 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.1932, allocations: 0 / 0.6811 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.314e-06/0.1932, allocations: 0 / 0.6811 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.046e-06/0.1932, allocations: 0 / 0.6811 GB, free: 7.047 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001192/0.1944, allocations: 0.702 MB / 0.6818 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.1944, allocations: 12.03 kB / 0.6818 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000965/0.1954, allocations: 144.2 kB / 0.682 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004218/0.1958, allocations: 320.5 kB / 0.6823 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.171e-05/0.1959, allocations: 29.36 kB / 0.6823 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.362e-05/0.196, allocations: 40.31 kB / 0.6824 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009756/0.1969, allocations: 0.6185 MB / 0.683 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/0.197, allocations: 7.938 kB / 0.683 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.362e-05/0.197, allocations: 19.98 kB / 0.683 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.395e-05/0.1971, allocations: 44.56 kB / 0.683 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007392/0.1979, allocations: 470.2 kB / 0.6835 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003227/0.2011, allocations: 2.798 MB / 0.6862 GB, free: 1.586 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007042/0.2018, allocations: 376.8 kB / 0.6866 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002424/0.2021, allocations: 169.6 kB / 0.6867 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.991e-05/0.2021, allocations: 11.98 kB / 0.6867 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/0.2022, allocations: 34.56 kB / 0.6868 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=25): time 1.954e-06/0.2022, allocations: 0 / 0.6868 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of matching and sorting (n=26): time 0.004602/0.2068, allocations: 1.46 MB / 0.6882 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/0.2069, allocations: 81.11 kB / 0.6883 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003476/0.2072, allocations: 328.4 kB / 0.6886 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/0.2073, allocations: 29.7 kB / 0.6886 GB, free: 15 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001667/0.2074, allocations: 255 kB / 0.6889 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.679e-05/0.2075, allocations: 94.73 kB / 0.689 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.2077, allocations: 94.06 kB / 0.689 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.2079, allocations: 346.8 kB / 0.6894 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002947/0.2082, allocations: 183 kB / 0.6895 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000399/0.2086, allocations: 342.1 kB / 0.6899 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006839/0.2093, allocations: 0.5353 MB / 0.6904 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.2093, allocations: 4 kB / 0.6904 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002237/0.2115, allocations: 0.9081 MB / 0.6913 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/0.2115, allocations: 11.41 kB / 0.6913 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.2116, allocations: 8 kB / 0.6913 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002245/0.2138, allocations: 0.501 MB / 0.6918 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004166/0.2142, allocations: 99.77 kB / 0.6919 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00612/0.2204, allocations: 4.045 MB / 0.6958 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004753/0.2209, allocations: 47.8 kB / 0.6959 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.409e-05/0.2209, allocations: 20 kB / 0.6959 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004765/0.2214, allocations: 301.1 kB / 0.6962 GB, free: 6.766 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003567/0.2218, allocations: 339.7 kB / 0.6965 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006173/0.2224, allocations: 0.5145 MB / 0.697 GB, free: 5.762 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.569e-06/0.2224, allocations: 7.938 kB / 0.697 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0007948/0.2232, allocations: 0.5242 MB / 0.6975 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.2233, allocations: 8 kB / 0.6975 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.2233, allocations: 4 kB / 0.6975 GB, free: 5.211 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.2233, allocations: 8 kB / 0.6976 GB, free: 5.203 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004073/0.2237, allocations: 111.8 kB / 0.6977 GB, free: 5.094 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.2237, allocations: 20.48 kB / 0.6977 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003047/0.224, allocations: 35.89 kB / 0.6977 GB, free: 5.039 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-05/0.2241, allocations: 24 kB / 0.6977 GB, free: 5.016 MB / 0.5294 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.0001999/0.2243, allocations: 212.7 kB / 0.6979 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.415e-05/0.2244, allocations: 31.62 kB / 0.698 GB, free: 4.77 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00168/0.2261, allocations: 0.6657 MB / 0.6986 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.2261, allocations: 7.938 kB / 0.6986 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.2261, allocations: 4 kB / 0.6986 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.2261, allocations: 3.984 kB / 0.6986 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.2272, allocations: 0.6597 MB / 0.6993 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.2272, allocations: 3.938 kB / 0.6993 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001959/0.2274, allocations: 44.06 kB / 0.6993 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001495/0.2289, allocations: 401.2 kB / 0.6997 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.78e-05/0.2289, allocations: 8 kB / 0.6997 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004278/0.2332, allocations: 3.749 MB / 0.7034 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2332, allocations: 0 / 0.7034 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00175/0.235, allocations: 0.822 MB / 0.7042 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001894/0.2352, allocations: 152.8 kB / 0.7043 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.875e-05/0.2352, allocations: 8 kB / 0.7043 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003432/0.2356, allocations: 35.94 kB / 0.7044 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.834e-05/0.2357, allocations: 27.95 kB / 0.7044 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.2357, allocations: 7.938 kB / 0.7044 GB, free: 13.76 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000247/0.236, allocations: 231.1 kB / 0.7046 GB, free: 13.54 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.236, allocations: 0 / 0.7046 GB, free: 13.54 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008557/0.2368, allocations: 196 kB / 0.7048 GB, free: 13.34 MB / 0.545 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.0001737/0.237, allocations: 110 kB / 0.7049 GB, free: 13.23 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001675/0.2387, allocations: 0.9685 MB / 0.7059 GB, free: 12.24 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.2387, allocations: 12.06 kB / 0.7059 GB, free: 12.23 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007359/0.2395, allocations: 485 kB / 0.7063 GB, free: 11.73 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006104/0.2401, allocations: 85.03 kB / 0.7064 GB, free: 11.64 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.2413, allocations: 0.7432 MB / 0.7071 GB, free: 10.87 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004358/0.2418, allocations: 0.847 MB / 0.708 GB, free: 9.992 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003723/0.2421, allocations: 143.1 kB / 0.7081 GB, free: 9.848 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.104e-05/0.2422, allocations: 35.36 kB / 0.7081 GB, free: 9.812 MB / 0.545 GB Notification: Performance of SimCode: time 4.81e-07/0.2422, allocations: 0 / 0.7081 GB, free: 9.812 MB / 0.545 GB Notification: Performance of Templates: time 0.0118/0.2541, allocations: 7.318 MB / 0.7153 GB, free: 2.527 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1)