Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.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.DC.Lines.Examples.DCLine,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine") [/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.1634/0.1654, allocations: 80.82 MB / 0.5897 GB, free: 7.117 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.01023/0.1757, allocations: 6.231 MB / 0.5958 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007113/0.1829, allocations: 4.652 MB / 0.6003 GB, free: 12.18 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006488/0.1836, allocations: 27.81 kB / 0.6003 GB, free: 12.15 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002311/0.1859, allocations: 0.8598 MB / 0.6012 GB, free: 11.29 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002423/0.1884, allocations: 0.7231 MB / 0.6019 GB, free: 10.57 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007496/0.1891, allocations: 299.1 kB / 0.6022 GB, free: 10.28 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001552/0.1907, allocations: 1.441 MB / 0.6036 GB, free: 8.832 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006391/0.1914, allocations: 477.8 kB / 0.604 GB, free: 8.359 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005186/0.1919, allocations: 418.3 kB / 0.6044 GB, free: 7.949 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006232/0.1925, allocations: 0.502 MB / 0.6049 GB, free: 7.445 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.442e-05/0.1926, allocations: 44 kB / 0.605 GB, free: 7.402 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005792/0.1932, allocations: 323.4 kB / 0.6053 GB, free: 7.086 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001899/0.1934, allocations: 215.2 kB / 0.6055 GB, free: 6.875 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003355/0.1937, allocations: 381.9 kB / 0.6058 GB, free: 6.5 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009647/0.1947, allocations: 1.047 MB / 0.6069 GB, free: 5.449 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1947, allocations: 0 / 0.6069 GB, free: 5.449 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1947, allocations: 0 / 0.6069 GB, free: 5.449 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.1948, allocations: 3.938 kB / 0.6069 GB, free: 5.445 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001921/0.1967, allocations: 1.094 MB / 0.6079 GB, free: 4.297 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.1967, allocations: 8.031 kB / 0.6079 GB, free: 4.289 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003072/0.1998, allocations: 0.6357 MB / 0.6086 GB, free: 3.652 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008081/0.2006, allocations: 0.5386 MB / 0.6091 GB, free: 3.07 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.895e-05/0.2007, allocations: 41.25 kB / 0.6091 GB, free: 3.031 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.188e-05/0.2008, allocations: 52 kB / 0.6092 GB, free: 2.98 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001908/0.2027, allocations: 1.018 MB / 0.6102 GB, free: 1.918 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.2027, allocations: 7.938 kB / 0.6102 GB, free: 1.91 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.937e-05/0.2028, allocations: 24 kB / 0.6102 GB, free: 1.887 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.212e-05/0.2029, allocations: 49.28 kB / 0.6102 GB, free: 1.836 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002216/0.2051, allocations: 1.008 MB / 0.6112 GB, free: 0.8281 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004156/0.2093, allocations: 2.741 MB / 0.6139 GB, free: 13.97 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/0.2107, allocations: 490.3 kB / 0.6144 GB, free: 13.48 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005214/0.2113, allocations: 228.7 kB / 0.6146 GB, free: 13.25 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.718e-05/0.2113, allocations: 8 kB / 0.6146 GB, free: 13.25 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.2113, allocations: 30.56 kB / 0.6146 GB, free: 13.21 MB / 478.1 MB Notification: Performance of pre-optimization done (n=31): time 2.103e-06/0.2114, allocations: 0 / 0.6146 GB, free: 13.21 MB / 478.1 MB Notification: Performance of matching and sorting (n=43): time 0.006591/0.218, allocations: 2.023 MB / 0.6166 GB, free: 11.14 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.218, allocations: 59.41 kB / 0.6167 GB, free: 11.07 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006776/0.2187, allocations: 0.5627 MB / 0.6172 GB, free: 10.49 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.077e-05/0.2187, allocations: 29.7 kB / 0.6172 GB, free: 10.46 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002765/0.219, allocations: 360.2 kB / 0.6176 GB, free: 10.1 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/0.2192, allocations: 149.8 kB / 0.6177 GB, free: 9.953 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/0.2194, allocations: 90.16 kB / 0.6178 GB, free: 9.859 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.2195, allocations: 378.7 kB / 0.6182 GB, free: 9.48 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006309/0.2202, allocations: 258.9 kB / 0.6184 GB, free: 9.227 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006855/0.2209, allocations: 365.7 kB / 0.6188 GB, free: 8.824 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/0.2221, allocations: 0.6233 MB / 0.6194 GB, free: 8.16 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2222, allocations: 0 / 0.6194 GB, free: 8.16 MB / 478.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002281/0.2244, allocations: 0.9315 MB / 0.6203 GB, free: 7.203 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.2245, allocations: 8.031 kB / 0.6203 GB, free: 7.195 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.2245, allocations: 4 kB / 0.6203 GB, free: 7.191 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001114/0.2256, allocations: 272.9 kB / 0.6206 GB, free: 6.906 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006046/0.2262, allocations: 119.7 kB / 0.6207 GB, free: 6.789 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007105/0.2333, allocations: 8.448 MB / 0.6289 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008231/0.2342, allocations: 39.95 kB / 0.629 GB, free: 13.51 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.974e-05/0.2343, allocations: 23.98 kB / 0.629 GB, free: 13.49 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001053/0.2353, allocations: 438.1 kB / 0.6294 GB, free: 13.06 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006737/0.236, allocations: 353.4 kB / 0.6297 GB, free: 12.67 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001286/0.2373, allocations: 0.6129 MB / 0.6303 GB, free: 12.01 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.044e-06/0.2373, allocations: 0 / 0.6303 GB, free: 12.01 MB / 494.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002435/0.2398, allocations: 1.128 MB / 0.6314 GB, free: 10.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.2398, allocations: 4 kB / 0.6314 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.2398, allocations: 4 kB / 0.6314 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008077/0.2406, allocations: 221.2 kB / 0.6317 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005865/0.2412, allocations: 119.8 kB / 0.6318 GB, free: 10.44 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006391/0.2476, allocations: 8.165 MB / 0.6397 GB, free: 1.484 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007156/0.2484, allocations: 44 kB / 0.6398 GB, free: 1.441 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.525e-05/0.2484, allocations: 27.94 kB / 0.6398 GB, free: 1.414 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002867/0.2487, allocations: 215.3 kB / 0.64 GB, free: 1.199 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/0.2489, allocations: 67.16 kB / 0.6401 GB, free: 1.133 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002148/0.2491, allocations: 82.38 kB / 0.6402 GB, free: 1.047 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.2491, allocations: 4 kB / 0.6402 GB, free: 1.043 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.56e-05/0.2491, allocations: 4 kB / 0.6402 GB, free: 1.039 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.2491, allocations: 3.984 kB / 0.6402 GB, free: 1.035 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.2502, allocations: 0.6416 MB / 0.6408 GB, free: 352 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/0.2502, allocations: 3.984 kB / 0.6408 GB, free: 348 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004863/0.2507, allocations: 87.86 kB / 0.6409 GB, free: 260 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001033/0.2517, allocations: 261.1 kB / 0.6411 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.576e-05/0.2518, allocations: 11.92 kB / 0.6411 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006552/0.2584, allocations: 8.388 MB / 0.6493 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.2584, allocations: 128 / 0.6493 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002295/0.2607, allocations: 0.9286 MB / 0.6502 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002882/0.261, allocations: 180.3 kB / 0.6504 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.616e-05/0.2611, allocations: 4 kB / 0.6504 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004715/0.2616, allocations: 51.88 kB / 0.6505 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.2617, allocations: 35.95 kB / 0.6505 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.288e-05/0.2618, allocations: 15.98 kB / 0.6505 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004615/0.2622, allocations: 403.1 kB / 0.6509 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2622, allocations: 0 / 0.6509 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001104/0.2634, allocations: 300 kB / 0.6512 GB, free: 4.836 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001553/0.2635, allocations: 107.2 kB / 0.6513 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003525/0.2671, allocations: 2.337 MB / 0.6536 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.2671, allocations: 8.125 kB / 0.6536 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001287/0.2684, allocations: 0.992 MB / 0.6545 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.2694, allocations: 213.4 kB / 0.6548 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002538/0.272, allocations: 1.59 MB / 0.6563 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005668/0.2725, allocations: 0.9858 MB / 0.6573 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006222/0.2732, allocations: 149.4 kB / 0.6574 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.2733, allocations: 47.42 kB / 0.6575 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of SimCode: time 4.81e-07/0.2733, allocations: 0 / 0.6575 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of Templates: time 0.02204/0.2954, allocations: 12.8 MB / 0.67 GB, free: 1.477 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)