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.2157/0.2178, allocations: 80.83 MB / 0.6706 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.00859/0.2265, allocations: 6.225 MB / 0.6767 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007312/0.2338, allocations: 4.663 MB / 0.6812 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007297/0.2346, allocations: 23.88 kB / 0.6813 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002522/0.2372, allocations: 0.9175 MB / 0.6822 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002798/0.24, allocations: 0.7961 MB / 0.6829 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009343/0.241, allocations: 315.5 kB / 0.6832 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001697/0.2427, allocations: 1.133 MB / 0.6843 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009481/0.2436, allocations: 0.681 MB / 0.685 GB, free: 3.188 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006605/0.2443, allocations: 486.3 kB / 0.6855 GB, free: 2.711 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007325/0.245, allocations: 0.5058 MB / 0.686 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.446e-05/0.2451, allocations: 68 kB / 0.686 GB, free: 2.137 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005698/0.2457, allocations: 283.5 kB / 0.6863 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002231/0.246, allocations: 247.2 kB / 0.6865 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004012/0.2464, allocations: 398 kB / 0.6869 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001202/0.2476, allocations: 1.071 MB / 0.688 GB, free: 156 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/0.2476, allocations: 3.984 kB / 0.688 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2476, allocations: 0 / 0.688 GB, free: 152 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.2476, allocations: 0 / 0.688 GB, free: 152 kB / 0.5137 GB 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.002179/0.2498, allocations: 1.091 MB / 0.689 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.267e-05/0.2499, allocations: 12.03 kB / 0.689 GB, free: 15 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003258/0.2531, allocations: 0.628 MB / 0.6897 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.2542, allocations: 0.5697 MB / 0.6902 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.152e-05/0.2543, allocations: 45.25 kB / 0.6903 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.745e-05/0.2544, allocations: 59.91 kB / 0.6903 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001958/0.2563, allocations: 1.018 MB / 0.6913 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.2564, allocations: 0 / 0.6913 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.984e-05/0.2565, allocations: 24 kB / 0.6913 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000102/0.2566, allocations: 45.3 kB / 0.6914 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002435/0.259, allocations: 1.004 MB / 0.6924 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00406/0.2631, allocations: 2.725 MB / 0.695 GB, free: 8.672 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001446/0.2646, allocations: 498.2 kB / 0.6955 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005443/0.2651, allocations: 232.7 kB / 0.6957 GB, free: 7.945 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.963e-05/0.2652, allocations: 7.984 kB / 0.6957 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.2652, allocations: 30.56 kB / 0.6958 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 1.923e-06/0.2652, allocations: 0 / 0.6958 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of matching and sorting (n=43): time 0.007/0.2722, allocations: 2.025 MB / 0.6977 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/0.2723, allocations: 55.41 kB / 0.6978 GB, free: 5.762 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000781/0.2731, allocations: 0.5665 MB / 0.6983 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.812e-05/0.2732, allocations: 33.7 kB / 0.6984 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002581/0.2734, allocations: 356.2 kB / 0.6987 GB, free: 4.793 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/0.2736, allocations: 149.8 kB / 0.6988 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001701/0.2737, allocations: 90.16 kB / 0.6989 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.2739, allocations: 378.7 kB / 0.6993 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006946/0.2746, allocations: 254.9 kB / 0.6995 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007342/0.2753, allocations: 381.7 kB / 0.6999 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00136/0.2767, allocations: 0.6116 MB / 0.7005 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2767, allocations: 3.938 kB / 0.7005 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002385/0.2791, allocations: 0.9313 MB / 0.7014 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/0.2792, allocations: 7.984 kB / 0.7014 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.2792, allocations: 4.344 kB / 0.7014 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/0.2803, allocations: 268.9 kB / 0.7017 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006036/0.2809, allocations: 119.8 kB / 0.7018 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007207/0.2882, allocations: 9.104 MB / 0.7107 GB, free: 7.543 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008206/0.289, allocations: 47.88 kB / 0.7107 GB, free: 7.496 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.456e-05/0.2891, allocations: 20 kB / 0.7108 GB, free: 7.477 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001037/0.2901, allocations: 441 kB / 0.7112 GB, free: 7.043 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007364/0.2909, allocations: 357.4 kB / 0.7115 GB, free: 6.648 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001351/0.2922, allocations: 0.6168 MB / 0.7121 GB, free: 5.988 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.455e-06/0.2922, allocations: 0 / 0.7121 GB, free: 5.988 MB / 0.545 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002531/0.2948, allocations: 1.125 MB / 0.7132 GB, free: 4.781 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.2948, allocations: 10.19 kB / 0.7132 GB, free: 4.773 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.2948, allocations: 4 kB / 0.7132 GB, free: 4.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008812/0.2957, allocations: 229.4 kB / 0.7134 GB, free: 4.527 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006176/0.2963, allocations: 115.8 kB / 0.7136 GB, free: 4.414 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007294/0.3036, allocations: 8.792 MB / 0.7221 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008231/0.3045, allocations: 44.02 kB / 0.7222 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.457e-05/0.3046, allocations: 23.98 kB / 0.7222 GB, free: 10.71 MB / 0.5606 GB 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.0002763/0.3049, allocations: 216 kB / 0.7224 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.305, allocations: 67.25 kB / 0.7225 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002151/0.3052, allocations: 86.5 kB / 0.7226 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.3052, allocations: 7.984 kB / 0.7226 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.669e-05/0.3052, allocations: 3.938 kB / 0.7226 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.3052, allocations: 0 / 0.7226 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008483/0.3061, allocations: 0.6455 MB / 0.7232 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.3061, allocations: 4 kB / 0.7232 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005157/0.3066, allocations: 91.84 kB / 0.7233 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009723/0.3076, allocations: 252.9 kB / 0.7235 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.931e-05/0.3077, allocations: 12 kB / 0.7235 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007571/0.3153, allocations: 9.066 MB / 0.7324 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3153, allocations: 0 / 0.7324 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002468/0.3178, allocations: 0.913 MB / 0.7333 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003709/0.3182, allocations: 184.3 kB / 0.7335 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.393e-05/0.3182, allocations: 4 kB / 0.7335 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005004/0.3187, allocations: 43.95 kB / 0.7335 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001717/0.3189, allocations: 31.95 kB / 0.7335 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.876e-05/0.319, allocations: 15.98 kB / 0.7336 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005962/0.3196, allocations: 403.1 kB / 0.7339 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3196, allocations: 0 / 0.7339 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001352/0.3209, allocations: 303.9 kB / 0.7342 GB, free: 13.43 MB / 0.5762 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.0002271/0.3212, allocations: 107.2 kB / 0.7343 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004261/0.3255, allocations: 2.348 MB / 0.7366 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.351e-06/0.3255, allocations: 0 / 0.7366 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001694/0.3272, allocations: 1.015 MB / 0.7376 GB, free: 9.719 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/0.3284, allocations: 224.5 kB / 0.7378 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003169/0.3316, allocations: 1.314 MB / 0.7391 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007148/0.3323, allocations: 0.9821 MB / 0.7401 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005049/0.3329, allocations: 149.4 kB / 0.7402 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.333, allocations: 47.42 kB / 0.7403 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of SimCode: time 7.32e-07/0.333, allocations: 0 / 0.7403 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of Templates: time 0.4561/0.7891, allocations: 13.86 MB / 0.7538 GB, free: 69.29 MB / 0.5762 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)