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.1776/0.1784, allocations: 82.22 MB / 0.5935 GB, free: 5.965 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.02148/0.1999, allocations: 20.1 MB / 0.6131 GB, free: 1.797 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02544/0.2254, allocations: 16.89 MB / 0.6296 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003993/0.2295, allocations: 103.4 kB / 0.6297 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002929/0.2325, allocations: 0.5541 MB / 0.6302 GB, free: 208 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01185/0.2443, allocations: 2.908 MB / 0.6331 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003561/0.2479, allocations: 0.9608 MB / 0.634 GB, free: 12.34 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.009337/0.2573, allocations: 5.741 MB / 0.6396 GB, free: 6.586 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003955/0.2613, allocations: 2.021 MB / 0.6416 GB, free: 4.5 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004842/0.2662, allocations: 1.856 MB / 0.6434 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005298/0.2715, allocations: 2.206 MB / 0.6456 GB, free: 432 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001018/0.2725, allocations: 164 kB / 0.6457 GB, free: 268 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002144/0.2747, allocations: 499.4 kB / 0.6462 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009982/0.2757, allocations: 0.9069 MB / 0.6471 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001417/0.2771, allocations: 0.6794 MB / 0.6477 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005453/0.2826, allocations: 3.795 MB / 0.6514 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.804e-06/0.2826, allocations: 4 kB / 0.6515 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.706e-06/0.2827, allocations: 3.938 kB / 0.6515 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.000185/0.2828, allocations: 0 / 0.6515 GB, free: 10.36 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.009248/0.2921, allocations: 3.877 MB / 0.6552 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/0.2922, allocations: 12.03 kB / 0.6553 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01501/0.3072, allocations: 3.342 MB / 0.6585 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005399/0.3127, allocations: 1.964 MB / 0.6604 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001723/0.3129, allocations: 176.7 kB / 0.6606 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006865/0.3136, allocations: 232 kB / 0.6608 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01033/0.3239, allocations: 4.729 MB / 0.6654 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.777e-05/0.324, allocations: 7.938 kB / 0.6655 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003092/0.3243, allocations: 112 kB / 0.6656 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002007/0.3245, allocations: 168.8 kB / 0.6657 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01281/0.3373, allocations: 5.218 MB / 0.6708 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01963/0.357, allocations: 10.3 MB / 0.6809 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01024/0.3673, allocations: 3.837 MB / 0.6846 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003414/0.3708, allocations: 1.514 MB / 0.6861 GB, free: 6.277 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00013/0.3709, allocations: 25.23 kB / 0.6861 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003758/0.3747, allocations: 1.825 MB / 0.6879 GB, free: 4.359 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=163): time 3.637e-06/0.3747, allocations: 0 / 0.6879 GB, free: 4.359 MB / 0.5294 GB Notification: Performance of matching and sorting (n=250): time 0.4883/0.8631, allocations: 33.38 MB / 0.7205 GB, free: 85.45 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001413/0.8633, allocations: 0.4966 MB / 0.721 GB, free: 84.87 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002917/0.8662, allocations: 2.273 MB / 0.7232 GB, free: 83.61 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003053/0.8665, allocations: 75.77 kB / 0.7233 GB, free: 83.57 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001114/0.8676, allocations: 1.43 MB / 0.7247 GB, free: 82.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006459/0.8683, allocations: 0.8135 MB / 0.7255 GB, free: 81.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/0.8684, allocations: 44 kB / 0.7255 GB, free: 81.66 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.8686, allocations: 402.6 kB / 0.7259 GB, free: 81.26 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003755/0.8723, allocations: 1.917 MB / 0.7278 GB, free: 79.34 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003985/0.8763, allocations: 2.224 MB / 0.7299 GB, free: 77.03 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004228/0.8806, allocations: 2.124 MB / 0.732 GB, free: 74.85 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.8806, allocations: 4 kB / 0.732 GB, free: 74.85 MB / 0.5294 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01289/0.8935, allocations: 6.166 MB / 0.738 GB, free: 68.59 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001826/0.8937, allocations: 407.5 kB / 0.7384 GB, free: 68.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.8937, allocations: 11.09 kB / 0.7384 GB, free: 68.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005318/0.8991, allocations: 1.825 MB / 0.7402 GB, free: 66.24 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002621/0.9017, allocations: 0.589 MB / 0.7408 GB, free: 65.65 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01764/0.9194, allocations: 14.07 MB / 0.7545 GB, free: 51.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003911/0.9233, allocations: 416.8 kB / 0.7549 GB, free: 50.95 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000553/0.9239, allocations: 87.97 kB / 0.755 GB, free: 50.87 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.9239, allocations: 7.469 kB / 0.755 GB, free: 50.86 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01193/0.9359, allocations: 5.75 MB / 0.7606 GB, free: 45.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.262e-05/0.9359, allocations: 8.344 kB / 0.7607 GB, free: 45.02 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004188/0.9401, allocations: 1.812 MB / 0.7624 GB, free: 43.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002738/0.9429, allocations: 0.61 MB / 0.763 GB, free: 42.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01627/0.9592, allocations: 13.48 MB / 0.7762 GB, free: 28.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003938/0.9632, allocations: 399.6 kB / 0.7766 GB, free: 28.47 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004143/0.9636, allocations: 91.97 kB / 0.7767 GB, free: 28.38 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.001767/0.9654, allocations: 0.7851 MB / 0.7774 GB, free: 27.58 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006979/0.9661, allocations: 332 kB / 0.7777 GB, free: 27.25 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007645/0.9669, allocations: 396 kB / 0.7781 GB, free: 26.86 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/0.9669, allocations: 24 kB / 0.7781 GB, free: 26.84 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.032e-05/0.9669, allocations: 9 kB / 0.7781 GB, free: 26.83 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.768e-05/0.967, allocations: 11.95 kB / 0.7782 GB, free: 26.82 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003565/0.9705, allocations: 3.167 MB / 0.7812 GB, free: 23.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/0.9706, allocations: 0 / 0.7812 GB, free: 23.67 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002182/0.9728, allocations: 0.5189 MB / 0.7818 GB, free: 23.15 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004883/0.9777, allocations: 1.722 MB / 0.7834 GB, free: 21.42 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003418/0.978, allocations: 53.39 kB / 0.7835 GB, free: 21.37 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01723/0.9953, allocations: 13.93 MB / 0.7971 GB, free: 7.184 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.9954, allocations: 0 / 0.7971 GB, free: 7.184 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01318/1.009, allocations: 5.775 MB / 0.8027 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002081/1.011, allocations: 0.6737 MB / 0.8034 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005638/1.011, allocations: 44 kB / 0.8034 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002525/1.014, allocations: 399.5 kB / 0.8038 GB, free: 252 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008433/1.015, allocations: 306.6 kB / 0.8041 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001773/1.015, allocations: 71.97 kB / 0.8042 GB, free: 15.88 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002261/1.017, allocations: 1.513 MB / 0.8057 GB, free: 14.36 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.31e-07/1.017, allocations: 0 / 0.8057 GB, free: 14.36 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00507/1.022, allocations: 1.598 MB / 0.8072 GB, free: 12.77 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.0004145/1.023, allocations: 162.3 kB / 0.8074 GB, free: 12.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02211/1.045, allocations: 10.1 MB / 0.8172 GB, free: 2.316 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/1.045, allocations: 12 kB / 0.8172 GB, free: 2.305 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00821/1.053, allocations: 3.495 MB / 0.8207 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005623/1.059, allocations: 1.048 MB / 0.8217 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0171/1.076, allocations: 7.517 MB / 0.829 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00263/1.079, allocations: 2.305 MB / 0.8313 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003589/1.082, allocations: 0.6348 MB / 0.8319 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007523/1.083, allocations: 175.4 kB / 0.8321 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of SimCode: time 1.332e-06/1.083, allocations: 4 kB / 0.8321 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of Templates: time 0.1348/1.218, allocations: 74.02 MB / 0.9043 GB, free: 9.91 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: