Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [/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.1779/0.1797, allocations: 80.83 MB / 0.5897 GB, free: 7.086 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007704/0.1875, allocations: 5.382 MB / 0.5949 GB, free: 1.672 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004825/0.1924, allocations: 2.783 MB / 0.5977 GB, free: 14.88 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005536/0.193, allocations: 19.88 kB / 0.5977 GB, free: 14.86 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001709/0.1947, allocations: 0.63 MB / 0.5983 GB, free: 14.23 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001117/0.1959, allocations: 414.1 kB / 0.5987 GB, free: 13.82 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009558/0.1968, allocations: 351.3 kB / 0.599 GB, free: 13.48 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001182/0.198, allocations: 1.221 MB / 0.6002 GB, free: 12.25 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000707/0.1988, allocations: 457.7 kB / 0.6007 GB, free: 11.81 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004305/0.1992, allocations: 318.6 kB / 0.601 GB, free: 11.5 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006053/0.1998, allocations: 426.3 kB / 0.6014 GB, free: 11.08 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.063e-05/0.1999, allocations: 32 kB / 0.6014 GB, free: 11.05 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000799/0.2007, allocations: 435.1 kB / 0.6018 GB, free: 10.62 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002442/0.201, allocations: 223.4 kB / 0.602 GB, free: 10.4 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000334/0.2013, allocations: 326.2 kB / 0.6023 GB, free: 10.08 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009914/0.2023, allocations: 0.9461 MB / 0.6033 GB, free: 9.133 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.2023, allocations: 4 kB / 0.6033 GB, free: 9.129 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2023, allocations: 0 / 0.6033 GB, free: 9.129 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.2023, allocations: 0 / 0.6033 GB, free: 9.129 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001615/0.204, allocations: 0.9504 MB / 0.6042 GB, free: 8.125 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.204, allocations: 8.031 kB / 0.6042 GB, free: 8.117 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001435/0.2055, allocations: 203.8 kB / 0.6044 GB, free: 7.918 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006846/0.2062, allocations: 478.5 kB / 0.6049 GB, free: 7.41 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.026e-05/0.2062, allocations: 37.38 kB / 0.6049 GB, free: 7.375 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/0.2064, allocations: 52.45 kB / 0.6049 GB, free: 7.324 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.2075, allocations: 0.8209 MB / 0.6057 GB, free: 6.418 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/0.2075, allocations: 7.938 kB / 0.6057 GB, free: 6.41 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.504e-05/0.2076, allocations: 16 kB / 0.6058 GB, free: 6.395 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002029/0.2078, allocations: 68.95 kB / 0.6058 GB, free: 6.324 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008544/0.2086, allocations: 0.5619 MB / 0.6064 GB, free: 5.766 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004451/0.2131, allocations: 3.951 MB / 0.6102 GB, free: 1.613 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004955/0.2136, allocations: 299.2 kB / 0.6105 GB, free: 1.312 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002983/0.2139, allocations: 229.2 kB / 0.6107 GB, free: 1.086 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.273e-05/0.214, allocations: 8.219 kB / 0.6107 GB, free: 1.078 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.214, allocations: 38.84 kB / 0.6108 GB, free: 1.031 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 2.224e-06/0.214, allocations: 3.938 kB / 0.6108 GB, free: 1.027 MB / 462.1 MB Notification: Performance of matching and sorting (n=40): time 0.005741/0.2198, allocations: 2.642 MB / 0.6134 GB, free: 14.26 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.2199, allocations: 59.41 kB / 0.6134 GB, free: 14.19 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005169/0.2204, allocations: 454 kB / 0.6139 GB, free: 13.73 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.111e-05/0.2204, allocations: 33.7 kB / 0.6139 GB, free: 13.69 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002266/0.2207, allocations: 331.7 kB / 0.6142 GB, free: 13.36 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.2208, allocations: 137.9 kB / 0.6143 GB, free: 13.22 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001683/0.221, allocations: 110.1 kB / 0.6144 GB, free: 13.11 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.2211, allocations: 362.7 kB / 0.6148 GB, free: 12.75 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003781/0.2215, allocations: 237 kB / 0.615 GB, free: 12.51 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004606/0.222, allocations: 422.4 kB / 0.6154 GB, free: 12.03 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008697/0.2229, allocations: 0.6786 MB / 0.6161 GB, free: 11.28 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.2229, allocations: 0 / 0.6161 GB, free: 11.28 MB / 478.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001719/0.2246, allocations: 0.9176 MB / 0.617 GB, free: 10.34 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.2246, allocations: 12.12 kB / 0.617 GB, free: 10.33 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.2247, allocations: 4 kB / 0.617 GB, free: 10.33 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008191/0.2255, allocations: 226.4 kB / 0.6172 GB, free: 10.1 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005246/0.226, allocations: 119.8 kB / 0.6173 GB, free: 9.98 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00542/0.2315, allocations: 4.927 MB / 0.6221 GB, free: 4.652 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007285/0.2322, allocations: 27.97 kB / 0.6222 GB, free: 4.625 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.224e-05/0.2323, allocations: 24 kB / 0.6222 GB, free: 4.602 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004677/0.2328, allocations: 225.7 kB / 0.6224 GB, free: 4.371 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.2329, allocations: 59.28 kB / 0.6225 GB, free: 4.312 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001612/0.2346, allocations: 0.7781 MB / 0.6232 GB, free: 3.52 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.014e-06/0.2346, allocations: 4.141 kB / 0.6232 GB, free: 3.516 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.2346, allocations: 11.97 kB / 0.6232 GB, free: 3.504 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.2346, allocations: 0 / 0.6232 GB, free: 3.504 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002461/0.2371, allocations: 1.491 MB / 0.6247 GB, free: 1.926 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.2371, allocations: 7.984 kB / 0.6247 GB, free: 1.918 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000399/0.2375, allocations: 67.89 kB / 0.6248 GB, free: 1.852 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006934/0.2382, allocations: 202.6 kB / 0.625 GB, free: 1.645 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.606e-05/0.2383, allocations: 8 kB / 0.625 GB, free: 1.637 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005027/0.2433, allocations: 4.876 MB / 0.6297 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.2433, allocations: 192 / 0.6297 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001986/0.2453, allocations: 1.155 MB / 0.6308 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003313/0.2457, allocations: 172.4 kB / 0.631 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.036e-05/0.2458, allocations: 12 kB / 0.631 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000351/0.2461, allocations: 23.97 kB / 0.631 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/0.2463, allocations: 36.02 kB / 0.6311 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.787e-05/0.2463, allocations: 15.94 kB / 0.6311 GB, free: 10.88 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000461/0.2468, allocations: 314.9 kB / 0.6314 GB, free: 10.58 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.21e-07/0.2468, allocations: 0 / 0.6314 GB, free: 10.58 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008926/0.2477, allocations: 167.9 kB / 0.6316 GB, free: 10.41 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002403/0.2479, allocations: 115.5 kB / 0.6317 GB, free: 10.29 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00201/0.25, allocations: 1 MB / 0.6326 GB, free: 9.25 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.25, allocations: 4 kB / 0.6326 GB, free: 9.246 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001094/0.2511, allocations: 0.6838 MB / 0.6333 GB, free: 8.523 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009809/0.2521, allocations: 164.4 kB / 0.6335 GB, free: 8.367 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00253/0.2546, allocations: 1.49 MB / 0.6349 GB, free: 6.828 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005808/0.2552, allocations: 0.9455 MB / 0.6359 GB, free: 5.855 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000421/0.2557, allocations: 121 kB / 0.636 GB, free: 5.734 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.2558, allocations: 39.42 kB / 0.636 GB, free: 5.695 MB / 494.1 MB Notification: Performance of SimCode: time 8.71e-07/0.2558, allocations: 0 / 0.636 GB, free: 5.695 MB / 494.1 MB Notification: Performance of Templates: time 0.01528/0.2711, allocations: 8.505 MB / 0.6443 GB, free: 13.32 MB / 0.4981 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)