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.9544/0.9544, allocations: 132.4 MB / 139.9 MB, free: 2.816 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001115/0.001115, allocations: 171.6 kB / 171.8 MB, free: 4.945 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.314/1.314, allocations: 170.6 MB / 374.2 MB, free: 172 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001795/0.001795, allocations: 101.6 kB / 444.8 MB, free: 14.15 MB / 314.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.1785/0.1786, allocations: 73.41 MB / 0.6666 GB, free: 15.62 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6355/0.8141, allocations: 131.1 MB / 0.7946 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003333/0.8145, allocations: 95.94 kB / 0.7947 GB, free: 436 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05042/0.8649, allocations: 19.53 MB / 0.8138 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.204e-06/0.865, allocations: 0 / 0.8138 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.781e-05/0.865, allocations: 4 kB / 0.8138 GB, free: 12.7 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.001315/0.8663, allocations: 0.5534 MB / 0.8143 GB, free: 12.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/0.8664, allocations: 8.031 kB / 0.8143 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/0.8675, allocations: 107.5 kB / 0.8144 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006143/0.8681, allocations: 287.7 kB / 0.8147 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.8682, allocations: 8 kB / 0.8147 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.237e-05/0.8683, allocations: 16 kB / 0.8147 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000478/0.8687, allocations: 253 kB / 0.815 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006419/0.8694, allocations: 391.3 kB / 0.8153 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.8694, allocations: 3.938 kB / 0.8153 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.636e-05/0.8695, allocations: 4 kB / 0.8153 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.393e-05/0.8695, allocations: 24.42 kB / 0.8154 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002594/0.8721, allocations: 1.777 MB / 0.8171 GB, free: 9.07 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004175/0.8726, allocations: 262.8 kB / 0.8174 GB, free: 8.805 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000205/0.8728, allocations: 149.2 kB / 0.8175 GB, free: 8.656 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.8728, allocations: 4.188 kB / 0.8175 GB, free: 8.652 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.8729, allocations: 38.7 kB / 0.8175 GB, free: 8.605 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=22): time 2.234e-06/0.8729, allocations: 0 / 0.8175 GB, free: 8.605 MB / 0.5105 GB Notification: Performance of matching and sorting (n=23): time 0.001354/0.8742, allocations: 0.7829 MB / 0.8183 GB, free: 7.773 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.8743, allocations: 55.41 kB / 0.8184 GB, free: 7.707 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/0.8745, allocations: 202.1 kB / 0.8185 GB, free: 7.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.8746, allocations: 25.7 kB / 0.8186 GB, free: 7.469 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.8747, allocations: 187.6 kB / 0.8188 GB, free: 7.281 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.314e-05/0.8748, allocations: 82.84 kB / 0.8188 GB, free: 7.199 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.857e-05/0.8748, allocations: 3.938 kB / 0.8188 GB, free: 7.195 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.875, allocations: 330.8 kB / 0.8191 GB, free: 6.863 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002181/0.8752, allocations: 143.9 kB / 0.8193 GB, free: 6.723 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002617/0.8754, allocations: 217.3 kB / 0.8195 GB, free: 6.477 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004038/0.8759, allocations: 186.7 kB / 0.8197 GB, free: 6.297 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.8759, allocations: 0 / 0.8197 GB, free: 6.297 MB / 0.5105 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001119/0.877, allocations: 0.5407 MB / 0.8202 GB, free: 5.746 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.877, allocations: 4 kB / 0.8202 GB, free: 5.742 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.8771, allocations: 4 kB / 0.8202 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006635/0.8777, allocations: 176.8 kB / 0.8204 GB, free: 5.562 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002999/0.878, allocations: 67.89 kB / 0.8204 GB, free: 5.496 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002883/0.8809, allocations: 2.183 MB / 0.8226 GB, free: 3.195 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002907/0.8812, allocations: 11.98 kB / 0.8226 GB, free: 3.184 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.961e-05/0.8813, allocations: 12.06 kB / 0.8226 GB, free: 3.172 MB / 0.5105 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.0001392/0.8814, allocations: 112.9 kB / 0.8227 GB, free: 3.055 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.462e-05/0.8815, allocations: 23.77 kB / 0.8227 GB, free: 3.031 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005467/0.882, allocations: 336.2 kB / 0.823 GB, free: 2.703 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.8821, allocations: 4 kB / 0.8231 GB, free: 2.699 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.8821, allocations: 0 / 0.8231 GB, free: 2.699 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.8821, allocations: 0 / 0.8231 GB, free: 2.699 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001154/0.8832, allocations: 0.7588 MB / 0.8238 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.8833, allocations: 0 / 0.8238 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004359/0.8837, allocations: 67.94 kB / 0.8239 GB, free: 1.824 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.729e-06/0.8837, allocations: 4 kB / 0.8239 GB, free: 1.82 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-05/0.8838, allocations: 0 / 0.8239 GB, free: 1.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.8838, allocations: 4 kB / 0.8239 GB, free: 1.816 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.8838, allocations: 3.938 kB / 0.8239 GB, free: 1.812 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008898/0.8847, allocations: 0.6179 MB / 0.8245 GB, free: 1.16 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000193/0.8849, allocations: 128.8 kB / 0.8246 GB, free: 1.016 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.975e-05/0.885, allocations: 11.98 kB / 0.8246 GB, free: 1.004 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002025/0.8852, allocations: 7.984 kB / 0.8246 GB, free: 0.9961 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.828e-05/0.8852, allocations: 19.98 kB / 0.8246 GB, free: 0.9766 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.8853, allocations: 7.953 kB / 0.8246 GB, free: 0.9688 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001947/0.8855, allocations: 160.1 kB / 0.8248 GB, free: 0.8086 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8855, allocations: 0 / 0.8248 GB, free: 0.8086 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005607/0.886, allocations: 80 kB / 0.8249 GB, free: 0.7305 MB / 0.5105 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.0003276/0.8864, allocations: 123 kB / 0.825 GB, free: 0.5977 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00109/0.8875, allocations: 0.5024 MB / 0.8255 GB, free: 88 kB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.8875, allocations: 0 / 0.8255 GB, free: 88 kB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002789/0.8878, allocations: 143.8 kB / 0.8256 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004821/0.8883, allocations: 40.56 kB / 0.8257 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.89, allocations: 0.7236 MB / 0.8264 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005407/0.8906, allocations: 0.8068 MB / 0.8271 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002696/0.8908, allocations: 74 kB / 0.8272 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.14e-05/0.8909, allocations: 19.44 kB / 0.8272 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of SimCode: time 4.21e-07/0.8909, allocations: 0 / 0.8272 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of Templates: time 0.008191/0.8991, allocations: 3.451 MB / 0.8306 GB, free: 10.79 MB / 0.5261 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)