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.2085/0.2093, allocations: 82.22 MB / 0.5935 GB, free: 5.996 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003352/0.2127, allocations: 1.95 MB / 0.5954 GB, free: 4.027 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001382/0.2141, allocations: 0.7689 MB / 0.5961 GB, free: 3.25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.2143, allocations: 4 kB / 0.5961 GB, free: 3.246 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001517/0.2144, allocations: 15.8 kB / 0.5961 GB, free: 3.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002758/0.2147, allocations: 47.75 kB / 0.5962 GB, free: 3.184 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001952/0.2149, allocations: 39.94 kB / 0.5962 GB, free: 3.145 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002476/0.2152, allocations: 163.4 kB / 0.5964 GB, free: 2.984 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000354/0.2155, allocations: 185.8 kB / 0.5965 GB, free: 2.773 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.2157, allocations: 51.78 kB / 0.5966 GB, free: 2.723 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001855/0.2159, allocations: 71.67 kB / 0.5967 GB, free: 2.652 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.603e-05/0.2159, allocations: 8 kB / 0.5967 GB, free: 2.645 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.623e-05/0.216, allocations: 19.98 kB / 0.5967 GB, free: 2.625 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.239e-05/0.2161, allocations: 27.91 kB / 0.5967 GB, free: 2.598 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.998e-05/0.2162, allocations: 53.58 kB / 0.5968 GB, free: 2.539 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002178/0.2164, allocations: 131.9 kB / 0.5969 GB, free: 2.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.2164, allocations: 0 / 0.5969 GB, free: 2.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.2164, allocations: 0 / 0.5969 GB, free: 2.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.2164, allocations: 0 / 0.5969 GB, free: 2.41 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.0008099/0.2172, allocations: 470.5 kB / 0.5973 GB, free: 1.891 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.2173, allocations: 8.031 kB / 0.5974 GB, free: 1.883 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002517/0.2175, allocations: 31.73 kB / 0.5974 GB, free: 1.852 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.2178, allocations: 210.8 kB / 0.5976 GB, free: 1.605 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.968e-05/0.2179, allocations: 37.89 kB / 0.5976 GB, free: 1.562 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.866e-05/0.2179, allocations: 8 kB / 0.5976 GB, free: 1.555 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003193/0.2183, allocations: 153.4 kB / 0.5978 GB, free: 1.391 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.2183, allocations: 0 / 0.5978 GB, free: 1.391 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.2183, allocations: 4 kB / 0.5978 GB, free: 1.387 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.96e-05/0.2183, allocations: 4.188 kB / 0.5978 GB, free: 1.383 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002111/0.2185, allocations: 96.44 kB / 0.5979 GB, free: 1.289 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009044/0.2195, allocations: 0.6528 MB / 0.5985 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002344/0.2197, allocations: 58.55 kB / 0.5986 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.624e-05/0.2198, allocations: 32.91 kB / 0.5986 GB, free: 480 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.2198, allocations: 0 / 0.5986 GB, free: 480 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002119/0.22, allocations: 150.1 kB / 0.5987 GB, free: 308 kB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.22, allocations: 3.938 kB / 0.5987 GB, free: 304 kB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003876/0.2204, allocations: 167.2 kB / 0.5989 GB, free: 124 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.077e-05/0.2205, allocations: 132.5 kB / 0.599 GB, free: 15.96 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.2207, allocations: 182.3 kB / 0.5992 GB, free: 15.77 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.2208, allocations: 33.7 kB / 0.5992 GB, free: 15.73 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.2209, allocations: 135.8 kB / 0.5994 GB, free: 15.6 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.2209, allocations: 19.72 kB / 0.5994 GB, free: 15.58 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.177e-06/0.2209, allocations: 4 kB / 0.5994 GB, free: 15.57 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.2211, allocations: 326.8 kB / 0.5997 GB, free: 15.25 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.094e-05/0.2211, allocations: 39.97 kB / 0.5997 GB, free: 15.21 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.2213, allocations: 113.4 kB / 0.5998 GB, free: 15.06 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.2215, allocations: 107.4 kB / 0.6 GB, free: 14.95 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2215, allocations: 0 / 0.6 GB, free: 14.95 MB / 462.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003829/0.2219, allocations: 248.5 kB / 0.6002 GB, free: 14.68 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.818e-05/0.222, allocations: 67.39 kB / 0.6003 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.222, allocations: 4 kB / 0.6003 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.222, allocations: 4 kB / 0.6003 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.2221, allocations: 35.92 kB / 0.6003 GB, free: 14.56 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.2221, allocations: 0 / 0.6003 GB, free: 14.56 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.2223, allocations: 40.09 kB / 0.6003 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.2223, allocations: 8 kB / 0.6003 GB, free: 14.52 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.0001444/0.2225, allocations: 164.3 kB / 0.6005 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.92e-05/0.2225, allocations: 11.91 kB / 0.6005 GB, free: 14.33 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.651e-05/0.2225, allocations: 13.41 kB / 0.6005 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2225, allocations: 0 / 0.6005 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.2225, allocations: 3.984 kB / 0.6005 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.2225, allocations: 0 / 0.6005 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001853/0.2227, allocations: 225.5 kB / 0.6007 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2227, allocations: 3.938 kB / 0.6007 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.677e-05/0.2228, allocations: 11.98 kB / 0.6008 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2229, allocations: 0 / 0.6008 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.2229, allocations: 4 kB / 0.6008 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.2229, allocations: 0 / 0.6008 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2229, allocations: 3.938 kB / 0.6008 GB, free: 14.02 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003821/0.2233, allocations: 222.5 kB / 0.601 GB, free: 13.78 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.143e-05/0.2233, allocations: 92.94 kB / 0.6011 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.852e-05/0.2234, allocations: 4 kB / 0.6011 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.308e-05/0.2235, allocations: 8 kB / 0.6011 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.812e-05/0.2235, allocations: 11.98 kB / 0.6011 GB, free: 13.65 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.2236, allocations: 4 kB / 0.6011 GB, free: 13.64 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001155/0.2237, allocations: 140.3 kB / 0.6012 GB, free: 13.51 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2237, allocations: 0 / 0.6012 GB, free: 13.51 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002359/0.2239, allocations: 28 kB / 0.6012 GB, free: 13.48 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.0001195/0.2241, allocations: 103.5 kB / 0.6013 GB, free: 13.38 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003377/0.2244, allocations: 219.2 kB / 0.6016 GB, free: 13.14 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2244, allocations: 4 kB / 0.6016 GB, free: 13.13 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.2246, allocations: 107.3 kB / 0.6017 GB, free: 13.02 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.2248, allocations: 32.03 kB / 0.6017 GB, free: 12.99 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006277/0.2254, allocations: 330 kB / 0.602 GB, free: 12.64 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.2258, allocations: 0.7121 MB / 0.6027 GB, free: 11.9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 7.996e-05/0.2259, allocations: 24.75 kB / 0.6027 GB, free: 11.88 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.608e-05/0.2259, allocations: 15.44 kB / 0.6027 GB, free: 11.86 MB / 462.1 MB Notification: Performance of SimCode: time 2.004e-06/0.2259, allocations: 0 / 0.6027 GB, free: 11.86 MB / 462.1 MB Notification: Performance of Templates: time 0.00389/0.2298, allocations: 1.2 MB / 0.6039 GB, free: 10.68 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: