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_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [/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.4338/0.4359, allocations: 80.81 MB / 0.5904 GB, free: 22.14 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.00814/0.4441, allocations: 6.63 MB / 0.5969 GB, free: 16.13 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00511/0.4493, allocations: 3.233 MB / 0.6001 GB, free: 12.9 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005999/0.4499, allocations: 27.81 kB / 0.6001 GB, free: 12.87 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002104/0.4521, allocations: 0.9497 MB / 0.601 GB, free: 11.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001284/0.4534, allocations: 0.5385 MB / 0.6015 GB, free: 11.39 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009179/0.4543, allocations: 425.7 kB / 0.6019 GB, free: 10.97 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009107/0.4552, allocations: 1.209 MB / 0.6031 GB, free: 9.762 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000721/0.456, allocations: 0.653 MB / 0.6038 GB, free: 9.109 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004037/0.4564, allocations: 470.3 kB / 0.6042 GB, free: 8.648 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005791/0.457, allocations: 0.537 MB / 0.6047 GB, free: 8.109 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.623e-05/0.4571, allocations: 68 kB / 0.6048 GB, free: 8.043 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000561/0.4576, allocations: 383.1 kB / 0.6052 GB, free: 7.668 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001901/0.4578, allocations: 299.2 kB / 0.6054 GB, free: 7.375 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002861/0.4581, allocations: 437.8 kB / 0.6059 GB, free: 6.945 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008407/0.459, allocations: 1.18 MB / 0.607 GB, free: 5.762 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.459, allocations: 0 / 0.607 GB, free: 5.762 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.459, allocations: 0 / 0.607 GB, free: 5.762 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.289e-05/0.459, allocations: 0 / 0.607 GB, free: 5.762 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.001605/0.4606, allocations: 1.149 MB / 0.6081 GB, free: 4.562 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/0.4607, allocations: 19.92 kB / 0.6082 GB, free: 4.543 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001485/0.4622, allocations: 231.7 kB / 0.6084 GB, free: 4.316 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000605/0.4628, allocations: 0.5491 MB / 0.6089 GB, free: 3.727 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.998e-05/0.4628, allocations: 45.67 kB / 0.609 GB, free: 3.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.733e-05/0.4629, allocations: 56.38 kB / 0.609 GB, free: 3.625 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.464, allocations: 1.077 MB / 0.6101 GB, free: 2.441 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.726e-05/0.4641, allocations: 11.84 kB / 0.6101 GB, free: 2.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-05/0.4641, allocations: 35.97 kB / 0.6101 GB, free: 2.395 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001296/0.4643, allocations: 85.25 kB / 0.6102 GB, free: 2.312 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008972/0.4652, allocations: 0.7465 MB / 0.6109 GB, free: 1.562 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004342/0.4695, allocations: 4.858 MB / 0.6157 GB, free: 12.52 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009675/0.4705, allocations: 0.5555 MB / 0.6162 GB, free: 11.96 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00042/0.471, allocations: 330 kB / 0.6165 GB, free: 11.63 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.152e-05/0.471, allocations: 8.438 kB / 0.6165 GB, free: 11.62 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.471, allocations: 39 kB / 0.6166 GB, free: 11.58 MB / 462.1 MB Notification: Performance of pre-optimization done (n=47): time 1.794e-06/0.471, allocations: 7.938 kB / 0.6166 GB, free: 11.57 MB / 462.1 MB Notification: Performance of matching and sorting (n=48): time 0.004/0.475, allocations: 1.986 MB / 0.6185 GB, free: 9.488 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/0.4751, allocations: 55.84 kB / 0.6186 GB, free: 9.422 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006334/0.4758, allocations: 0.5509 MB / 0.6191 GB, free: 8.859 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.284e-05/0.4758, allocations: 45.64 kB / 0.6191 GB, free: 8.809 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002774/0.4761, allocations: 407 kB / 0.6195 GB, free: 8.406 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.4762, allocations: 169.6 kB / 0.6197 GB, free: 8.238 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001914/0.4764, allocations: 130.5 kB / 0.6198 GB, free: 8.105 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.4766, allocations: 366.8 kB / 0.6202 GB, free: 7.738 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003934/0.477, allocations: 277.8 kB / 0.6204 GB, free: 7.465 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000564/0.4776, allocations: 497 kB / 0.6209 GB, free: 6.883 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.4786, allocations: 0.8171 MB / 0.6217 GB, free: 5.969 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.4786, allocations: 3.938 kB / 0.6217 GB, free: 5.965 MB / 462.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001818/0.4804, allocations: 1.087 MB / 0.6228 GB, free: 4.855 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.768e-05/0.4805, allocations: 8 kB / 0.6228 GB, free: 4.848 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/0.4805, allocations: 11.94 kB / 0.6228 GB, free: 4.836 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008454/0.4814, allocations: 275.2 kB / 0.6231 GB, free: 4.555 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004787/0.4819, allocations: 127.8 kB / 0.6232 GB, free: 4.43 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006701/0.4886, allocations: 7.141 MB / 0.6302 GB, free: 12.73 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005936/0.4892, allocations: 35.97 kB / 0.6302 GB, free: 12.69 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.765e-05/0.4893, allocations: 32 kB / 0.6302 GB, free: 12.66 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (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.0003816/0.4896, allocations: 258.1 kB / 0.6305 GB, free: 12.4 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.4898, allocations: 75.09 kB / 0.6305 GB, free: 12.32 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001518/0.4913, allocations: 0.8808 MB / 0.6314 GB, free: 11.42 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/0.4913, allocations: 8 kB / 0.6314 GB, free: 11.41 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.4913, allocations: 11.92 kB / 0.6314 GB, free: 11.4 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.4913, allocations: 4 kB / 0.6314 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002575/0.4939, allocations: 1.732 MB / 0.6331 GB, free: 9.574 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.4939, allocations: 0 / 0.6331 GB, free: 9.574 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002767/0.4942, allocations: 59.89 kB / 0.6332 GB, free: 9.516 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007481/0.495, allocations: 275.5 kB / 0.6334 GB, free: 9.234 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.515e-05/0.495, allocations: 15.94 kB / 0.6334 GB, free: 9.219 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006684/0.5017, allocations: 7.116 MB / 0.6404 GB, free: 1.543 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/0.5018, allocations: 3.938 kB / 0.6404 GB, free: 1.539 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/0.5035, allocations: 0.9835 MB / 0.6414 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003655/0.5039, allocations: 196.2 kB / 0.6415 GB, free: 308 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.223e-05/0.504, allocations: 12 kB / 0.6416 GB, free: 296 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003729/0.5043, allocations: 27.97 kB / 0.6416 GB, free: 268 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.5045, allocations: 51.81 kB / 0.6416 GB, free: 216 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-05/0.5045, allocations: 12 kB / 0.6416 GB, free: 204 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004612/0.505, allocations: 383.1 kB / 0.642 GB, free: 15.83 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.505, allocations: 4 kB / 0.642 GB, free: 15.83 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008409/0.5059, allocations: 220 kB / 0.6422 GB, free: 15.61 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001749/0.506, allocations: 111.2 kB / 0.6423 GB, free: 15.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002212/0.5083, allocations: 1.334 MB / 0.6436 GB, free: 14.11 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.5083, allocations: 0 / 0.6436 GB, free: 14.11 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001291/0.5096, allocations: 0.8971 MB / 0.6445 GB, free: 13.16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.5107, allocations: 225.3 kB / 0.6447 GB, free: 12.95 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002581/0.5133, allocations: 1.379 MB / 0.6461 GB, free: 11.52 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006648/0.514, allocations: 1.005 MB / 0.647 GB, free: 10.49 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004305/0.5144, allocations: 134 kB / 0.6472 GB, free: 10.36 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.5145, allocations: 43.44 kB / 0.6472 GB, free: 10.32 MB / 494.1 MB Notification: Performance of SimCode: time 9.82e-07/0.5145, allocations: 0 / 0.6472 GB, free: 10.32 MB / 494.1 MB Notification: Performance of Templates: time 0.02006/0.5346, allocations: 11.13 MB / 0.6581 GB, free: 15.35 MB / 0.4981 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)