Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [: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.7644/0.7644, allocations: 132.4 MB / 139.7 MB, free: 15.57 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.001598/0.001598, allocations: 170 kB / 171.6 MB, free: 1.98 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.532/1.532, allocations: 170.5 MB / 373.9 MB, free: 15.93 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.001707/0.001707, allocations: 100 kB / 444.4 MB, free: 9.441 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.5379/0.5379, allocations: 73.39 MB / 0.666 GB, free: 62.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1772/0.7151, allocations: 131 MB / 0.7939 GB, free: 5.234 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003382/0.7155, allocations: 99.45 kB / 0.794 GB, free: 5.141 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.05077/0.7663, allocations: 19.16 MB / 0.8127 GB, free: 1.926 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.861e-05/0.7664, allocations: 11.94 kB / 0.8128 GB, free: 1.914 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001365/0.7678, allocations: 0.543 MB / 0.8133 GB, free: 1.328 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.567e-05/0.7679, allocations: 12.02 kB / 0.8133 GB, free: 1.316 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/0.7691, allocations: 103.5 kB / 0.8134 GB, free: 1.215 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006633/0.7697, allocations: 284.7 kB / 0.8137 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.7698, allocations: 4 kB / 0.8137 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.244e-05/0.7699, allocations: 23.94 kB / 0.8137 GB, free: 0.8711 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005105/0.7704, allocations: 261.1 kB / 0.8139 GB, free: 0.6172 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000616/0.771, allocations: 399.6 kB / 0.8143 GB, free: 196 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.7711, allocations: 4 kB / 0.8143 GB, free: 192 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.643e-05/0.7711, allocations: 4 kB / 0.8143 GB, free: 188 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001015/0.7712, allocations: 28.42 kB / 0.8144 GB, free: 160 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002564/0.7738, allocations: 1.796 MB / 0.8161 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003404/0.7741, allocations: 242.8 kB / 0.8163 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002139/0.7744, allocations: 157.2 kB / 0.8165 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.7744, allocations: 192 / 0.8165 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.7744, allocations: 42.69 kB / 0.8165 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=22): time 2.284e-06/0.7745, allocations: 0 / 0.8165 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23): time 0.001512/0.776, allocations: 0.8081 MB / 0.8173 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.776, allocations: 59.41 kB / 0.8174 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002544/0.7763, allocations: 198 kB / 0.8176 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/0.7763, allocations: 25.7 kB / 0.8176 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.7765, allocations: 175.7 kB / 0.8178 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.797e-05/0.7765, allocations: 82.75 kB / 0.8178 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.896e-05/0.7766, allocations: 4 kB / 0.8178 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.7767, allocations: 334.8 kB / 0.8182 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002409/0.777, allocations: 146.8 kB / 0.8183 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002607/0.7772, allocations: 221.3 kB / 0.8185 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003883/0.7776, allocations: 198.6 kB / 0.8187 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.7777, allocations: 0 / 0.8187 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001169/0.7788, allocations: 0.5562 MB / 0.8192 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.7789, allocations: 8 kB / 0.8193 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.7789, allocations: 0 / 0.8193 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007388/0.7796, allocations: 182 kB / 0.8194 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003123/0.7799, allocations: 59.91 kB / 0.8195 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002945/0.7829, allocations: 2.149 MB / 0.8216 GB, free: 8.387 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003119/0.7832, allocations: 4 kB / 0.8216 GB, free: 8.383 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.077e-05/0.7833, allocations: 16 kB / 0.8216 GB, free: 8.367 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001425/0.7834, allocations: 117 kB / 0.8217 GB, free: 8.246 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.48e-05/0.7835, allocations: 19.72 kB / 0.8217 GB, free: 8.227 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005623/0.7841, allocations: 351 kB / 0.8221 GB, free: 7.883 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.7841, allocations: 4 kB / 0.8221 GB, free: 7.879 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.7841, allocations: 0 / 0.8221 GB, free: 7.879 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.7841, allocations: 0 / 0.8221 GB, free: 7.879 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.7852, allocations: 0.7759 MB / 0.8228 GB, free: 7.055 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.7852, allocations: 0 / 0.8228 GB, free: 7.055 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004205/0.7857, allocations: 71.88 kB / 0.8229 GB, free: 6.984 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.916e-06/0.7857, allocations: 4 kB / 0.8229 GB, free: 6.98 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.937e-05/0.7857, allocations: 4 kB / 0.8229 GB, free: 6.977 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.7857, allocations: 4 kB / 0.8229 GB, free: 6.973 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.7857, allocations: 0 / 0.8229 GB, free: 6.973 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008012/0.7865, allocations: 0.6333 MB / 0.8235 GB, free: 6.305 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001669/0.7867, allocations: 128.7 kB / 0.8237 GB, free: 6.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.46e-05/0.7868, allocations: 7.984 kB / 0.8237 GB, free: 6.152 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/0.787, allocations: 4 kB / 0.8237 GB, free: 6.148 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.7871, allocations: 15.92 kB / 0.8237 GB, free: 6.133 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/0.7871, allocations: 15.98 kB / 0.8237 GB, free: 6.117 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.000166/0.7873, allocations: 156.1 kB / 0.8238 GB, free: 5.961 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004712/0.7877, allocations: 83.94 kB / 0.8239 GB, free: 5.879 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * 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.0002097/0.788, allocations: 119.1 kB / 0.824 GB, free: 5.75 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008785/0.7888, allocations: 494.4 kB / 0.8245 GB, free: 5.258 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.7889, allocations: 0 / 0.8245 GB, free: 5.258 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001956/0.7891, allocations: 147.9 kB / 0.8246 GB, free: 5.113 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.7894, allocations: 41.55 kB / 0.8247 GB, free: 5.074 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.7911, allocations: 0.7275 MB / 0.8254 GB, free: 4.32 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005182/0.7916, allocations: 0.8205 MB / 0.8262 GB, free: 3.473 MB / 0.5261 GB Notification: Performance of SimCode: time 2.6e-07/0.7916, allocations: 0 / 0.8262 GB, free: 3.473 MB / 0.5261 GB Notification: Performance of Templates: time 0.008458/0.8001, allocations: 3.993 MB / 0.8301 GB, free: 15.54 MB / 0.5417 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)