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.1717/0.1737, allocations: 80.83 MB / 0.6706 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.007643/0.1814, allocations: 4.577 MB / 0.6751 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004165/0.1857, allocations: 2.311 MB / 0.6773 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003354/0.186, allocations: 11.94 kB / 0.6774 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001738/0.1878, allocations: 0.5398 MB / 0.6779 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0006616/0.1884, allocations: 290.7 kB / 0.6782 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009431/0.1894, allocations: 343.1 kB / 0.6785 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006188/0.19, allocations: 0.5567 MB / 0.679 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005981/0.1906, allocations: 363.8 kB / 0.6794 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002919/0.1909, allocations: 235.2 kB / 0.6796 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004513/0.1914, allocations: 283 kB / 0.6799 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.124e-05/0.1915, allocations: 36 kB / 0.6799 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004702/0.1919, allocations: 251.5 kB / 0.6802 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001674/0.1921, allocations: 171.6 kB / 0.6803 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002167/0.1923, allocations: 219 kB / 0.6805 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006975/0.193, allocations: 0.6308 MB / 0.6811 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1931, allocations: 0 / 0.6811 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1931, allocations: 0 / 0.6811 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.1931, allocations: 0 / 0.6811 GB, free: 7.184 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.001167/0.1942, allocations: 0.7058 MB / 0.6818 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.1943, allocations: 8.031 kB / 0.6818 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009672/0.1953, allocations: 140.2 kB / 0.682 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004742/0.1958, allocations: 324.5 kB / 0.6823 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.753e-05/0.1958, allocations: 29.38 kB / 0.6823 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.562e-05/0.1959, allocations: 36.36 kB / 0.6823 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008503/0.1967, allocations: 0.6263 MB / 0.683 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.1968, allocations: 3.938 kB / 0.683 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.298e-05/0.1968, allocations: 20 kB / 0.683 GB, free: 5.16 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-05/0.1969, allocations: 36.64 kB / 0.683 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006899/0.1976, allocations: 474.1 kB / 0.6835 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003064/0.2007, allocations: 2.802 MB / 0.6862 GB, free: 1.723 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006982/0.2014, allocations: 376.9 kB / 0.6866 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002367/0.2016, allocations: 169.6 kB / 0.6867 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.036e-05/0.2017, allocations: 7.984 kB / 0.6867 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.2017, allocations: 42.5 kB / 0.6868 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=25): time 1.323e-06/0.2017, allocations: 0 / 0.6868 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of matching and sorting (n=26): time 0.004505/0.2062, allocations: 1.451 MB / 0.6882 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.2063, allocations: 81.11 kB / 0.6883 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003377/0.2066, allocations: 328.4 kB / 0.6886 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.2067, allocations: 29.7 kB / 0.6886 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.2068, allocations: 259 kB / 0.6889 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.511e-05/0.2069, allocations: 94.72 kB / 0.6889 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/0.2071, allocations: 98.06 kB / 0.689 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.2072, allocations: 334.8 kB / 0.6894 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002716/0.2075, allocations: 191 kB / 0.6895 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003439/0.2078, allocations: 346 kB / 0.6899 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006264/0.2085, allocations: 0.5314 MB / 0.6904 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.2085, allocations: 4 kB / 0.6904 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002143/0.2106, allocations: 0.912 MB / 0.6913 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.2106, allocations: 8 kB / 0.6913 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.2107, allocations: 4.438 kB / 0.6913 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002197/0.2129, allocations: 0.501 MB / 0.6918 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004193/0.2133, allocations: 103.8 kB / 0.6919 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005519/0.2188, allocations: 4.046 MB / 0.6958 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003911/0.2192, allocations: 43.81 kB / 0.6959 GB, free: 7.219 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-05/0.2193, allocations: 23.98 kB / 0.6959 GB, free: 7.195 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004233/0.2197, allocations: 301.1 kB / 0.6962 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003536/0.2201, allocations: 331.8 kB / 0.6965 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005926/0.2207, allocations: 0.5107 MB / 0.697 GB, free: 5.902 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.928e-06/0.2207, allocations: 4 kB / 0.697 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0007797/0.2215, allocations: 0.536 MB / 0.6975 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.2215, allocations: 8 kB / 0.6975 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.2215, allocations: 4 kB / 0.6975 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.875e-06/0.2215, allocations: 8 kB / 0.6975 GB, free: 5.336 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003815/0.2219, allocations: 111.8 kB / 0.6977 GB, free: 5.227 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.2219, allocations: 15.88 kB / 0.6977 GB, free: 5.211 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002849/0.2222, allocations: 40.25 kB / 0.6977 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.957e-05/0.2223, allocations: 28 kB / 0.6977 GB, free: 5.145 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.0002077/0.2225, allocations: 208.7 kB / 0.6979 GB, free: 4.934 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.995e-05/0.2226, allocations: 31.62 kB / 0.698 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001709/0.2243, allocations: 0.6656 MB / 0.6986 GB, free: 4.223 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.2243, allocations: 11.94 kB / 0.6986 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.2243, allocations: 4 kB / 0.6986 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.2243, allocations: 0 / 0.6986 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.2254, allocations: 0.6598 MB / 0.6993 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.2254, allocations: 3.938 kB / 0.6993 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/0.2256, allocations: 44 kB / 0.6993 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001484/0.2271, allocations: 405.3 kB / 0.6997 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.585e-05/0.2271, allocations: 8 kB / 0.6997 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004105/0.2312, allocations: 3.757 MB / 0.7034 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2312, allocations: 0 / 0.7034 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001568/0.2328, allocations: 0.822 MB / 0.7042 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001936/0.233, allocations: 144.6 kB / 0.7043 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.456e-05/0.2331, allocations: 8 kB / 0.7043 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003343/0.2334, allocations: 35.94 kB / 0.7044 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.947e-05/0.2335, allocations: 23.91 kB / 0.7044 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.2335, allocations: 8 kB / 0.7044 GB, free: 13.89 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002348/0.2338, allocations: 231 kB / 0.7046 GB, free: 13.67 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2338, allocations: 4 kB / 0.7046 GB, free: 13.66 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008743/0.2346, allocations: 188 kB / 0.7048 GB, free: 13.48 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.000173/0.2348, allocations: 111.2 kB / 0.7049 GB, free: 13.36 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001576/0.2364, allocations: 0.9724 MB / 0.7059 GB, free: 12.37 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2364, allocations: 4 kB / 0.7059 GB, free: 12.36 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006925/0.2371, allocations: 489.1 kB / 0.7063 GB, free: 11.86 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005615/0.2377, allocations: 85.11 kB / 0.7064 GB, free: 11.78 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.239, allocations: 0.7399 MB / 0.7071 GB, free: 11.01 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000427/0.2394, allocations: 0.8431 MB / 0.708 GB, free: 10.14 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003498/0.2398, allocations: 155.1 kB / 0.7081 GB, free: 9.98 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.549e-05/0.2398, allocations: 31.44 kB / 0.7081 GB, free: 9.949 MB / 0.545 GB Notification: Performance of SimCode: time 5.11e-07/0.2398, allocations: 0 / 0.7081 GB, free: 9.949 MB / 0.545 GB Notification: Performance of Templates: time 0.01311/0.253, allocations: 7.31 MB / 0.7153 GB, free: 2.672 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)