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.2337/0.2358, allocations: 80.85 MB / 0.6706 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.009001/0.2449, allocations: 6.202 MB / 0.6767 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007601/0.2525, allocations: 4.678 MB / 0.6812 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008841/0.2534, allocations: 23.88 kB / 0.6813 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002841/0.2564, allocations: 0.9095 MB / 0.6822 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002967/0.2593, allocations: 0.8009 MB / 0.6829 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.2604, allocations: 326.3 kB / 0.6833 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002213/0.2626, allocations: 1.117 MB / 0.6843 GB, free: 3.922 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00129/0.2639, allocations: 0.681 MB / 0.685 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001001/0.2649, allocations: 474.3 kB / 0.6855 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001278/0.2662, allocations: 0.5059 MB / 0.686 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000293/0.2665, allocations: 68 kB / 0.686 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001021/0.2676, allocations: 275.5 kB / 0.6863 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004782/0.268, allocations: 251.2 kB / 0.6865 GB, free: 1.672 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007871/0.2688, allocations: 402 kB / 0.6869 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002027/0.2709, allocations: 1.071 MB / 0.688 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.2709, allocations: 0 / 0.688 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2709, allocations: 0 / 0.688 GB, free: 208 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.318e-05/0.271, allocations: 4 kB / 0.688 GB, free: 204 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.003687/0.2747, allocations: 1.094 MB / 0.689 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 7.812e-05/0.2748, allocations: 12.03 kB / 0.689 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003708/0.2785, allocations: 0.6319 MB / 0.6897 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/0.2799, allocations: 0.5658 MB / 0.6902 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.354e-05/0.2799, allocations: 45.23 kB / 0.6902 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001615/0.2801, allocations: 55.94 kB / 0.6903 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002488/0.2826, allocations: 1.014 MB / 0.6913 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.719e-05/0.2827, allocations: 0 / 0.6913 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.2828, allocations: 31.97 kB / 0.6913 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.701e-05/0.2829, allocations: 45.3 kB / 0.6914 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002638/0.2855, allocations: 1.008 MB / 0.6923 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005016/0.2905, allocations: 2.717 MB / 0.695 GB, free: 8.723 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001559/0.2921, allocations: 494.3 kB / 0.6955 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005925/0.2927, allocations: 232.7 kB / 0.6957 GB, free: 8 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.06e-05/0.2928, allocations: 7.984 kB / 0.6957 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.2928, allocations: 42.48 kB / 0.6957 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 1.914e-06/0.2928, allocations: 0 / 0.6957 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of matching and sorting (n=43): time 0.007356/0.3002, allocations: 2.017 MB / 0.6977 GB, free: 5.879 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/0.3003, allocations: 55.41 kB / 0.6978 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008029/0.3011, allocations: 0.5665 MB / 0.6983 GB, free: 5.234 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.952e-05/0.3012, allocations: 33.7 kB / 0.6984 GB, free: 5.195 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002721/0.3014, allocations: 360.2 kB / 0.6987 GB, free: 4.84 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001515/0.3016, allocations: 149.8 kB / 0.6988 GB, free: 4.691 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001974/0.3018, allocations: 94.16 kB / 0.6989 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.302, allocations: 378.7 kB / 0.6993 GB, free: 4.215 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007/0.3027, allocations: 254.9 kB / 0.6995 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007595/0.3035, allocations: 365.8 kB / 0.6999 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001482/0.305, allocations: 0.6155 MB / 0.7005 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.305, allocations: 8 kB / 0.7005 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002522/0.3075, allocations: 0.9234 MB / 0.7014 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.932e-05/0.3076, allocations: 4.344 kB / 0.7014 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.3076, allocations: 8 kB / 0.7014 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001218/0.3088, allocations: 280.8 kB / 0.7017 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006172/0.3094, allocations: 119.8 kB / 0.7018 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007548/0.317, allocations: 9.097 MB / 0.7107 GB, free: 7.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007555/0.3178, allocations: 43.89 kB / 0.7107 GB, free: 7.547 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-05/0.3179, allocations: 27.92 kB / 0.7107 GB, free: 7.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001003/0.3189, allocations: 433.1 kB / 0.7112 GB, free: 7.094 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007594/0.3197, allocations: 359.8 kB / 0.7115 GB, free: 6.699 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001433/0.3211, allocations: 0.6168 MB / 0.7121 GB, free: 6.039 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.867e-06/0.3211, allocations: 0 / 0.7121 GB, free: 6.039 MB / 0.545 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002648/0.3238, allocations: 1.128 MB / 0.7132 GB, free: 4.828 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.3238, allocations: 10.12 kB / 0.7132 GB, free: 4.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.3238, allocations: 4 kB / 0.7132 GB, free: 4.816 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008478/0.3247, allocations: 225.2 kB / 0.7134 GB, free: 4.578 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006185/0.3253, allocations: 119.8 kB / 0.7135 GB, free: 4.461 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006821/0.3322, allocations: 8.804 MB / 0.7221 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007716/0.333, allocations: 43.94 kB / 0.7222 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.628e-05/0.333, allocations: 20 kB / 0.7222 GB, free: 10.75 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.0002813/0.3333, allocations: 212.1 kB / 0.7224 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001978/0.3335, allocations: 63.25 kB / 0.7225 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002194/0.3338, allocations: 78.38 kB / 0.7225 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.3338, allocations: 7.984 kB / 0.7225 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.478e-05/0.3338, allocations: 7.938 kB / 0.7226 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3338, allocations: 0 / 0.7226 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009991/0.3348, allocations: 0.6455 MB / 0.7232 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.864e-06/0.3348, allocations: 0 / 0.7232 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005299/0.3354, allocations: 87.86 kB / 0.7233 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001016/0.3364, allocations: 264.8 kB / 0.7235 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.418e-05/0.3365, allocations: 8 kB / 0.7235 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009282/0.3458, allocations: 9.066 MB / 0.7324 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.3458, allocations: 0 / 0.7324 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002739/0.3486, allocations: 0.9131 MB / 0.7333 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004488/0.349, allocations: 176.3 kB / 0.7334 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.67e-05/0.3491, allocations: 15.98 kB / 0.7335 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00053/0.3497, allocations: 35.95 kB / 0.7335 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002303/0.3499, allocations: 39.89 kB / 0.7335 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.892e-05/0.35, allocations: 15.98 kB / 0.7335 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006129/0.3506, allocations: 403.1 kB / 0.7339 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.51e-07/0.3506, allocations: 4 kB / 0.7339 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001352/0.3519, allocations: 295.9 kB / 0.7342 GB, free: 13.48 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.0001697/0.3521, allocations: 107.2 kB / 0.7343 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004614/0.3567, allocations: 2.348 MB / 0.7366 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/0.3568, allocations: 0 / 0.7366 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001637/0.3584, allocations: 1.015 MB / 0.7376 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001242/0.3597, allocations: 237.9 kB / 0.7378 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002785/0.3625, allocations: 1.313 MB / 0.7391 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007274/0.3632, allocations: 0.9821 MB / 0.7401 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005751/0.3638, allocations: 149.4 kB / 0.7402 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/0.364, allocations: 47.42 kB / 0.7403 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of SimCode: time 7.12e-07/0.364, allocations: 0 / 0.7403 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of Templates: time 0.4966/0.8606, allocations: 13.57 MB / 0.7535 GB, free: 69.2 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)