Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.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.Utilities.Examples.TestVoltageCTRL,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") [/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.1826/0.1834, allocations: 82.22 MB / 0.5934 GB, free: 6.035 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.00255/0.186, allocations: 1.917 MB / 0.5952 GB, free: 4.102 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.1872, allocations: 0.7805 MB / 0.596 GB, free: 3.312 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.42e-05/0.1873, allocations: 0 / 0.596 GB, free: 3.312 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.1874, allocations: 15.92 kB / 0.596 GB, free: 3.297 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001806/0.1876, allocations: 43.84 kB / 0.596 GB, free: 3.254 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001433/0.1877, allocations: 39.84 kB / 0.5961 GB, free: 3.215 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.1879, allocations: 87.81 kB / 0.5962 GB, free: 3.129 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002483/0.1881, allocations: 189.8 kB / 0.5964 GB, free: 2.914 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.625e-05/0.1883, allocations: 47.83 kB / 0.5964 GB, free: 2.867 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.1884, allocations: 51.77 kB / 0.5964 GB, free: 2.816 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.1884, allocations: 8 kB / 0.5965 GB, free: 2.809 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.217e-05/0.1885, allocations: 23.92 kB / 0.5965 GB, free: 2.785 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.367e-05/0.1885, allocations: 27.91 kB / 0.5965 GB, free: 2.758 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.98e-05/0.1886, allocations: 49.64 kB / 0.5966 GB, free: 2.703 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.1888, allocations: 123.9 kB / 0.5967 GB, free: 2.582 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.1888, allocations: 3.938 kB / 0.5967 GB, free: 2.578 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1888, allocations: 0 / 0.5967 GB, free: 2.578 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1888, allocations: 0 / 0.5967 GB, free: 2.578 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006759/0.1895, allocations: 477.6 kB / 0.5971 GB, free: 2.055 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.1895, allocations: 8.031 kB / 0.5971 GB, free: 2.047 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002171/0.1898, allocations: 27.8 kB / 0.5972 GB, free: 2.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.19, allocations: 214.7 kB / 0.5974 GB, free: 1.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.649e-05/0.1901, allocations: 41.89 kB / 0.5974 GB, free: 1.723 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.1901, allocations: 15.94 kB / 0.5974 GB, free: 1.707 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002658/0.1904, allocations: 149.4 kB / 0.5976 GB, free: 1.547 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.1904, allocations: 0 / 0.5976 GB, free: 1.547 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/0.1904, allocations: 4 kB / 0.5976 GB, free: 1.543 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.096e-05/0.1905, allocations: 8.188 kB / 0.5976 GB, free: 1.535 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002033/0.1907, allocations: 96.44 kB / 0.5977 GB, free: 1.441 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008437/0.1915, allocations: 0.645 MB / 0.5983 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/0.1918, allocations: 54.61 kB / 0.5983 GB, free: 0.668 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.1918, allocations: 4 kB / 0.5984 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002113/0.192, allocations: 150.8 kB / 0.5985 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.192, allocations: 0 / 0.5985 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004068/0.1924, allocations: 240.3 kB / 0.5987 GB, free: 232 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.356e-05/0.1925, allocations: 136.5 kB / 0.5989 GB, free: 64 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.1927, allocations: 178.3 kB / 0.599 GB, free: 15.88 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.1927, allocations: 25.7 kB / 0.5991 GB, free: 15.85 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.49e-05/0.1928, allocations: 147.8 kB / 0.5992 GB, free: 15.7 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.1929, allocations: 19.72 kB / 0.5992 GB, free: 15.68 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.914e-06/0.1929, allocations: 7.938 kB / 0.5992 GB, free: 15.67 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.193, allocations: 334.8 kB / 0.5995 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.355e-05/0.1931, allocations: 35.98 kB / 0.5996 GB, free: 15.3 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.1932, allocations: 109.4 kB / 0.5997 GB, free: 15.16 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.1934, allocations: 107.3 kB / 0.5998 GB, free: 15.04 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.1934, allocations: 7.984 kB / 0.5998 GB, free: 15.04 MB / 462.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003411/0.1937, allocations: 248.8 kB / 0.6 GB, free: 14.77 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.757e-05/0.1938, allocations: 63.41 kB / 0.6001 GB, free: 14.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1938, allocations: 0 / 0.6001 GB, free: 14.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.1938, allocations: 4 kB / 0.6001 GB, free: 14.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.194, allocations: 27.98 kB / 0.6001 GB, free: 14.67 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.194, allocations: 7.938 kB / 0.6001 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.1941, allocations: 31.78 kB / 0.6002 GB, free: 14.63 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.1941, allocations: 8 kB / 0.6002 GB, free: 14.62 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,$PRE.voltageControl.ctrl.connected,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.tSwitch) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001436/0.1943, allocations: 167.5 kB / 0.6003 GB, free: 14.44 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.976e-05/0.1943, allocations: 11.91 kB / 0.6003 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.034e-05/0.1943, allocations: 21.33 kB / 0.6004 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1944, allocations: 0 / 0.6004 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1944, allocations: 3.938 kB / 0.6004 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.1944, allocations: 0 / 0.6004 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.1946, allocations: 213.5 kB / 0.6006 GB, free: 14.15 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1946, allocations: 0 / 0.6006 GB, free: 14.15 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.651e-05/0.1947, allocations: 16 kB / 0.6006 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1947, allocations: 4 kB / 0.6006 GB, free: 14.13 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.1947, allocations: 0 / 0.6006 GB, free: 14.13 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1947, allocations: 0 / 0.6006 GB, free: 14.13 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1947, allocations: 7.984 kB / 0.6006 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003538/0.1951, allocations: 218.5 kB / 0.6008 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.555e-05/0.1951, allocations: 101 kB / 0.6009 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.1952, allocations: 4 kB / 0.6009 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.971e-05/0.1953, allocations: 11.98 kB / 0.6009 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.827e-05/0.1953, allocations: 11.98 kB / 0.6009 GB, free: 13.74 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.1953, allocations: 0 / 0.6009 GB, free: 13.74 MB / 462.1 MB Notification: Performance of sorting global known variables: time 9.823e-05/0.1955, allocations: 136.2 kB / 0.601 GB, free: 13.61 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1955, allocations: 0 / 0.601 GB, free: 13.61 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002237/0.1957, allocations: 32 kB / 0.6011 GB, free: 13.58 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageControl.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001094/0.1958, allocations: 100 kB / 0.6012 GB, free: 13.47 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003138/0.1961, allocations: 222.6 kB / 0.6014 GB, free: 13.23 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1961, allocations: 0 / 0.6014 GB, free: 13.23 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.1963, allocations: 104 kB / 0.6015 GB, free: 13.12 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001798/0.1965, allocations: 23.94 kB / 0.6015 GB, free: 13.09 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005812/0.197, allocations: 338 kB / 0.6018 GB, free: 12.74 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.1974, allocations: 0.7199 MB / 0.6025 GB, free: 11.99 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 8.292e-05/0.1975, allocations: 28.56 kB / 0.6026 GB, free: 11.96 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.473e-05/0.1976, allocations: 11.44 kB / 0.6026 GB, free: 11.95 MB / 462.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1976, allocations: 0 / 0.6026 GB, free: 11.95 MB / 462.1 MB Notification: Performance of Templates: time 0.003947/0.2015, allocations: 1.199 MB / 0.6037 GB, free: 10.78 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_3.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) Environment - environmentSimulation: