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/Modelica_StateGraph2 2.0.2/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/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") [/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.4535/0.4556, allocations: 80.81 MB / 0.5904 GB, free: 22.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.00476/0.4604, allocations: 3.219 MB / 0.5936 GB, free: 19.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002633/0.4631, allocations: 1.957 MB / 0.5955 GB, free: 17.7 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001426/0.4633, allocations: 9.594 kB / 0.5955 GB, free: 17.7 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008336/0.4641, allocations: 298.7 kB / 0.5958 GB, free: 17.4 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004347/0.4646, allocations: 232.6 kB / 0.596 GB, free: 17.18 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005577/0.4652, allocations: 282.6 kB / 0.5963 GB, free: 16.9 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003259/0.4655, allocations: 402.6 kB / 0.5966 GB, free: 16.51 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003374/0.4658, allocations: 211.9 kB / 0.5968 GB, free: 16.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/0.466, allocations: 155.5 kB / 0.597 GB, free: 16.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003525/0.4664, allocations: 203.3 kB / 0.5972 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.954e-05/0.4664, allocations: 31.94 kB / 0.5972 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003093/0.4667, allocations: 235.5 kB / 0.5974 GB, free: 15.7 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.776e-05/0.4668, allocations: 119.7 kB / 0.5976 GB, free: 15.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.467, allocations: 143.2 kB / 0.5977 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004222/0.4674, allocations: 458.6 kB / 0.5981 GB, free: 15 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.4674, allocations: 0 / 0.5981 GB, free: 15 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4674, allocations: 0 / 0.5981 GB, free: 15 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.4674, allocations: 0 / 0.5981 GB, free: 15 MB / 446.1 MB 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.00102/0.4685, allocations: 0.5849 MB / 0.5987 GB, free: 14.36 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.4685, allocations: 15.97 kB / 0.5987 GB, free: 14.35 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000789/0.4693, allocations: 88.47 kB / 0.5988 GB, free: 14.26 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003007/0.4696, allocations: 280.3 kB / 0.5991 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/0.4697, allocations: 24.92 kB / 0.5991 GB, free: 13.92 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.4698, allocations: 32.73 kB / 0.5991 GB, free: 13.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005337/0.4703, allocations: 440.3 kB / 0.5995 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.4703, allocations: 7.938 kB / 0.5995 GB, free: 13.42 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.344e-05/0.4704, allocations: 7.984 kB / 0.5996 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001297/0.4705, allocations: 40.41 kB / 0.5996 GB, free: 13.37 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004232/0.4709, allocations: 349.4 kB / 0.5999 GB, free: 13.03 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001764/0.4727, allocations: 1.839 MB / 0.6017 GB, free: 11.08 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003473/0.4731, allocations: 274.4 kB / 0.602 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.4733, allocations: 156.8 kB / 0.6021 GB, free: 10.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.4733, allocations: 4 kB / 0.6021 GB, free: 10.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.4733, allocations: 30.56 kB / 0.6022 GB, free: 10.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.432e-06/0.4733, allocations: 4 kB / 0.6022 GB, free: 10.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.001502/0.4748, allocations: 1.06 MB / 0.6032 GB, free: 9.469 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.4749, allocations: 51.41 kB / 0.6033 GB, free: 9.406 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.4751, allocations: 256.9 kB / 0.6035 GB, free: 9.145 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.4751, allocations: 33.64 kB / 0.6035 GB, free: 9.105 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.219e-05/0.4752, allocations: 184 kB / 0.6037 GB, free: 8.922 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.97e-05/0.4752, allocations: 86.75 kB / 0.6038 GB, free: 8.836 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.744e-05/0.4753, allocations: 81.53 kB / 0.6039 GB, free: 8.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.681e-05/0.4754, allocations: 334.8 kB / 0.6042 GB, free: 8.414 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/0.4756, allocations: 151.9 kB / 0.6043 GB, free: 8.266 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/0.4759, allocations: 241.6 kB / 0.6046 GB, free: 7.996 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004187/0.4763, allocations: 398.9 kB / 0.6049 GB, free: 7.574 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.4763, allocations: 0 / 0.6049 GB, free: 7.574 MB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009606/0.4773, allocations: 0.5961 MB / 0.6055 GB, free: 6.969 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.4773, allocations: 8 kB / 0.6055 GB, free: 6.961 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.4773, allocations: 4 kB / 0.6055 GB, free: 6.957 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006704/0.478, allocations: 192.9 kB / 0.6057 GB, free: 6.766 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002822/0.4783, allocations: 63.89 kB / 0.6058 GB, free: 6.703 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002443/0.4808, allocations: 2.497 MB / 0.6082 GB, free: 4.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002682/0.481, allocations: 15.98 kB / 0.6082 GB, free: 4.055 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/0.4811, allocations: 16 kB / 0.6083 GB, free: 4.039 MB / 446.1 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001687/0.4812, allocations: 161.8 kB / 0.6084 GB, free: 3.871 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.492e-05/0.4813, allocations: 27.81 kB / 0.6084 GB, free: 3.844 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004921/0.4818, allocations: 367 kB / 0.6088 GB, free: 3.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.4818, allocations: 0 / 0.6088 GB, free: 3.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.4818, allocations: 0 / 0.6088 GB, free: 3.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.4818, allocations: 4 kB / 0.6088 GB, free: 3.477 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008868/0.4827, allocations: 0.8116 MB / 0.6096 GB, free: 2.605 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.4827, allocations: 4 kB / 0.6096 GB, free: 2.602 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003631/0.4831, allocations: 79.94 kB / 0.6097 GB, free: 2.523 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.4831, allocations: 0 / 0.6097 GB, free: 2.523 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/0.4832, allocations: 8 kB / 0.6097 GB, free: 2.516 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.4832, allocations: 4 kB / 0.6097 GB, free: 2.512 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.4832, allocations: 3.984 kB / 0.6097 GB, free: 2.508 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006298/0.4838, allocations: 0.6112 MB / 0.6103 GB, free: 1.875 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.4839, allocations: 136.8 kB / 0.6104 GB, free: 1.723 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.069e-05/0.484, allocations: 4 kB / 0.6104 GB, free: 1.719 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001949/0.4842, allocations: 15.98 kB / 0.6104 GB, free: 1.703 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.4842, allocations: 11.98 kB / 0.6104 GB, free: 1.691 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.4842, allocations: 11.94 kB / 0.6104 GB, free: 1.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001466/0.4844, allocations: 184.4 kB / 0.6106 GB, free: 1.504 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4844, allocations: 0 / 0.6106 GB, free: 1.504 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000388/0.4848, allocations: 88 kB / 0.6107 GB, free: 1.418 MB / 446.1 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001945/0.485, allocations: 115.2 kB / 0.6108 GB, free: 1.297 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008369/0.4858, allocations: 0.5683 MB / 0.6114 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.227e-06/0.4859, allocations: 0.625 kB / 0.6114 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001618/0.486, allocations: 155.8 kB / 0.6115 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004806/0.4865, allocations: 56.33 kB / 0.6116 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.4881, allocations: 0.8523 MB / 0.6124 GB, free: 15.62 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004241/0.4885, allocations: 0.7912 MB / 0.6132 GB, free: 14.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002187/0.4888, allocations: 86.84 kB / 0.6133 GB, free: 14.72 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.278e-05/0.4888, allocations: 19.44 kB / 0.6133 GB, free: 14.7 MB / 462.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4889, allocations: 0 / 0.6133 GB, free: 14.7 MB / 462.1 MB Notification: Performance of Templates: time 0.008376/0.4972, allocations: 3.977 MB / 0.6172 GB, free: 10.77 MB / 462.1 MB 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)