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.1964/0.1971, allocations: 82.22 MB / 0.5934 GB, free: 5.996 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.006375/0.2035, allocations: 5.289 MB / 0.5985 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006095/0.2097, allocations: 4.215 MB / 0.6027 GB, free: 12.45 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006234/0.2104, allocations: 19.88 kB / 0.6027 GB, free: 12.43 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004768/0.2108, allocations: 139.1 kB / 0.6028 GB, free: 12.29 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001874/0.2127, allocations: 0.6256 MB / 0.6034 GB, free: 11.67 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006846/0.2134, allocations: 250.7 kB / 0.6037 GB, free: 11.43 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001074/0.2145, allocations: 0.6664 MB / 0.6043 GB, free: 10.76 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005982/0.2151, allocations: 484.4 kB / 0.6048 GB, free: 10.26 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004361/0.2156, allocations: 338.8 kB / 0.6051 GB, free: 9.926 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005084/0.2161, allocations: 374.5 kB / 0.6054 GB, free: 9.559 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.222e-05/0.2161, allocations: 32 kB / 0.6055 GB, free: 9.527 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000362/0.2165, allocations: 143.8 kB / 0.6056 GB, free: 9.387 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000166/0.2167, allocations: 179.4 kB / 0.6058 GB, free: 9.211 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000188/0.2169, allocations: 165.3 kB / 0.6059 GB, free: 9.043 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007001/0.2176, allocations: 0.7989 MB / 0.6067 GB, free: 8.242 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2176, allocations: 0 / 0.6067 GB, free: 8.242 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2176, allocations: 0 / 0.6067 GB, free: 8.242 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.2176, allocations: 0 / 0.6067 GB, free: 8.242 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.001591/0.2192, allocations: 0.9884 MB / 0.6077 GB, free: 7.207 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.2193, allocations: 8.031 kB / 0.6077 GB, free: 7.199 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003207/0.2225, allocations: 0.6505 MB / 0.6083 GB, free: 6.547 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.2236, allocations: 0.522 MB / 0.6088 GB, free: 5.98 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.244e-05/0.2237, allocations: 41.3 kB / 0.6089 GB, free: 5.941 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.192e-05/0.2238, allocations: 56 kB / 0.6089 GB, free: 5.887 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001992/0.2258, allocations: 1.01 MB / 0.6099 GB, free: 4.828 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.2258, allocations: 3.938 kB / 0.6099 GB, free: 4.824 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.844e-05/0.2259, allocations: 31.98 kB / 0.61 GB, free: 4.793 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.948e-05/0.226, allocations: 49.27 kB / 0.61 GB, free: 4.746 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002266/0.2283, allocations: 1.016 MB / 0.611 GB, free: 3.73 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004242/0.2325, allocations: 2.749 MB / 0.6137 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001503/0.234, allocations: 0.5218 MB / 0.6142 GB, free: 340 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.895e-05/0.2341, allocations: 19.92 kB / 0.6142 GB, free: 320 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.569e-05/0.2342, allocations: 30.56 kB / 0.6142 GB, free: 280 kB / 462.1 MB Notification: Performance of pre-optimization done (n=31): time 2.054e-06/0.2342, allocations: 0 / 0.6142 GB, free: 280 kB / 462.1 MB Notification: Performance of matching and sorting (n=43): time 0.007142/0.2413, allocations: 2.22 MB / 0.6164 GB, free: 14 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.2414, allocations: 59.41 kB / 0.6165 GB, free: 13.93 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007139/0.2421, allocations: 0.5665 MB / 0.617 GB, free: 13.36 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.415e-05/0.2422, allocations: 33.7 kB / 0.617 GB, free: 13.32 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003111/0.2425, allocations: 356.2 kB / 0.6174 GB, free: 12.96 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/0.2426, allocations: 145.8 kB / 0.6175 GB, free: 12.82 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.701e-05/0.2427, allocations: 8 kB / 0.6175 GB, free: 12.81 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.2428, allocations: 374.8 kB / 0.6179 GB, free: 12.44 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000632/0.2435, allocations: 276.9 kB / 0.6182 GB, free: 12.16 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008652/0.2443, allocations: 381.8 kB / 0.6185 GB, free: 11.75 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007128/0.2451, allocations: 314.2 kB / 0.6188 GB, free: 11.45 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2451, allocations: 0 / 0.6188 GB, free: 11.45 MB / 478.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002342/0.2474, allocations: 0.9706 MB / 0.6198 GB, free: 10.45 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005818/0.248, allocations: 1.221 MB / 0.621 GB, free: 9.133 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.248, allocations: 4 kB / 0.621 GB, free: 9.129 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001107/0.2491, allocations: 276.8 kB / 0.6212 GB, free: 8.84 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000583/0.2497, allocations: 127.8 kB / 0.6213 GB, free: 8.715 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00775/0.2575, allocations: 8.56 MB / 0.6297 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008286/0.2584, allocations: 60 kB / 0.6298 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.08e-05/0.2584, allocations: 16 kB / 0.6298 GB, free: 15.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.2584, allocations: 4 kB / 0.6298 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00272/0.2612, allocations: 1.077 MB / 0.6308 GB, free: 14.14 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.2612, allocations: 8.297 kB / 0.6308 GB, free: 14.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007591/0.262, allocations: 221 kB / 0.6311 GB, free: 13.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005832/0.2626, allocations: 139.8 kB / 0.6312 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006378/0.2689, allocations: 8.227 MB / 0.6392 GB, free: 4.738 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007008/0.2697, allocations: 60 kB / 0.6393 GB, free: 4.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.734e-05/0.2697, allocations: 19.98 kB / 0.6393 GB, free: 4.66 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004624/0.2702, allocations: 312.9 kB / 0.6396 GB, free: 4.344 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.2703, allocations: 75.17 kB / 0.6397 GB, free: 4.27 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001379/0.2705, allocations: 82.38 kB / 0.6397 GB, free: 4.188 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.2705, allocations: 4 kB / 0.6398 GB, free: 4.184 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/0.2705, allocations: 0 / 0.6398 GB, free: 4.184 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.2705, allocations: 0 / 0.6398 GB, free: 4.184 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008788/0.2714, allocations: 0.6494 MB / 0.6404 GB, free: 3.484 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.2714, allocations: 0 / 0.6404 GB, free: 3.484 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004738/0.2719, allocations: 95.91 kB / 0.6405 GB, free: 3.391 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009312/0.2728, allocations: 265.1 kB / 0.6407 GB, free: 3.113 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.399e-05/0.2729, allocations: 8 kB / 0.6407 GB, free: 3.105 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006154/0.279, allocations: 8.502 MB / 0.649 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.279, allocations: 0 / 0.649 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00239/0.2814, allocations: 0.9639 MB / 0.65 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003241/0.2818, allocations: 180.3 kB / 0.6502 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.445e-05/0.2819, allocations: 4 kB / 0.6502 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004906/0.2824, allocations: 59.94 kB / 0.6502 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.2825, allocations: 39.89 kB / 0.6503 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.135e-05/0.2825, allocations: 12 kB / 0.6503 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005045/0.283, allocations: 399.1 kB / 0.6506 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2831, allocations: 7.938 kB / 0.6507 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001124/0.2842, allocations: 292 kB / 0.6509 GB, free: 7.816 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001683/0.2844, allocations: 111.2 kB / 0.651 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004026/0.2884, allocations: 2.419 MB / 0.6534 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.2884, allocations: 0 / 0.6534 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001429/0.2899, allocations: 1.023 MB / 0.6544 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009694/0.2908, allocations: 197.8 kB / 0.6546 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002412/0.2933, allocations: 1.55 MB / 0.6561 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006002/0.2939, allocations: 0.9975 MB / 0.6571 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005869/0.2945, allocations: 157.4 kB / 0.6572 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.2946, allocations: 51.36 kB / 0.6573 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of SimCode: time 8.42e-07/0.2946, allocations: 0 / 0.6573 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of Templates: time 0.02159/0.3162, allocations: 12.45 MB / 0.6694 GB, free: 4.738 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: