Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.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.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [/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.187/0.1879, allocations: 82.22 MB / 0.5941 GB, free: 5.551 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004264/0.1922, allocations: 2.724 MB / 0.5968 GB, free: 2.809 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003018/0.1952, allocations: 1.758 MB / 0.5985 GB, free: 1.039 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002214/0.1955, allocations: 4 kB / 0.5985 GB, free: 1.035 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002468/0.1958, allocations: 39.7 kB / 0.5985 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007269/0.1965, allocations: 207.3 kB / 0.5987 GB, free: 0.793 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005622/0.1971, allocations: 163.7 kB / 0.5989 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006091/0.1977, allocations: 466.8 kB / 0.5993 GB, free: 180 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001106/0.1988, allocations: 0.5205 MB / 0.5998 GB, free: 15.62 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003163/0.1992, allocations: 103.6 kB / 0.5999 GB, free: 15.52 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004861/0.1996, allocations: 159.4 kB / 0.6001 GB, free: 15.36 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.315e-05/0.1997, allocations: 12 kB / 0.6001 GB, free: 15.35 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006018/0.2003, allocations: 287.5 kB / 0.6004 GB, free: 15.07 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001747/0.2005, allocations: 83.78 kB / 0.6005 GB, free: 14.99 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001962/0.2007, allocations: 137 kB / 0.6006 GB, free: 14.85 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007555/0.2015, allocations: 414.7 kB / 0.601 GB, free: 14.44 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2015, allocations: 0 / 0.601 GB, free: 14.44 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.2015, allocations: 0 / 0.601 GB, free: 14.44 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.431e-05/0.2015, allocations: 0 / 0.601 GB, free: 14.44 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.001261/0.2028, allocations: 0.4991 MB / 0.6015 GB, free: 13.89 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.2029, allocations: 12.03 kB / 0.6015 GB, free: 13.88 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009876/0.2039, allocations: 96.53 kB / 0.6016 GB, free: 13.79 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004188/0.2043, allocations: 259.8 kB / 0.6018 GB, free: 13.49 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.2043, allocations: 12.81 kB / 0.6018 GB, free: 13.48 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/0.2045, allocations: 28.55 kB / 0.6019 GB, free: 13.45 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006364/0.2051, allocations: 372.4 kB / 0.6022 GB, free: 13.07 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.2051, allocations: 3.938 kB / 0.6022 GB, free: 13.07 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.97e-05/0.2052, allocations: 8 kB / 0.6022 GB, free: 13.06 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001086/0.2053, allocations: 32.41 kB / 0.6023 GB, free: 13.03 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005025/0.2058, allocations: 301.5 kB / 0.6026 GB, free: 12.73 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001893/0.2077, allocations: 1.174 MB / 0.6037 GB, free: 11.5 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004393/0.2082, allocations: 234.3 kB / 0.6039 GB, free: 11.26 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.2084, allocations: 112.8 kB / 0.604 GB, free: 11.14 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001421/0.2085, allocations: 89.09 kB / 0.6041 GB, free: 11.04 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.2086, allocations: 38.56 kB / 0.6042 GB, free: 10.99 MB / 462.1 MB Notification: Performance of pre-optimization done (n=18): time 2.284e-06/0.2086, allocations: 4 kB / 0.6042 GB, free: 10.99 MB / 462.1 MB Notification: Performance of matching and sorting (n=19): time 0.001413/0.21, allocations: 0.7925 MB / 0.6049 GB, free: 10.14 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.21, allocations: 51.41 kB / 0.605 GB, free: 10.08 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002259/0.2103, allocations: 198.5 kB / 0.6052 GB, free: 9.875 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.2103, allocations: 29.7 kB / 0.6052 GB, free: 9.84 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.2104, allocations: 163.9 kB / 0.6054 GB, free: 9.676 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.892e-05/0.2105, allocations: 63.02 kB / 0.6054 GB, free: 9.613 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.994e-05/0.2106, allocations: 33.7 kB / 0.6054 GB, free: 9.574 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.2107, allocations: 338.8 kB / 0.6058 GB, free: 9.234 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/0.2109, allocations: 115.9 kB / 0.6059 GB, free: 9.121 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.2111, allocations: 173.9 kB / 0.606 GB, free: 8.93 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004505/0.2116, allocations: 296.5 kB / 0.6063 GB, free: 8.621 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.2116, allocations: 0 / 0.6063 GB, free: 8.621 MB / 462.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007817/0.2124, allocations: 422.5 kB / 0.6067 GB, free: 8.199 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.2124, allocations: 11.94 kB / 0.6067 GB, free: 8.188 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.2124, allocations: 0 / 0.6067 GB, free: 8.188 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004476/0.2129, allocations: 104.9 kB / 0.6068 GB, free: 8.082 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002467/0.2132, allocations: 47.95 kB / 0.6069 GB, free: 8.035 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002123/0.2153, allocations: 1.738 MB / 0.6086 GB, free: 6.164 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/0.2156, allocations: 20 kB / 0.6086 GB, free: 6.145 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.607e-05/0.2156, allocations: 8 kB / 0.6086 GB, free: 6.137 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002311/0.2158, allocations: 163.3 kB / 0.6088 GB, free: 5.969 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.476e-05/0.2159, allocations: 19.88 kB / 0.6088 GB, free: 5.949 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000534/0.2165, allocations: 301.4 kB / 0.6091 GB, free: 5.652 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.2165, allocations: 4 kB / 0.6091 GB, free: 5.648 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.2165, allocations: 0 / 0.6091 GB, free: 5.648 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.2165, allocations: 3.938 kB / 0.6091 GB, free: 5.645 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/0.2177, allocations: 0.7163 MB / 0.6098 GB, free: 4.867 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.2178, allocations: 0 / 0.6098 GB, free: 4.867 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002956/0.2181, allocations: 68.02 kB / 0.6098 GB, free: 4.801 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.2181, allocations: 0 / 0.6098 GB, free: 4.801 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.2181, allocations: 8 kB / 0.6099 GB, free: 4.793 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.2181, allocations: 0 / 0.6099 GB, free: 4.793 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2181, allocations: 4 kB / 0.6099 GB, free: 4.789 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008923/0.219, allocations: 0.5203 MB / 0.6104 GB, free: 4.246 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001744/0.2192, allocations: 120.9 kB / 0.6105 GB, free: 4.109 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.205e-05/0.2193, allocations: 7.984 kB / 0.6105 GB, free: 4.102 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002839/0.2196, allocations: 11.98 kB / 0.6105 GB, free: 4.09 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.227e-05/0.2197, allocations: 19.86 kB / 0.6105 GB, free: 4.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.804e-05/0.2197, allocations: 8 kB / 0.6105 GB, free: 4.062 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000228/0.2199, allocations: 148 kB / 0.6107 GB, free: 3.918 MB / 462.1 MB Notification: Performance of sort global known variables: time 6.31e-07/0.22, allocations: 0 / 0.6107 GB, free: 3.918 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005442/0.2205, allocations: 68.06 kB / 0.6107 GB, free: 3.852 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001779/0.2207, allocations: 103.2 kB / 0.6108 GB, free: 3.742 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008843/0.2216, allocations: 421.2 kB / 0.6112 GB, free: 3.32 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.2216, allocations: 4.375 kB / 0.6112 GB, free: 3.316 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002528/0.2219, allocations: 126.5 kB / 0.6114 GB, free: 3.195 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005827/0.2225, allocations: 33.67 kB / 0.6114 GB, free: 3.164 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002071/0.2246, allocations: 0.767 MB / 0.6121 GB, free: 2.367 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005128/0.2251, allocations: 0.783 MB / 0.6129 GB, free: 1.555 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002715/0.2254, allocations: 57.91 kB / 0.613 GB, free: 1.496 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.2255, allocations: 19.42 kB / 0.613 GB, free: 1.477 MB / 462.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2255, allocations: 4 kB / 0.613 GB, free: 1.473 MB / 462.1 MB Notification: Performance of Templates: time 0.008804/0.2343, allocations: 2.625 MB / 0.6155 GB, free: 14.89 MB / 478.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) Environment - environmentSimulation: