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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") [/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.2399/0.2407, allocations: 82.22 MB / 0.5941 GB, free: 5.574 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01331/0.2541, allocations: 10.15 MB / 0.604 GB, free: 11.38 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0142/0.2683, allocations: 8.895 MB / 0.6127 GB, free: 2.457 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002079/0.2705, allocations: 51.62 kB / 0.6128 GB, free: 2.406 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001125/0.2716, allocations: 277.8 kB / 0.613 GB, free: 2.133 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005983/0.2776, allocations: 1.433 MB / 0.6144 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002096/0.2797, allocations: 0.6032 MB / 0.615 GB, free: 100 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00433/0.2841, allocations: 2.852 MB / 0.6178 GB, free: 13.24 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003601/0.2877, allocations: 1.925 MB / 0.6197 GB, free: 11.27 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002065/0.2898, allocations: 0.8128 MB / 0.6205 GB, free: 10.46 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002235/0.292, allocations: 0.9531 MB / 0.6214 GB, free: 9.5 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005214/0.2926, allocations: 56 kB / 0.6215 GB, free: 9.445 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002713/0.2953, allocations: 0.8772 MB / 0.6223 GB, free: 8.566 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001093/0.2964, allocations: 474.3 kB / 0.6228 GB, free: 8.102 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002145/0.2986, allocations: 0.7824 MB / 0.6235 GB, free: 7.309 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004647/0.3032, allocations: 2.441 MB / 0.6259 GB, free: 4.859 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.374e-05/0.3033, allocations: 3.984 kB / 0.6259 GB, free: 4.855 MB / 478.1 MB Notification: Performance of FrontEnd: time 4.679e-06/0.3033, allocations: 0 / 0.6259 GB, free: 4.855 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.556e-05/0.3034, allocations: 0 / 0.6259 GB, free: 4.855 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.004037/0.3074, allocations: 1.691 MB / 0.6276 GB, free: 3.109 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/0.3075, allocations: 8.031 kB / 0.6276 GB, free: 3.102 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01143/0.3189, allocations: 2.113 MB / 0.6296 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00296/0.3219, allocations: 1.115 MB / 0.6307 GB, free: 15.81 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.22e-05/0.3221, allocations: 86.19 kB / 0.6308 GB, free: 15.72 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002792/0.3224, allocations: 115.8 kB / 0.6309 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006309/0.3287, allocations: 2.469 MB / 0.6333 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.299e-05/0.3288, allocations: 15.84 kB / 0.6334 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001702/0.329, allocations: 51.98 kB / 0.6334 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003914/0.3294, allocations: 134 kB / 0.6335 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007538/0.3369, allocations: 2.572 MB / 0.636 GB, free: 10.21 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01648/0.3534, allocations: 8.509 MB / 0.6444 GB, free: 1.43 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006484/0.36, allocations: 1.999 MB / 0.6463 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002871/0.3629, allocations: 0.9932 MB / 0.6473 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.233e-05/0.363, allocations: 8.422 kB / 0.6473 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.111e-05/0.3631, allocations: 42.98 kB / 0.6473 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=53): time 3.317e-06/0.3631, allocations: 0 / 0.6473 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=81): time 0.03236/0.3954, allocations: 8.746 MB / 0.6559 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.665e-05/0.3956, allocations: 71.94 kB / 0.6559 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00208/0.3977, allocations: 1.093 MB / 0.657 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001877/0.3979, allocations: 41.7 kB / 0.657 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006053/0.3985, allocations: 0.7224 MB / 0.6577 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000388/0.3989, allocations: 279.9 kB / 0.658 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000218/0.3991, allocations: 81.69 kB / 0.6581 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.3993, allocations: 345.9 kB / 0.6584 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003132/0.4024, allocations: 1.095 MB / 0.6595 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003241/0.4057, allocations: 1.329 MB / 0.6608 GB, free: 344 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006424/0.4121, allocations: 2.425 MB / 0.6632 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.18e-05/0.4122, allocations: 4 kB / 0.6632 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009803/0.422, allocations: 3.315 MB / 0.6664 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.132e-05/0.4221, allocations: 8 kB / 0.6664 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.183e-05/0.4221, allocations: 8 kB / 0.6664 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002944/0.4251, allocations: 0.7917 MB / 0.6672 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002084/0.4272, allocations: 435.2 kB / 0.6676 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01762/0.4448, allocations: 14.7 MB / 0.682 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003033/0.448, allocations: 307.6 kB / 0.6822 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003431/0.4484, allocations: 48.2 kB / 0.6823 GB, free: 9.094 MB / 0.5294 GB 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.001433/0.4498, allocations: 402.3 kB / 0.6827 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006277/0.4504, allocations: 146.2 kB / 0.6828 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009973/0.4604, allocations: 3.253 MB / 0.686 GB, free: 5.25 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/0.4605, allocations: 8 kB / 0.686 GB, free: 5.242 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.641e-05/0.4606, allocations: 8 kB / 0.686 GB, free: 5.234 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-05/0.4606, allocations: 7.922 kB / 0.686 GB, free: 5.227 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01268/0.4733, allocations: 4.94 MB / 0.6908 GB, free: 164 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.27e-05/0.4733, allocations: 7.938 kB / 0.6908 GB, free: 156 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.401/0.8743, allocations: 362.3 kB / 0.6912 GB, free: 91.15 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002586/0.8769, allocations: 0.6995 MB / 0.6919 GB, free: 91.09 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001522/0.8771, allocations: 32.2 kB / 0.6919 GB, free: 91.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01124/0.8884, allocations: 14.33 MB / 0.7059 GB, free: 81.15 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.8884, allocations: 3.984 kB / 0.7059 GB, free: 81.15 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00898/0.8974, allocations: 3.089 MB / 0.7089 GB, free: 80.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009351/0.8984, allocations: 394.4 kB / 0.7093 GB, free: 80.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004348/0.8988, allocations: 13.83 kB / 0.7093 GB, free: 80.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00219/0.901, allocations: 301.6 kB / 0.7096 GB, free: 80.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003556/0.9014, allocations: 86.22 kB / 0.7097 GB, free: 80.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001198/0.9015, allocations: 36.31 kB / 0.7097 GB, free: 80.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001584/0.9031, allocations: 0.7384 MB / 0.7104 GB, free: 80.59 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.11e-07/0.9032, allocations: 3.828 kB / 0.7104 GB, free: 80.59 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002235/0.9054, allocations: 431 kB / 0.7109 GB, free: 80.59 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003178/0.9057, allocations: 121.9 kB / 0.711 GB, free: 80.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008814/0.9145, allocations: 3.663 MB / 0.7146 GB, free: 79.39 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.9146, allocations: 4.031 kB / 0.7146 GB, free: 79.39 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00539/0.92, allocations: 2.391 MB / 0.7169 GB, free: 78.12 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003439/0.9235, allocations: 491 kB / 0.7174 GB, free: 78.01 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008636/0.9321, allocations: 4.126 MB / 0.7214 GB, free: 76.02 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009152/0.933, allocations: 1.382 MB / 0.7227 GB, free: 75.22 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001564/0.9346, allocations: 374.1 kB / 0.7231 GB, free: 75.09 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003444/0.935, allocations: 103.3 kB / 0.7232 GB, free: 75.08 MB / 0.5294 GB Notification: Performance of SimCode: time 4.71e-07/0.935, allocations: 0 / 0.7232 GB, free: 75.08 MB / 0.5294 GB Notification: Performance of Templates: time 0.04391/0.9789, allocations: 28.92 MB / 0.7514 GB, free: 53.52 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) Environment - environmentSimulation: