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.2027/0.2069, allocations: 80.84 MB / 0.6706 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.005208/0.2122, allocations: 2.292 MB / 0.6728 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001855/0.2141, allocations: 0.819 MB / 0.6736 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002062/0.2143, allocations: 4 kB / 0.6736 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000742/0.2151, allocations: 151.3 kB / 0.6738 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002814/0.2154, allocations: 59.67 kB / 0.6738 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002343/0.2157, allocations: 55.88 kB / 0.6739 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003044/0.216, allocations: 163.4 kB / 0.6741 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002872/0.2163, allocations: 104.8 kB / 0.6742 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.2165, allocations: 71.77 kB / 0.6742 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001915/0.2167, allocations: 71.62 kB / 0.6743 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.964e-05/0.2167, allocations: 12 kB / 0.6743 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001501/0.2168, allocations: 51.89 kB / 0.6743 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.082e-05/0.2169, allocations: 39.89 kB / 0.6744 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.217, allocations: 63.67 kB / 0.6744 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003042/0.2174, allocations: 167.5 kB / 0.6746 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.2174, allocations: 0 / 0.6746 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.214e-06/0.2174, allocations: 0 / 0.6746 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.867e-06/0.2174, allocations: 0 / 0.6746 GB, free: 13.92 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0009752/0.2184, allocations: 0.4906 MB / 0.6751 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.2184, allocations: 8.031 kB / 0.6751 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000264/0.2187, allocations: 28.83 kB / 0.6751 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.219, allocations: 212 kB / 0.6753 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.117e-05/0.2191, allocations: 34.45 kB / 0.6754 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.356e-05/0.2191, allocations: 16.12 kB / 0.6754 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003042/0.2194, allocations: 152.1 kB / 0.6755 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.2194, allocations: 0 / 0.6755 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.2194, allocations: 4 kB / 0.6755 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.947e-05/0.2195, allocations: 4 kB / 0.6755 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001982/0.2197, allocations: 91.88 kB / 0.6756 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008565/0.2205, allocations: 0.6401 MB / 0.6762 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002373/0.2208, allocations: 58.55 kB / 0.6763 GB, free: 12 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.514e-05/0.2209, allocations: 24.91 kB / 0.6763 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.2209, allocations: 4 kB / 0.6763 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002044/0.2211, allocations: 146.7 kB / 0.6765 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.2211, allocations: 0 / 0.6765 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.000375/0.2215, allocations: 167.3 kB / 0.6766 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.401e-05/0.2216, allocations: 140.5 kB / 0.6768 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.2218, allocations: 178.3 kB / 0.6769 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.2218, allocations: 25.7 kB / 0.6769 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.2219, allocations: 147.7 kB / 0.6771 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.2219, allocations: 15.8 kB / 0.6771 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.422e-05/0.222, allocations: 45.7 kB / 0.6771 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.2221, allocations: 322.8 kB / 0.6775 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.2223, allocations: 35.98 kB / 0.6775 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.2224, allocations: 120.7 kB / 0.6776 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002425/0.2227, allocations: 230.3 kB / 0.6778 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2227, allocations: 0 / 0.6778 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003557/0.223, allocations: 240.7 kB / 0.6781 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.531e-05/0.2231, allocations: 59.41 kB / 0.6781 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.2231, allocations: 3.938 kB / 0.6781 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.2231, allocations: 4 kB / 0.6781 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.2233, allocations: 35.92 kB / 0.6782 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.2233, allocations: 7.984 kB / 0.6782 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.2234, allocations: 24.16 kB / 0.6782 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.2234, allocations: 12 kB / 0.6782 GB, free: 9.832 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 (voltageControl.ctrl.tSwitch,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.connected,$whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001418/0.2236, allocations: 163.4 kB / 0.6784 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.844e-05/0.2236, allocations: 15.81 kB / 0.6784 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.262e-05/0.2237, allocations: 21.33 kB / 0.6784 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.2237, allocations: 4.031 kB / 0.6784 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.2237, allocations: 0 / 0.6784 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.716e-06/0.2237, allocations: 0 / 0.6784 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.2239, allocations: 217.6 kB / 0.6786 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.2239, allocations: 7.938 kB / 0.6786 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.295e-05/0.224, allocations: 8 kB / 0.6786 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.224, allocations: 0 / 0.6786 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/0.2241, allocations: 11.92 kB / 0.6786 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.2241, allocations: 8 kB / 0.6786 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2241, allocations: 0 / 0.6786 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004283/0.2245, allocations: 214.5 kB / 0.6788 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.432e-05/0.2246, allocations: 89.11 kB / 0.6789 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.2246, allocations: 3.938 kB / 0.6789 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.717e-05/0.2247, allocations: 11.98 kB / 0.6789 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.54e-05/0.2248, allocations: 11.98 kB / 0.6789 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.2248, allocations: 4 kB / 0.679 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001059/0.2249, allocations: 128.3 kB / 0.6791 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/0.2249, allocations: 3.938 kB / 0.6791 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002615/0.2252, allocations: 28 kB / 0.6791 GB, free: 8.781 MB / 0.5137 GB 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 (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.0001277/0.2253, allocations: 108 kB / 0.6792 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003524/0.2257, allocations: 218.6 kB / 0.6794 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2257, allocations: 0 / 0.6794 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.2258, allocations: 103.3 kB / 0.6795 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.2261, allocations: 28.5 kB / 0.6795 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006939/0.2268, allocations: 290.3 kB / 0.6798 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.2271, allocations: 0.7119 MB / 0.6805 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.473e-05/0.2272, allocations: 16.64 kB / 0.6805 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.138e-05/0.2272, allocations: 19.42 kB / 0.6805 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of SimCode: time 2.91e-07/0.2272, allocations: 0 / 0.6805 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of Templates: time 0.004656/0.2319, allocations: 1.464 MB / 0.682 GB, free: 5.758 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile (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)