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/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8207/0.8207, allocations: 132.4 MB / 139.9 MB, free: 15.38 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001809/0.001809, allocations: 175.8 kB / 171.8 MB, free: 2.066 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.758/1.758, allocations: 170.6 MB / 374.2 MB, free: 17.69 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00183/0.00183, allocations: 106.9 kB / 444.8 MB, free: 14.85 MB / 346.7 MB [/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.191/0.191, allocations: 73.41 MB / 0.6666 GB, free: 14.33 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6428/0.8339, allocations: 117.7 MB / 0.7816 GB, free: 12.88 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/0.8342, allocations: 74.97 kB / 0.7817 GB, free: 12.86 MB / 490.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.01296/0.8471, allocations: 5.561 MB / 0.7871 GB, free: 9.906 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.654e-06/0.8472, allocations: 0 / 0.7871 GB, free: 9.906 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.8472, allocations: 4 kB / 0.7871 GB, free: 9.902 MB / 490.7 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.0004455/0.8476, allocations: 449.9 kB / 0.7875 GB, free: 9.426 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.8477, allocations: 12.03 kB / 0.7875 GB, free: 9.414 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001963/0.8479, allocations: 29.42 kB / 0.7876 GB, free: 9.395 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.8481, allocations: 205.5 kB / 0.7878 GB, free: 9.168 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.617e-05/0.8482, allocations: 33.89 kB / 0.7878 GB, free: 9.129 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.8482, allocations: 5.547 kB / 0.7878 GB, free: 9.125 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001515/0.8484, allocations: 67.42 kB / 0.7879 GB, free: 9.086 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.8486, allocations: 127.5 kB / 0.788 GB, free: 8.988 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.8486, allocations: 4 kB / 0.788 GB, free: 8.984 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.086e-05/0.8486, allocations: 0 / 0.788 GB, free: 8.984 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.376e-05/0.8487, allocations: 4.188 kB / 0.788 GB, free: 8.98 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006768/0.8494, allocations: 0.6115 MB / 0.7886 GB, free: 8.438 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.8496, allocations: 49.05 kB / 0.7886 GB, free: 8.395 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.528e-05/0.8496, allocations: 16.86 kB / 0.7887 GB, free: 8.379 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.8496, allocations: 0 / 0.7887 GB, free: 8.379 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001685/0.8498, allocations: 141 kB / 0.7888 GB, free: 8.242 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.8498, allocations: 0 / 0.7888 GB, free: 8.242 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002407/0.8501, allocations: 97.2 kB / 0.7889 GB, free: 8.156 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/0.8501, allocations: 133.6 kB / 0.789 GB, free: 8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.8503, allocations: 159 kB / 0.7892 GB, free: 7.867 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.8503, allocations: 25.7 kB / 0.7892 GB, free: 7.836 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.115e-05/0.8504, allocations: 141.5 kB / 0.7893 GB, free: 7.715 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.8504, allocations: 17.38 kB / 0.7893 GB, free: 7.703 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.065e-06/0.8504, allocations: 0 / 0.7893 GB, free: 7.703 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.414e-05/0.8505, allocations: 330.9 kB / 0.7897 GB, free: 7.383 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.167e-05/0.8506, allocations: 24.94 kB / 0.7897 GB, free: 7.367 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.971e-05/0.8507, allocations: 94.72 kB / 0.7898 GB, free: 7.262 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.116e-05/0.8508, allocations: 48.42 kB / 0.7898 GB, free: 7.23 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.8508, allocations: 0 / 0.7898 GB, free: 7.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002223/0.851, allocations: 163.6 kB / 0.79 GB, free: 7.098 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.766e-05/0.8511, allocations: 60.95 kB / 0.79 GB, free: 7.027 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.8511, allocations: 0.7031 kB / 0.79 GB, free: 7.027 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.648e-05/0.8511, allocations: 8.359 kB / 0.79 GB, free: 7.023 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.8512, allocations: 30.89 kB / 0.7901 GB, free: 6.996 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.8513, allocations: 5.547 kB / 0.7901 GB, free: 6.992 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.8514, allocations: 31.53 kB / 0.7901 GB, free: 6.965 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.8514, allocations: 7.875 kB / 0.7901 GB, free: 6.961 MB / 490.7 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 () * 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 8.656e-05/0.8515, allocations: 140.1 kB / 0.7902 GB, free: 6.812 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.044e-05/0.8515, allocations: 19.77 kB / 0.7903 GB, free: 6.793 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/0.8516, allocations: 16.36 kB / 0.7903 GB, free: 6.785 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.8516, allocations: 0 / 0.7903 GB, free: 6.785 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.8516, allocations: 0 / 0.7903 GB, free: 6.785 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.8516, allocations: 0 / 0.7903 GB, free: 6.785 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.8517, allocations: 194.2 kB / 0.7905 GB, free: 6.598 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.8517, allocations: 0 / 0.7905 GB, free: 6.598 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.44e-05/0.8518, allocations: 11.19 kB / 0.7905 GB, free: 6.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.8518, allocations: 0 / 0.7905 GB, free: 6.59 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.8519, allocations: 4 kB / 0.7905 GB, free: 6.586 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.8519, allocations: 3.953 kB / 0.7905 GB, free: 6.582 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.8519, allocations: 1.359 kB / 0.7905 GB, free: 6.582 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/0.8521, allocations: 154.8 kB / 0.7906 GB, free: 6.449 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.716e-05/0.8522, allocations: 101.6 kB / 0.7907 GB, free: 6.34 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.935e-05/0.8522, allocations: 4 kB / 0.7907 GB, free: 6.336 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.905e-05/0.8523, allocations: 15.16 kB / 0.7907 GB, free: 6.328 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.848e-05/0.8524, allocations: 12.3 kB / 0.7908 GB, free: 6.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.477e-06/0.8524, allocations: 5.875 kB / 0.7908 GB, free: 6.316 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.48e-05/0.8525, allocations: 123.3 kB / 0.7909 GB, free: 6.215 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.8525, allocations: 0 / 0.7909 GB, free: 6.215 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002941/0.8528, allocations: 32 kB / 0.7909 GB, free: 6.184 MB / 490.7 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) * 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.0001258/0.8529, allocations: 106 kB / 0.791 GB, free: 6.078 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002172/0.8531, allocations: 198.7 kB / 0.7912 GB, free: 5.891 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.8532, allocations: 0 / 0.7912 GB, free: 5.891 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.914e-05/0.8532, allocations: 99.92 kB / 0.7913 GB, free: 5.801 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/0.8534, allocations: 13.52 kB / 0.7913 GB, free: 5.793 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000427/0.8539, allocations: 190.7 kB / 0.7915 GB, free: 5.617 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001811/0.8541, allocations: 0.7119 MB / 0.7922 GB, free: 4.879 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.133e-05/0.8541, allocations: 24.94 kB / 0.7922 GB, free: 4.855 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.468e-05/0.8542, allocations: 11.44 kB / 0.7922 GB, free: 4.844 MB / 490.7 MB Notification: Performance of SimCode: time 2.61e-07/0.8542, allocations: 0 / 0.7922 GB, free: 4.844 MB / 490.7 MB Notification: Performance of Templates: time 0.003274/0.8574, allocations: 1.091 MB / 0.7933 GB, free: 3.781 MB / 490.7 MB 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)