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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.707/0.707, allocations: 132.3 MB / 144.9 MB, free: 10.54 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.001021/0.001021, allocations: 174.6 kB / 176.9 MB, free: 2.273 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.225/1.225, allocations: 170.5 MB / 379.3 MB, free: 11.87 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.001445/0.001446, allocations: 123 kB / 450 MB, free: 5.84 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.3917/0.3918, allocations: 73.39 MB / 0.6736 GB, free: 47.8 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.146/0.5378, allocations: 131.7 MB / 0.8022 GB, free: 0.9414 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/0.5381, allocations: 95.94 kB / 0.8023 GB, free: 0.8477 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.0449/0.583, allocations: 19.61 MB / 0.8215 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5831, allocations: 4 kB / 0.8215 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.823e-05/0.5831, allocations: 4 kB / 0.8215 GB, free: 13.16 MB / 0.5261 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.000834/0.5839, allocations: 0.5469 MB / 0.822 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.584, allocations: 8.031 kB / 0.822 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008191/0.5848, allocations: 107.5 kB / 0.8221 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004676/0.5853, allocations: 286.5 kB / 0.8224 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.5853, allocations: 20.55 kB / 0.8224 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.009e-05/0.5854, allocations: 31.98 kB / 0.8225 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005762/0.586, allocations: 412.4 kB / 0.8229 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.586, allocations: 0 / 0.8229 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.638e-05/0.586, allocations: 15.61 kB / 0.8229 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-05/0.5861, allocations: 28.41 kB / 0.8229 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000466/0.5866, allocations: 341.5 kB / 0.8232 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002147/0.5887, allocations: 1.835 MB / 0.825 GB, free: 9.336 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003881/0.5891, allocations: 263 kB / 0.8253 GB, free: 9.07 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/0.5893, allocations: 157.2 kB / 0.8254 GB, free: 8.914 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.5894, allocations: 12.11 kB / 0.8254 GB, free: 8.902 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.5894, allocations: 42.7 kB / 0.8255 GB, free: 8.852 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=22): time 1.713e-06/0.5894, allocations: 0 / 0.8255 GB, free: 8.852 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23): time 0.00117/0.5906, allocations: 0.8165 MB / 0.8263 GB, free: 7.984 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.5906, allocations: 55.41 kB / 0.8263 GB, free: 7.918 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.5908, allocations: 221 kB / 0.8265 GB, free: 7.699 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.5909, allocations: 29.7 kB / 0.8266 GB, free: 7.664 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.223e-05/0.591, allocations: 195.6 kB / 0.8267 GB, free: 7.469 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.53e-05/0.591, allocations: 82.75 kB / 0.8268 GB, free: 7.387 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.792e-05/0.591, allocations: 8 kB / 0.8268 GB, free: 7.379 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.5912, allocations: 330.8 kB / 0.8272 GB, free: 7.047 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/0.5914, allocations: 148 kB / 0.8273 GB, free: 6.902 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002563/0.5916, allocations: 232.2 kB / 0.8275 GB, free: 6.645 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002543/0.5919, allocations: 186.6 kB / 0.8277 GB, free: 6.465 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.5919, allocations: 4 kB / 0.8277 GB, free: 6.461 MB / 0.5261 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009469/0.5929, allocations: 0.5681 MB / 0.8282 GB, free: 5.883 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.5929, allocations: 8.031 kB / 0.8283 GB, free: 5.875 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.5929, allocations: 4 kB / 0.8283 GB, free: 5.871 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000595/0.5935, allocations: 176.7 kB / 0.8284 GB, free: 5.695 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002671/0.5938, allocations: 63.91 kB / 0.8285 GB, free: 5.633 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0024/0.5962, allocations: 2.268 MB / 0.8307 GB, free: 3.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002641/0.5965, allocations: 20.02 kB / 0.8307 GB, free: 3.211 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.943e-05/0.5965, allocations: 16 kB / 0.8307 GB, free: 3.195 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.0001073/0.5966, allocations: 128.9 kB / 0.8309 GB, free: 3.062 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.088e-05/0.5967, allocations: 19.81 kB / 0.8309 GB, free: 3.043 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005245/0.5972, allocations: 357.2 kB / 0.8312 GB, free: 2.695 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.5972, allocations: 0 / 0.8312 GB, free: 2.695 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.5972, allocations: 4.109 kB / 0.8312 GB, free: 2.691 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.5972, allocations: 3.938 kB / 0.8312 GB, free: 2.688 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009948/0.5982, allocations: 0.8161 MB / 0.832 GB, free: 1.809 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.5982, allocations: 0 / 0.832 GB, free: 1.809 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003694/0.5986, allocations: 67.94 kB / 0.8321 GB, free: 1.742 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.5986, allocations: 4 kB / 0.8321 GB, free: 1.738 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.5987, allocations: 4 kB / 0.8321 GB, free: 1.734 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.5987, allocations: 5.875 kB / 0.8321 GB, free: 1.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.5987, allocations: 7.922 kB / 0.8321 GB, free: 1.723 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006859/0.5994, allocations: 0.6301 MB / 0.8327 GB, free: 1.062 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/0.5995, allocations: 124.8 kB / 0.8328 GB, free: 0.9219 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.89e-05/0.5996, allocations: 8 kB / 0.8329 GB, free: 0.9141 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.5998, allocations: 15.98 kB / 0.8329 GB, free: 0.8984 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.422e-05/0.5998, allocations: 15.92 kB / 0.8329 GB, free: 0.8828 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.5998, allocations: 12 kB / 0.8329 GB, free: 0.8711 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001489/0.6, allocations: 173.4 kB / 0.8331 GB, free: 0.6992 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.383e-06/0.6, allocations: 4 kB / 0.8331 GB, free: 0.6953 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003907/0.6004, allocations: 103.9 kB / 0.8332 GB, free: 0.5938 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.0001726/0.6006, allocations: 119.2 kB / 0.8333 GB, free: 476 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007994/0.6014, allocations: 0.5266 MB / 0.8338 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.6014, allocations: 0 / 0.8338 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001783/0.6016, allocations: 143.9 kB / 0.8339 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.6019, allocations: 56.38 kB / 0.834 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.6031, allocations: 0.7384 MB / 0.8347 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.6035, allocations: 0.8029 MB / 0.8355 GB, free: 14.13 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000216/0.6037, allocations: 78.91 kB / 0.8356 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.26e-05/0.6038, allocations: 19.44 kB / 0.8356 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of SimCode: time 4e-07/0.6038, allocations: 0 / 0.8356 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of Templates: time 0.006653/0.6105, allocations: 3.644 MB / 0.8391 GB, free: 10.42 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)