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.4262/0.4269, allocations: 82.18 MB / 0.5935 GB, free: 43 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.00723/0.4342, allocations: 4.742 MB / 0.5981 GB, free: 39.79 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004962/0.4392, allocations: 2.596 MB / 0.6006 GB, free: 38.06 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006751/0.4399, allocations: 17.5 kB / 0.6007 GB, free: 38.05 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000423/0.4403, allocations: 100.4 kB / 0.6008 GB, free: 38 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001361/0.4417, allocations: 355.7 kB / 0.6011 GB, free: 37.8 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.4429, allocations: 289.5 kB / 0.6014 GB, free: 37.67 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001719/0.4446, allocations: 1.02 MB / 0.6024 GB, free: 37.26 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00168/0.4463, allocations: 0.737 MB / 0.6031 GB, free: 36.85 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007771/0.4471, allocations: 301.8 kB / 0.6034 GB, free: 36.73 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009109/0.448, allocations: 390.4 kB / 0.6037 GB, free: 36.59 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.954e-05/0.4481, allocations: 23.84 kB / 0.6038 GB, free: 36.59 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008009/0.449, allocations: 187.8 kB / 0.6039 GB, free: 36.54 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003979/0.4494, allocations: 212.1 kB / 0.6041 GB, free: 36.48 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002046/0.4496, allocations: 137.1 kB / 0.6043 GB, free: 36.39 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00128/0.4509, allocations: 0.7115 MB / 0.605 GB, free: 36.23 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4509, allocations: 0 / 0.605 GB, free: 36.23 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4509, allocations: 4.688 kB / 0.605 GB, free: 36.23 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.451, allocations: 0 / 0.605 GB, free: 36.23 MB / 478.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.001995/0.453, allocations: 0.8298 MB / 0.6058 GB, free: 35.61 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.453, allocations: 8.719 kB / 0.6058 GB, free: 35.61 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002266/0.4553, allocations: 203.3 kB / 0.606 GB, free: 35.56 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009659/0.4563, allocations: 477.7 kB / 0.6064 GB, free: 35.23 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.677e-05/0.4564, allocations: 35.72 kB / 0.6065 GB, free: 35.21 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000199/0.4566, allocations: 50.19 kB / 0.6065 GB, free: 35.19 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/0.4581, allocations: 0.8082 MB / 0.6073 GB, free: 34.73 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.467e-05/0.4581, allocations: 10.22 kB / 0.6073 GB, free: 34.72 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.099e-05/0.4582, allocations: 19.91 kB / 0.6073 GB, free: 34.71 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002906/0.4585, allocations: 67.14 kB / 0.6074 GB, free: 34.7 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/0.4599, allocations: 0.5594 MB / 0.608 GB, free: 34.5 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005336/0.4652, allocations: 3.954 MB / 0.6118 GB, free: 31.37 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006533/0.4659, allocations: 297.6 kB / 0.6121 GB, free: 31.25 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004594/0.4664, allocations: 222 kB / 0.6123 GB, free: 31.16 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.228e-05/0.4664, allocations: 4.109 kB / 0.6123 GB, free: 31.16 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.4665, allocations: 41.48 kB / 0.6124 GB, free: 31.11 MB / 478.1 MB Notification: Performance of pre-optimization done (n=33): time 3.337e-06/0.4665, allocations: 0 / 0.6124 GB, free: 31.11 MB / 478.1 MB Notification: Performance of matching and sorting (n=40): time 0.00796/0.4745, allocations: 2.63 MB / 0.6149 GB, free: 29.73 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.4745, allocations: 56.23 kB / 0.615 GB, free: 29.67 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007457/0.4753, allocations: 452 kB / 0.6154 GB, free: 29.45 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.417e-05/0.4753, allocations: 32.05 kB / 0.6154 GB, free: 29.41 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002412/0.4756, allocations: 339.3 kB / 0.6158 GB, free: 29.13 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/0.4757, allocations: 149.8 kB / 0.6159 GB, free: 29.02 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.18e-05/0.4758, allocations: 10.88 kB / 0.6159 GB, free: 29.01 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.4759, allocations: 363.4 kB / 0.6163 GB, free: 28.66 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005258/0.4764, allocations: 233.9 kB / 0.6165 GB, free: 28.54 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006807/0.4771, allocations: 408.3 kB / 0.6169 GB, free: 28.2 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006347/0.4778, allocations: 293.4 kB / 0.6172 GB, free: 28.05 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.4778, allocations: 2.406 kB / 0.6172 GB, free: 28.05 MB / 478.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002357/0.4802, allocations: 0.9215 MB / 0.6181 GB, free: 27.54 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.4802, allocations: 9.312 kB / 0.6181 GB, free: 27.54 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.4802, allocations: 1.875 kB / 0.6181 GB, free: 27.54 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001062/0.4813, allocations: 227 kB / 0.6183 GB, free: 27.42 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000752/0.4821, allocations: 117.5 kB / 0.6184 GB, free: 27.39 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006071/0.4882, allocations: 4.946 MB / 0.6232 GB, free: 22.75 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009703/0.4892, allocations: 29.59 kB / 0.6233 GB, free: 22.74 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-05/0.4893, allocations: 26.88 kB / 0.6233 GB, free: 22.73 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006152/0.4899, allocations: 220.2 kB / 0.6235 GB, free: 22.55 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001803/0.4901, allocations: 55.62 kB / 0.6235 GB, free: 22.52 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002269/0.4924, allocations: 0.7817 MB / 0.6243 GB, free: 22.04 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.4924, allocations: 4.406 kB / 0.6243 GB, free: 22.04 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.4924, allocations: 2 kB / 0.6243 GB, free: 22.04 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.4924, allocations: 7.938 kB / 0.6243 GB, free: 22.04 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003863/0.4963, allocations: 1.483 MB / 0.6258 GB, free: 21 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/0.4963, allocations: 1.312 kB / 0.6258 GB, free: 21 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005912/0.4969, allocations: 73.84 kB / 0.6258 GB, free: 20.98 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009647/0.4979, allocations: 205.6 kB / 0.626 GB, free: 20.86 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.862e-05/0.498, allocations: 9.188 kB / 0.626 GB, free: 20.86 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006193/0.5042, allocations: 4.881 MB / 0.6308 GB, free: 16.26 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.012e-06/0.5042, allocations: 1.75 kB / 0.6308 GB, free: 16.26 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002645/0.5069, allocations: 1.131 MB / 0.6319 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004233/0.5073, allocations: 171 kB / 0.6321 GB, free: 15.38 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.5074, allocations: 12.5 kB / 0.6321 GB, free: 15.38 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004997/0.5079, allocations: 24.09 kB / 0.6321 GB, free: 15.36 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.5081, allocations: 34.69 kB / 0.6322 GB, free: 15.34 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.248e-05/0.5081, allocations: 14.28 kB / 0.6322 GB, free: 15.34 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005627/0.5087, allocations: 309.9 kB / 0.6325 GB, free: 15.15 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5087, allocations: 1.094 kB / 0.6325 GB, free: 15.15 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001235/0.51, allocations: 170.8 kB / 0.6326 GB, free: 15.12 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001927/0.5102, allocations: 106.6 kB / 0.6327 GB, free: 15.03 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002147/0.5123, allocations: 1.002 MB / 0.6337 GB, free: 14.35 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.5124, allocations: 1.125 kB / 0.6337 GB, free: 14.35 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.5135, allocations: 0.6803 MB / 0.6344 GB, free: 13.83 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/0.5148, allocations: 156.8 kB / 0.6345 GB, free: 13.75 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002802/0.5176, allocations: 1.501 MB / 0.636 GB, free: 12.68 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005229/0.5181, allocations: 0.943 MB / 0.6369 GB, free: 11.86 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005851/0.5187, allocations: 125.2 kB / 0.637 GB, free: 11.8 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/0.5189, allocations: 40 kB / 0.6371 GB, free: 11.79 MB / 478.1 MB Notification: Performance of SimCode: time 4.41e-07/0.5189, allocations: 3.938 kB / 0.6371 GB, free: 11.78 MB / 478.1 MB Notification: Performance of Templates: time 0.01704/0.536, allocations: 8.113 MB / 0.645 GB, free: 4.051 MB / 478.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: