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.3621/0.3628, allocations: 82.21 MB / 0.5935 GB, free: 21.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.00585/0.3687, allocations: 5.888 MB / 0.5992 GB, free: 15.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004025/0.3728, allocations: 3.064 MB / 0.6022 GB, free: 12.58 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004287/0.3732, allocations: 25.41 kB / 0.6022 GB, free: 12.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003532/0.3736, allocations: 126.9 kB / 0.6024 GB, free: 12.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000852/0.3744, allocations: 442.2 kB / 0.6028 GB, free: 12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007413/0.3752, allocations: 314.5 kB / 0.6031 GB, free: 11.7 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008895/0.3761, allocations: 1.302 MB / 0.6044 GB, free: 10.39 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001318/0.3774, allocations: 0.9227 MB / 0.6053 GB, free: 9.465 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000435/0.3779, allocations: 386.4 kB / 0.6056 GB, free: 9.086 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005596/0.3784, allocations: 0.4993 MB / 0.6061 GB, free: 8.586 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.983e-05/0.3785, allocations: 32.5 kB / 0.6061 GB, free: 8.555 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003872/0.3789, allocations: 190.8 kB / 0.6063 GB, free: 8.371 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001892/0.3791, allocations: 271.1 kB / 0.6066 GB, free: 8.105 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.3792, allocations: 169.3 kB / 0.6067 GB, free: 7.934 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005341/0.3798, allocations: 0.8907 MB / 0.6076 GB, free: 7.043 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3798, allocations: 0 / 0.6076 GB, free: 7.043 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3798, allocations: 0 / 0.6076 GB, free: 7.043 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.026e-06/0.3798, allocations: 0 / 0.6076 GB, free: 7.043 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.001212/0.381, allocations: 1.002 MB / 0.6086 GB, free: 5.992 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/0.3811, allocations: 11.97 kB / 0.6086 GB, free: 5.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001327/0.3824, allocations: 238.6 kB / 0.6088 GB, free: 5.746 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005961/0.383, allocations: 0.5327 MB / 0.6094 GB, free: 5.172 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.142e-05/0.383, allocations: 49.3 kB / 0.6094 GB, free: 5.121 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.776e-05/0.3831, allocations: 56 kB / 0.6095 GB, free: 5.066 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/0.3843, allocations: 1.065 MB / 0.6105 GB, free: 3.895 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/0.3843, allocations: 7.938 kB / 0.6105 GB, free: 3.887 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.93e-05/0.3844, allocations: 31.94 kB / 0.6105 GB, free: 3.855 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001136/0.3845, allocations: 89.25 kB / 0.6106 GB, free: 3.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008971/0.3854, allocations: 0.7309 MB / 0.6113 GB, free: 3.039 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003895/0.3893, allocations: 4.878 MB / 0.6161 GB, free: 13.98 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009411/0.3902, allocations: 0.5656 MB / 0.6166 GB, free: 13.4 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004232/0.3907, allocations: 324.5 kB / 0.617 GB, free: 13.09 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.681e-05/0.3907, allocations: 4.438 kB / 0.617 GB, free: 13.08 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.3908, allocations: 39 kB / 0.617 GB, free: 13.04 MB / 462.1 MB Notification: Performance of pre-optimization done (n=47): time 2.305e-06/0.3908, allocations: 0 / 0.617 GB, free: 13.04 MB / 462.1 MB Notification: Performance of matching and sorting (n=48): time 0.003604/0.3944, allocations: 1.99 MB / 0.6189 GB, free: 10.95 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.3945, allocations: 55.84 kB / 0.619 GB, free: 10.88 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006102/0.3951, allocations: 0.5508 MB / 0.6195 GB, free: 10.32 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.939e-05/0.3951, allocations: 33.7 kB / 0.6196 GB, free: 10.28 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002937/0.3954, allocations: 418.9 kB / 0.62 GB, free: 9.863 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/0.3956, allocations: 169.6 kB / 0.6201 GB, free: 9.695 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.354e-05/0.3956, allocations: 16 kB / 0.6201 GB, free: 9.68 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.3958, allocations: 370.8 kB / 0.6205 GB, free: 9.309 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004079/0.3962, allocations: 273.8 kB / 0.6208 GB, free: 9.043 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005628/0.3968, allocations: 493 kB / 0.6212 GB, free: 8.465 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005003/0.3973, allocations: 350 kB / 0.6216 GB, free: 8.121 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3973, allocations: 0 / 0.6216 GB, free: 8.121 MB / 462.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001675/0.399, allocations: 1.083 MB / 0.6226 GB, free: 7.02 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.399, allocations: 11.95 kB / 0.6226 GB, free: 7.008 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.399, allocations: 8 kB / 0.6226 GB, free: 7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007657/0.3998, allocations: 275.4 kB / 0.6229 GB, free: 6.719 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000452/0.4002, allocations: 123.8 kB / 0.623 GB, free: 6.598 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005788/0.406, allocations: 6.603 MB / 0.6295 GB, free: 15.46 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005319/0.4066, allocations: 35.97 kB / 0.6295 GB, free: 15.42 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.476e-05/0.4067, allocations: 32.06 kB / 0.6295 GB, free: 15.39 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003435/0.407, allocations: 257.5 kB / 0.6298 GB, free: 15.13 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.506e-05/0.4071, allocations: 71.16 kB / 0.6298 GB, free: 15.06 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001465/0.4086, allocations: 0.8847 MB / 0.6307 GB, free: 14.15 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.4086, allocations: 7.984 kB / 0.6307 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.4086, allocations: 8.141 kB / 0.6307 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4086, allocations: 0 / 0.6307 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002613/0.4112, allocations: 1.728 MB / 0.6324 GB, free: 12.32 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/0.4113, allocations: 4 kB / 0.6324 GB, free: 12.32 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002728/0.4116, allocations: 59.89 kB / 0.6325 GB, free: 12.26 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007651/0.4123, allocations: 271.3 kB / 0.6327 GB, free: 11.98 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.383e-05/0.4124, allocations: 8 kB / 0.6327 GB, free: 11.97 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006082/0.4185, allocations: 6.579 MB / 0.6392 GB, free: 4.859 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.4185, allocations: 8.359 kB / 0.6392 GB, free: 4.852 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/0.4201, allocations: 0.9796 MB / 0.6401 GB, free: 3.824 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003167/0.4205, allocations: 188.2 kB / 0.6403 GB, free: 3.621 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.509e-05/0.4206, allocations: 16 kB / 0.6403 GB, free: 3.605 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003238/0.4209, allocations: 27.97 kB / 0.6404 GB, free: 3.578 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.421, allocations: 39.94 kB / 0.6404 GB, free: 3.539 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.998e-05/0.4211, allocations: 16 kB / 0.6404 GB, free: 3.523 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004391/0.4215, allocations: 383 kB / 0.6408 GB, free: 3.152 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4215, allocations: 0 / 0.6408 GB, free: 3.152 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000811/0.4223, allocations: 216 kB / 0.641 GB, free: 2.941 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001733/0.4225, allocations: 115.2 kB / 0.6411 GB, free: 2.82 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001876/0.4244, allocations: 1.268 MB / 0.6423 GB, free: 1.508 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.4244, allocations: 0 / 0.6423 GB, free: 1.508 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001159/0.4256, allocations: 0.8971 MB / 0.6432 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009736/0.4266, allocations: 210.7 kB / 0.6434 GB, free: 364 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002484/0.429, allocations: 1.618 MB / 0.645 GB, free: 14.69 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006886/0.4298, allocations: 1.009 MB / 0.646 GB, free: 13.65 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004667/0.4302, allocations: 126 kB / 0.6461 GB, free: 13.52 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.4304, allocations: 39.44 kB / 0.6461 GB, free: 13.48 MB / 494.1 MB Notification: Performance of SimCode: time 3.326e-06/0.4304, allocations: 0 / 0.6461 GB, free: 13.48 MB / 494.1 MB Notification: Performance of Templates: time 0.01734/0.4477, allocations: 10.25 MB / 0.6561 GB, free: 3.387 MB / 494.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: