Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.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.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines") [/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.1811/0.182, allocations: 82.21 MB / 0.5934 GB, free: 6.016 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.01886/0.2009, allocations: 19 MB / 0.6119 GB, free: 2.957 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02156/0.2225, allocations: 16.41 MB / 0.6279 GB, free: 2.512 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002478/0.225, allocations: 95.38 kB / 0.628 GB, free: 2.418 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001449/0.2265, allocations: 0.5432 MB / 0.6286 GB, free: 1.871 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007935/0.2344, allocations: 2.873 MB / 0.6314 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002432/0.2369, allocations: 0.932 MB / 0.6323 GB, free: 14.08 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005241/0.2421, allocations: 3.302 MB / 0.6355 GB, free: 10.78 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002512/0.2446, allocations: 2.017 MB / 0.6375 GB, free: 8.695 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002873/0.2475, allocations: 1.709 MB / 0.6391 GB, free: 6.98 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003755/0.2513, allocations: 1.79 MB / 0.6409 GB, free: 5.184 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005713/0.2519, allocations: 167.9 kB / 0.641 GB, free: 5.02 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00158/0.2535, allocations: 471.4 kB / 0.6415 GB, free: 4.559 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008459/0.2543, allocations: 0.8332 MB / 0.6423 GB, free: 3.723 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001109/0.2555, allocations: 0.6717 MB / 0.643 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004353/0.2598, allocations: 3.795 MB / 0.6467 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2598, allocations: 4 kB / 0.6467 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.264e-06/0.2598, allocations: 0 / 0.6467 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001232/0.26, allocations: 4 kB / 0.6467 GB, free: 15.23 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.007846/0.2678, allocations: 3.856 MB / 0.6504 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.2679, allocations: 15.97 kB / 0.6505 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01565/0.2835, allocations: 3.385 MB / 0.6538 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004948/0.2885, allocations: 1.972 MB / 0.6557 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001437/0.2887, allocations: 176.7 kB / 0.6559 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005055/0.2892, allocations: 228 kB / 0.6561 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01012/0.2993, allocations: 4.709 MB / 0.6607 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.189e-05/0.2994, allocations: 4 kB / 0.6607 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002923/0.2997, allocations: 104 kB / 0.6608 GB, free: 472 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001867/0.2999, allocations: 172.8 kB / 0.6609 GB, free: 296 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01376/0.3137, allocations: 5.222 MB / 0.666 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02096/0.3346, allocations: 10.3 MB / 0.6761 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01109/0.3458, allocations: 3.849 MB / 0.6799 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001536/0.346, allocations: 25.3 kB / 0.6799 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00403/0.35, allocations: 1.806 MB / 0.6816 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=163): time 3.977e-06/0.3501, allocations: 0 / 0.6816 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=250): time 0.412/0.7621, allocations: 33.39 MB / 0.7142 GB, free: 87.54 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001746/0.7623, allocations: 0.497 MB / 0.7147 GB, free: 86.96 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00288/0.7652, allocations: 2.276 MB / 0.717 GB, free: 86.36 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004225/0.7656, allocations: 80.14 kB / 0.717 GB, free: 86.33 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001155/0.7668, allocations: 1.428 MB / 0.7184 GB, free: 85.62 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007297/0.7675, allocations: 0.8139 MB / 0.7192 GB, free: 84.91 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001579/0.7677, allocations: 46.56 kB / 0.7193 GB, free: 84.88 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.7678, allocations: 396 kB / 0.7196 GB, free: 84.51 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004246/0.7721, allocations: 1.923 MB / 0.7215 GB, free: 83.61 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004367/0.7764, allocations: 2.212 MB / 0.7237 GB, free: 82.41 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004218/0.7807, allocations: 2.13 MB / 0.7258 GB, free: 81.28 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.7807, allocations: 3.828 kB / 0.7258 GB, free: 81.28 MB / 0.5294 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01373/0.7944, allocations: 6.171 MB / 0.7318 GB, free: 75.04 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005872/0.7951, allocations: 2.447 MB / 0.7342 GB, free: 72.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.7951, allocations: 8 kB / 0.7342 GB, free: 72.32 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005821/0.8009, allocations: 1.825 MB / 0.736 GB, free: 70.49 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002786/0.8037, allocations: 0.5851 MB / 0.7365 GB, free: 69.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01836/0.8221, allocations: 14.74 MB / 0.7509 GB, free: 54.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003727/0.8259, allocations: 413.1 kB / 0.7513 GB, free: 54.55 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000238/0.8262, allocations: 91.97 kB / 0.7514 GB, free: 54.46 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.8262, allocations: 4.625 kB / 0.7514 GB, free: 54.46 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01231/0.8385, allocations: 5.749 MB / 0.757 GB, free: 48.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.971e-05/0.8385, allocations: 8 kB / 0.757 GB, free: 48.62 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004461/0.843, allocations: 1.812 MB / 0.7588 GB, free: 46.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002715/0.8457, allocations: 0.6124 MB / 0.7594 GB, free: 46.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01698/0.8627, allocations: 14.09 MB / 0.7732 GB, free: 31.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004212/0.867, allocations: 403.6 kB / 0.7736 GB, free: 31.44 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003122/0.8673, allocations: 88.61 kB / 0.7736 GB, free: 31.36 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.varLoad1.T_start,varLoad1.T_start,$PRE.varLoad1.count,varLoad1.count,$PRE.varLoad2.T_start,varLoad2.T_start,$PRE.varLoad2.count,varLoad2.count,$PRE.varLoad3.T_start,varLoad3.T_start,$PRE.varLoad3.count,varLoad3.count,$PRE.varLoad4.T_start,varLoad4.T_start,$PRE.varLoad4.count,varLoad4.count,$PRE.varLoad5.T_start,varLoad5.T_start,$PRE.varLoad5.count,varLoad5.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (172): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,45.0%) 52} * Non-linear torn systems: 1 {10 52} Notification: Performance of prepare postOptimizeDAE: time 0.001722/0.8691, allocations: 0.7815 MB / 0.7744 GB, free: 30.56 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006812/0.8697, allocations: 336 kB / 0.7747 GB, free: 30.23 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000689/0.8704, allocations: 395.5 kB / 0.7751 GB, free: 29.84 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/0.8705, allocations: 24 kB / 0.7751 GB, free: 29.82 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.512e-05/0.8705, allocations: 8 kB / 0.7751 GB, free: 29.81 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.948e-05/0.8705, allocations: 11.95 kB / 0.7751 GB, free: 29.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003569/0.8741, allocations: 3.179 MB / 0.7783 GB, free: 26.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.8741, allocations: 0 / 0.7783 GB, free: 26.64 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002377/0.8765, allocations: 0.5155 MB / 0.7788 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005152/0.8817, allocations: 1.719 MB / 0.7804 GB, free: 24.39 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001872/0.8819, allocations: 51.97 kB / 0.7805 GB, free: 24.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01731/0.8992, allocations: 14.59 MB / 0.7947 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.8993, allocations: 0 / 0.7947 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01301/0.9123, allocations: 5.78 MB / 0.8004 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001741/0.9141, allocations: 0.6609 MB / 0.801 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004867/0.9145, allocations: 44 kB / 0.8011 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002703/0.9173, allocations: 407.5 kB / 0.8015 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007504/0.918, allocations: 306.6 kB / 0.8017 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001531/0.9182, allocations: 67.97 kB / 0.8018 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001685/0.9199, allocations: 1.518 MB / 0.8033 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9199, allocations: 0 / 0.8033 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003902/0.9238, allocations: 1.594 MB / 0.8048 GB, free: 15.09 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: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 52} * Non-linear torn systems: 1 {10 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003493/0.9241, allocations: 163 kB / 0.805 GB, free: 14.92 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02275/0.9469, allocations: 10.11 MB / 0.8149 GB, free: 4.625 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.13e-05/0.947, allocations: 14.02 kB / 0.8149 GB, free: 4.617 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.008385/0.9554, allocations: 3.489 MB / 0.8183 GB, free: 1.105 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004851/0.9602, allocations: 1.007 MB / 0.8193 GB, free: 136 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01288/0.9731, allocations: 7.517 MB / 0.8266 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002171/0.9754, allocations: 2.367 MB / 0.8289 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003014/0.9784, allocations: 0.6356 MB / 0.8296 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006316/0.979, allocations: 183.4 kB / 0.8297 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of SimCode: time 8.81e-07/0.979, allocations: 0 / 0.8297 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of Templates: time 0.1158/1.095, allocations: 73.98 MB / 0.902 GB, free: 12.22 MB / 0.6387 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1) Environment - environmentSimulation: