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.2249/0.2272, allocations: 80.82 MB / 0.6706 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.008287/0.2355, allocations: 6.219 MB / 0.6767 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007869/0.2435, allocations: 4.678 MB / 0.6812 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.2447, allocations: 23.88 kB / 0.6813 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002827/0.2475, allocations: 0.9129 MB / 0.6822 GB, free: 8.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003509/0.2512, allocations: 0.8148 MB / 0.683 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.2523, allocations: 323.4 kB / 0.6833 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002259/0.2545, allocations: 1.129 MB / 0.6844 GB, free: 6.465 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001121/0.2557, allocations: 0.6888 MB / 0.685 GB, free: 5.766 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009142/0.2566, allocations: 482.3 kB / 0.6855 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009006/0.2575, allocations: 0.5059 MB / 0.686 GB, free: 4.785 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001207/0.2576, allocations: 68 kB / 0.6861 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008267/0.2585, allocations: 279.5 kB / 0.6863 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002981/0.2588, allocations: 247.2 kB / 0.6866 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004962/0.2593, allocations: 406 kB / 0.6869 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001439/0.2607, allocations: 1.067 MB / 0.688 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.012e-05/0.2608, allocations: 3.984 kB / 0.688 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2608, allocations: 0 / 0.688 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.051e-05/0.2608, allocations: 0 / 0.688 GB, free: 2.73 MB / 0.5294 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.002071/0.2629, allocations: 1.09 MB / 0.6891 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.2629, allocations: 12.03 kB / 0.6891 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003141/0.2661, allocations: 0.6242 MB / 0.6897 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.2672, allocations: 0.5696 MB / 0.6902 GB, free: 352 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.672e-05/0.2673, allocations: 49.23 kB / 0.6903 GB, free: 300 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.2674, allocations: 51.98 kB / 0.6903 GB, free: 248 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5454/0.8129, allocations: 1.008 MB / 0.6913 GB, free: 23.1 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.483e-05/0.8129, allocations: 0 / 0.6913 GB, free: 23.1 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-05/0.813, allocations: 21.31 kB / 0.6913 GB, free: 23.1 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000111/0.8132, allocations: 54.61 kB / 0.6914 GB, free: 23.1 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002759/0.8159, allocations: 1.007 MB / 0.6924 GB, free: 23.09 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004227/0.8202, allocations: 2.717 MB / 0.695 GB, free: 21.89 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/0.8216, allocations: 0.4902 MB / 0.6955 GB, free: 21.86 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000566/0.8222, allocations: 229.5 kB / 0.6957 GB, free: 21.86 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.814e-05/0.8222, allocations: 3.531 kB / 0.6957 GB, free: 21.86 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.8223, allocations: 39.53 kB / 0.6958 GB, free: 21.82 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 4.348e-06/0.8223, allocations: 0 / 0.6958 GB, free: 21.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=43): time 0.006614/0.8289, allocations: 2.012 MB / 0.6977 GB, free: 21.48 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.829, allocations: 56.56 kB / 0.6978 GB, free: 21.42 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008086/0.8298, allocations: 0.5741 MB / 0.6983 GB, free: 21.28 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.803e-05/0.8298, allocations: 32.42 kB / 0.6984 GB, free: 21.25 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002574/0.8301, allocations: 353.8 kB / 0.6987 GB, free: 21.08 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001444/0.8303, allocations: 149.9 kB / 0.6989 GB, free: 20.99 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001803/0.8304, allocations: 93.36 kB / 0.6989 GB, free: 20.97 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.8306, allocations: 374.7 kB / 0.6993 GB, free: 20.65 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006475/0.8312, allocations: 265 kB / 0.6996 GB, free: 20.64 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000701/0.8319, allocations: 360.5 kB / 0.6999 GB, free: 20.52 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/0.8332, allocations: 0.6229 MB / 0.7005 GB, free: 20.39 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.8332, allocations: 1.562 kB / 0.7005 GB, free: 20.39 MB / 0.5294 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002295/0.8355, allocations: 0.9249 MB / 0.7014 GB, free: 20.26 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.8356, allocations: 8.672 kB / 0.7014 GB, free: 20.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.8356, allocations: 2.625 kB / 0.7014 GB, free: 20.26 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001165/0.8368, allocations: 281.3 kB / 0.7017 GB, free: 20.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006053/0.8374, allocations: 112.4 kB / 0.7018 GB, free: 20.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008574/0.846, allocations: 9.114 MB / 0.7107 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007906/0.8468, allocations: 46.34 kB / 0.7107 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-05/0.8469, allocations: 25.05 kB / 0.7108 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001056/0.8479, allocations: 432.8 kB / 0.7112 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007537/0.8487, allocations: 361.7 kB / 0.7115 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001371/0.8501, allocations: 0.6147 MB / 0.7121 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.025e-06/0.8501, allocations: 5.656 kB / 0.7121 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.003076/0.8532, allocations: 1.112 MB / 0.7132 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.8532, allocations: 14.66 kB / 0.7132 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.8533, allocations: 4.031 kB / 0.7132 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008666/0.8541, allocations: 221.7 kB / 0.7134 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006565/0.8548, allocations: 127.1 kB / 0.7136 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005813/0.8606, allocations: 8.791 MB / 0.7221 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000734/0.8614, allocations: 42.64 kB / 0.7222 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.947e-05/0.8614, allocations: 20.03 kB / 0.7222 GB, free: 1.711 MB / 0.5294 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.0002334/0.8617, allocations: 216.6 kB / 0.7224 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.8618, allocations: 65.09 kB / 0.7225 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001913/0.862, allocations: 80.88 kB / 0.7226 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.862, allocations: 4.594 kB / 0.7226 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.101e-05/0.8621, allocations: 1.156 kB / 0.7226 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.8621, allocations: 8.453 kB / 0.7226 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.8631, allocations: 0.6482 MB / 0.7232 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.8631, allocations: 0 / 0.7232 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005034/0.8636, allocations: 89.97 kB / 0.7233 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009971/0.8647, allocations: 263.5 kB / 0.7235 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.198e-05/0.8647, allocations: 8.141 kB / 0.7235 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008197/0.8729, allocations: 9.061 MB / 0.7324 GB, free: 8.203 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.873, allocations: 1.375 kB / 0.7324 GB, free: 8.203 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00255/0.8755, allocations: 0.9104 MB / 0.7333 GB, free: 7.785 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003497/0.8759, allocations: 184 kB / 0.7335 GB, free: 7.633 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.752e-05/0.876, allocations: 10.14 kB / 0.7335 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004702/0.8764, allocations: 36.91 kB / 0.7335 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001915/0.8766, allocations: 45.11 kB / 0.7335 GB, free: 7.605 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/0.8767, allocations: 10.02 kB / 0.7336 GB, free: 7.605 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000692/0.8774, allocations: 403.9 kB / 0.7339 GB, free: 7.422 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8774, allocations: 0.9844 kB / 0.7339 GB, free: 7.422 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001462/0.8789, allocations: 297.9 kB / 0.7342 GB, free: 7.395 MB / 0.545 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.0002367/0.8791, allocations: 113.4 kB / 0.7343 GB, free: 7.293 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004688/0.8838, allocations: 2.347 MB / 0.7366 GB, free: 5.641 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.8838, allocations: 1.312 kB / 0.7366 GB, free: 5.641 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001622/0.8855, allocations: 1.019 MB / 0.7376 GB, free: 4.844 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/0.8867, allocations: 224.8 kB / 0.7378 GB, free: 4.777 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003442/0.8902, allocations: 1.316 MB / 0.7391 GB, free: 4.129 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008289/0.891, allocations: 0.9825 MB / 0.7401 GB, free: 3.398 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006485/0.8917, allocations: 155.1 kB / 0.7402 GB, free: 3.363 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.8918, allocations: 42.67 kB / 0.7403 GB, free: 3.359 MB / 0.545 GB Notification: Performance of SimCode: time 4.11e-07/0.8918, allocations: 1.188 kB / 0.7403 GB, free: 3.359 MB / 0.545 GB Notification: Performance of Templates: time 0.03651/0.9283, allocations: 13.58 MB / 0.7535 GB, free: 13.36 MB / 0.5606 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)