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.2289/0.231, allocations: 80.83 MB / 0.6706 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004607/0.2357, allocations: 2.291 MB / 0.6728 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001469/0.2372, allocations: 0.8307 MB / 0.6737 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.2374, allocations: 0 / 0.6737 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006701/0.2381, allocations: 151.3 kB / 0.6738 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.000247/0.2384, allocations: 59.66 kB / 0.6739 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000234/0.2386, allocations: 55.88 kB / 0.6739 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002645/0.2389, allocations: 155.5 kB / 0.6741 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002969/0.2392, allocations: 111.1 kB / 0.6742 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.2393, allocations: 67.77 kB / 0.6742 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001647/0.2395, allocations: 75.61 kB / 0.6743 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.2395, allocations: 12 kB / 0.6743 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.2397, allocations: 51.89 kB / 0.6744 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.798e-05/0.2398, allocations: 31.91 kB / 0.6744 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.948e-05/0.2399, allocations: 63.67 kB / 0.6745 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002911/0.2402, allocations: 171.3 kB / 0.6746 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.2402, allocations: 4 kB / 0.6746 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2402, allocations: 0 / 0.6746 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.303e-06/0.2402, allocations: 0 / 0.6746 GB, free: 13.93 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.0009247/0.2411, allocations: 0.4905 MB / 0.6751 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.2412, allocations: 12.03 kB / 0.6751 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002497/0.2414, allocations: 24.83 kB / 0.6751 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003585/0.2418, allocations: 204.2 kB / 0.6753 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.032e-05/0.2419, allocations: 42.45 kB / 0.6754 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.339e-05/0.2419, allocations: 16.12 kB / 0.6754 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002957/0.2422, allocations: 144.1 kB / 0.6755 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.2422, allocations: 0 / 0.6755 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.2423, allocations: 7.984 kB / 0.6755 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.247e-05/0.2423, allocations: 4 kB / 0.6755 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002067/0.2425, allocations: 95.81 kB / 0.6756 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009924/0.2435, allocations: 0.6364 MB / 0.6762 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002655/0.2438, allocations: 54.56 kB / 0.6763 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.492e-05/0.2439, allocations: 32.91 kB / 0.6763 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.2439, allocations: 4 kB / 0.6763 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002549/0.2442, allocations: 154.6 kB / 0.6765 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 2.044e-06/0.2442, allocations: 0 / 0.6765 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0003937/0.2446, allocations: 155.4 kB / 0.6766 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.9e-05/0.2447, allocations: 132.5 kB / 0.6768 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.2449, allocations: 190.3 kB / 0.6769 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.2449, allocations: 29.7 kB / 0.677 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.447e-05/0.245, allocations: 144 kB / 0.6771 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.025e-05/0.245, allocations: 19.84 kB / 0.6771 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.087e-05/0.2451, allocations: 41.66 kB / 0.6772 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.2452, allocations: 326.8 kB / 0.6775 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.351e-05/0.2453, allocations: 35.97 kB / 0.6775 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/0.2455, allocations: 116.1 kB / 0.6776 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002609/0.2458, allocations: 226.3 kB / 0.6778 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2458, allocations: 8 kB / 0.6778 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003575/0.2462, allocations: 248.7 kB / 0.6781 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.34e-05/0.2462, allocations: 63.39 kB / 0.6781 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.2463, allocations: 8.25 kB / 0.6781 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.2463, allocations: 4.312 kB / 0.6781 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.2464, allocations: 31.92 kB / 0.6782 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.2464, allocations: 4 kB / 0.6782 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.2466, allocations: 27.88 kB / 0.6782 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.2466, allocations: 11.98 kB / 0.6782 GB, free: 9.82 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.0001599/0.2467, allocations: 167.5 kB / 0.6784 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.2468, allocations: 11.91 kB / 0.6784 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.228e-05/0.2468, allocations: 17.34 kB / 0.6784 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.2468, allocations: 8 kB / 0.6784 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.2469, allocations: 0 / 0.6784 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.2469, allocations: 0 / 0.6784 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.2471, allocations: 213.5 kB / 0.6786 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2471, allocations: 0 / 0.6786 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.79e-05/0.2472, allocations: 11.98 kB / 0.6786 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.2472, allocations: 0 / 0.6786 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.2472, allocations: 7.938 kB / 0.6786 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.2472, allocations: 0 / 0.6786 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2472, allocations: 0 / 0.6786 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003861/0.2476, allocations: 214.7 kB / 0.6788 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.084e-05/0.2477, allocations: 93.05 kB / 0.6789 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.161e-05/0.2477, allocations: 11.92 kB / 0.6789 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.2478, allocations: 4 kB / 0.6789 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.991e-05/0.2479, allocations: 11.98 kB / 0.679 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.2479, allocations: 4 kB / 0.679 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001047/0.248, allocations: 136.4 kB / 0.6791 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.248, allocations: 0 / 0.6791 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002486/0.2483, allocations: 35.88 kB / 0.6791 GB, free: 8.773 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.0001276/0.2484, allocations: 100 kB / 0.6792 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003328/0.2488, allocations: 214.6 kB / 0.6794 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2488, allocations: 0.625 kB / 0.6794 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.2489, allocations: 115.3 kB / 0.6795 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.2492, allocations: 15.98 kB / 0.6796 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006239/0.2498, allocations: 298 kB / 0.6798 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/0.2502, allocations: 0.7236 MB / 0.6805 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.488e-05/0.2502, allocations: 16.62 kB / 0.6806 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.809e-05/0.2503, allocations: 15.44 kB / 0.6806 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.2503, allocations: 0 / 0.6806 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of Templates: time 0.004614/0.2549, allocations: 1.422 MB / 0.682 GB, free: 5.785 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)