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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7765/0.7765, allocations: 132.4 MB / 139.7 MB, free: 15.55 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.001248/0.001248, allocations: 163.9 kB / 171.6 MB, free: 2.004 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.509/1.509, allocations: 170.5 MB / 373.9 MB, free: 15.84 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.001696/0.001696, allocations: 123.4 kB / 444.5 MB, free: 9.371 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.5976/0.5976, allocations: 73.4 MB / 0.666 GB, free: 62.61 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1824/0.7801, allocations: 117.7 MB / 0.7809 GB, free: 2.613 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/0.7805, allocations: 73.61 kB / 0.781 GB, free: 2.543 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: time 0.01413/0.7946, allocations: 5.235 MB / 0.7861 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.47e-05/0.7947, allocations: 4 kB / 0.7861 GB, free: 13.34 MB / 0.4948 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.0006475/0.7953, allocations: 459.7 kB / 0.7866 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/0.7954, allocations: 12.03 kB / 0.7866 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002816/0.7957, allocations: 23.8 kB / 0.7866 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003282/0.796, allocations: 211.3 kB / 0.7868 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.417e-05/0.7961, allocations: 33.88 kB / 0.7868 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.136e-05/0.7961, allocations: 10.72 kB / 0.7868 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001962/0.7963, allocations: 64.11 kB / 0.7869 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002373/0.7966, allocations: 129.6 kB / 0.787 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.7966, allocations: 0 / 0.787 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.7966, allocations: 4 kB / 0.787 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.965e-05/0.7967, allocations: 8.188 kB / 0.787 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000939/0.7976, allocations: 0.6061 MB / 0.7876 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/0.7979, allocations: 50.5 kB / 0.7877 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.409e-05/0.7979, allocations: 22.67 kB / 0.7877 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.7979, allocations: 4 kB / 0.7877 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001416/0.7981, allocations: 118.8 kB / 0.7878 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.984e-06/0.7981, allocations: 0 / 0.7878 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0002299/0.7983, allocations: 73.58 kB / 0.7879 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.55e-05/0.7984, allocations: 140.5 kB / 0.788 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.7986, allocations: 159.6 kB / 0.7882 GB, free: 11 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.7986, allocations: 29.64 kB / 0.7882 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.488e-05/0.7987, allocations: 135.5 kB / 0.7883 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.92e-05/0.7988, allocations: 23.7 kB / 0.7883 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.035e-06/0.7988, allocations: 0 / 0.7883 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.799, allocations: 322.8 kB / 0.7887 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.752e-05/0.799, allocations: 28 kB / 0.7887 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.7992, allocations: 95.03 kB / 0.7888 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.572e-05/0.7992, allocations: 43.91 kB / 0.7888 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.7993, allocations: 4 kB / 0.7888 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002453/0.7995, allocations: 141.3 kB / 0.789 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.7995, allocations: 7.984 kB / 0.789 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.7995, allocations: 4 kB / 0.789 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.7996, allocations: 7.75 kB / 0.789 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.7997, allocations: 36.23 kB / 0.789 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/0.7997, allocations: 4 kB / 0.789 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.7999, allocations: 23.83 kB / 0.789 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.219e-05/0.7999, allocations: 15.91 kB / 0.789 GB, free: 10.05 MB / 0.4948 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 ($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 0.0001209/0.8001, allocations: 135.8 kB / 0.7892 GB, free: 9.902 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.8001, allocations: 19.81 kB / 0.7892 GB, free: 9.883 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.322e-05/0.8001, allocations: 17.39 kB / 0.7892 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.8002, allocations: 0 / 0.7892 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.8002, allocations: 0 / 0.7892 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.8002, allocations: 0 / 0.7892 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.8004, allocations: 191.2 kB / 0.7894 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.8004, allocations: 0 / 0.7894 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.147e-05/0.8005, allocations: 11.98 kB / 0.7894 GB, free: 9.633 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.8005, allocations: 0 / 0.7894 GB, free: 9.633 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.8005, allocations: 7.906 kB / 0.7894 GB, free: 9.625 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.8005, allocations: 4 kB / 0.7894 GB, free: 9.621 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.8005, allocations: 0 / 0.7894 GB, free: 9.621 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002653/0.8008, allocations: 142.7 kB / 0.7896 GB, free: 9.465 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.617e-05/0.8009, allocations: 101 kB / 0.7896 GB, free: 9.348 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.435e-05/0.8009, allocations: 7.938 kB / 0.7897 GB, free: 9.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.801, allocations: 19.95 kB / 0.7897 GB, free: 9.32 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.77e-05/0.8011, allocations: 8 kB / 0.7897 GB, free: 9.312 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.789e-06/0.8011, allocations: 3.984 kB / 0.7897 GB, free: 9.309 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0001097/0.8013, allocations: 127.5 kB / 0.7898 GB, free: 9.184 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002584/0.8015, allocations: 24 kB / 0.7898 GB, free: 9.16 MB / 0.4948 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) * 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.0001821/0.8017, allocations: 99.25 kB / 0.7899 GB, free: 9.051 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002261/0.8019, allocations: 131.8 kB / 0.7901 GB, free: 8.91 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.802, allocations: 8.125 kB / 0.7901 GB, free: 8.902 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.847e-05/0.8021, allocations: 73.69 kB / 0.7901 GB, free: 8.824 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.8023, allocations: 16.11 kB / 0.7901 GB, free: 8.812 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005376/0.8028, allocations: 179.7 kB / 0.7903 GB, free: 8.613 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003696/0.8032, allocations: 0.735 MB / 0.791 GB, free: 7.852 MB / 0.4948 GB Notification: Performance of SimCode: time 2.8e-07/0.8032, allocations: 0 / 0.791 GB, free: 7.852 MB / 0.4948 GB Notification: Performance of Templates: time 0.004359/0.8076, allocations: 1.181 MB / 0.7922 GB, free: 6.711 MB / 0.4948 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)