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.1627/0.1635, allocations: 82.23 MB / 0.5941 GB, free: 5.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.02159/0.1851, allocations: 21.35 MB / 0.615 GB, free: 136 kB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02762/0.2128, allocations: 17.91 MB / 0.6325 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004455/0.2173, allocations: 99.44 kB / 0.6326 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002841/0.2202, allocations: 0.5814 MB / 0.6331 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01231/0.2325, allocations: 3.27 MB / 0.6363 GB, free: 10.21 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003939/0.2365, allocations: 1.188 MB / 0.6375 GB, free: 9.031 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.009841/0.2463, allocations: 6.83 MB / 0.6442 GB, free: 2.184 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005317/0.2517, allocations: 2.503 MB / 0.6466 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004543/0.2562, allocations: 1.941 MB / 0.6485 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005415/0.2617, allocations: 2.288 MB / 0.6507 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001476/0.2632, allocations: 164 kB / 0.6509 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003658/0.2669, allocations: 1.049 MB / 0.6519 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.00269/0.2696, allocations: 0.9184 MB / 0.6528 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00493/0.2745, allocations: 1.734 MB / 0.6545 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.008626/0.2832, allocations: 4.799 MB / 0.6592 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.2832, allocations: 4 kB / 0.6592 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.635e-06/0.2832, allocations: 0 / 0.6592 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0003328/0.2836, allocations: 0 / 0.6592 GB, free: 2.637 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.01025/0.2939, allocations: 3.838 MB / 0.6629 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.2939, allocations: 12.03 kB / 0.6629 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01711/0.311, allocations: 3.343 MB / 0.6662 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005608/0.3167, allocations: 2.068 MB / 0.6682 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000292/0.317, allocations: 180.7 kB / 0.6684 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001349/0.3184, allocations: 232 kB / 0.6686 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01481/0.3332, allocations: 4.748 MB / 0.6733 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001028/0.3333, allocations: 0 / 0.6733 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008194/0.3342, allocations: 104 kB / 0.6734 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002441/0.3344, allocations: 168.8 kB / 0.6735 GB, free: 3.621 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01515/0.3496, allocations: 5.249 MB / 0.6786 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02463/0.3743, allocations: 10.31 MB / 0.6887 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3697/0.7441, allocations: 3.845 MB / 0.6925 GB, free: 89.1 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004685/0.7488, allocations: 1.515 MB / 0.6939 GB, free: 89.08 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001264/0.7489, allocations: 25.62 kB / 0.694 GB, free: 89.08 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004052/0.753, allocations: 1.829 MB / 0.6958 GB, free: 88.88 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=163): time 5.39e-06/0.753, allocations: 1.312 kB / 0.6958 GB, free: 88.88 MB / 0.5294 GB Notification: Performance of matching and sorting (n=250): time 0.1292/0.8822, allocations: 33.43 MB / 0.7284 GB, free: 78.6 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001577/0.8824, allocations: 0.4938 MB / 0.7289 GB, free: 77.99 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002794/0.8852, allocations: 2.296 MB / 0.7311 GB, free: 75.68 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003778/0.8856, allocations: 77.69 kB / 0.7312 GB, free: 75.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009117/0.8865, allocations: 1.437 MB / 0.7326 GB, free: 74.15 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000603/0.8871, allocations: 0.8082 MB / 0.7334 GB, free: 73.35 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002616/0.8874, allocations: 190.4 kB / 0.7336 GB, free: 73.16 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.091e-05/0.8875, allocations: 305.1 kB / 0.7339 GB, free: 72.86 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004379/0.8919, allocations: 1.929 MB / 0.7357 GB, free: 70.93 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004558/0.8964, allocations: 2.227 MB / 0.7379 GB, free: 68.61 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009078/0.9055, allocations: 4.208 MB / 0.742 GB, free: 64.27 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/0.9056, allocations: 7.938 kB / 0.742 GB, free: 64.26 MB / 0.5294 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01464/0.9202, allocations: 6.197 MB / 0.7481 GB, free: 57.97 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001975/0.9205, allocations: 407.6 kB / 0.7485 GB, free: 57.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.9205, allocations: 4 kB / 0.7485 GB, free: 57.45 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005875/0.9264, allocations: 1.837 MB / 0.7503 GB, free: 55.61 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00297/0.9294, allocations: 0.5929 MB / 0.7509 GB, free: 55.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01875/0.9481, allocations: 14.11 MB / 0.7646 GB, free: 40.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004301/0.9525, allocations: 399.6 kB / 0.765 GB, free: 40.31 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003751/0.9529, allocations: 87.97 kB / 0.7651 GB, free: 40.22 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.9529, allocations: 7.688 kB / 0.7651 GB, free: 40.22 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01369/0.9666, allocations: 5.789 MB / 0.7708 GB, free: 34.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.34e-05/0.9667, allocations: 8.344 kB / 0.7708 GB, free: 34.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004869/0.9716, allocations: 1.816 MB / 0.7725 GB, free: 32.51 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003199/0.9748, allocations: 0.6118 MB / 0.7731 GB, free: 31.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01905/0.9939, allocations: 13.5 MB / 0.7863 GB, free: 18.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004247/0.9982, allocations: 399.6 kB / 0.7867 GB, free: 17.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003783/0.9986, allocations: 87.98 kB / 0.7868 GB, free: 17.67 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 (varLoad5.count,$PRE.varLoad5.count,varLoad5.T_start,$PRE.varLoad5.T_start,varLoad4.count,$PRE.varLoad4.count,varLoad4.T_start,$PRE.varLoad4.T_start,varLoad3.count,$PRE.varLoad3.count,varLoad3.T_start,$PRE.varLoad3.T_start,varLoad2.count,$PRE.varLoad2.count,varLoad2.T_start,$PRE.varLoad2.T_start,varLoad1.count,$PRE.varLoad1.count,varLoad1.T_start,$PRE.varLoad1.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,45.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,52)} Notification: Performance of prepare postOptimizeDAE: time 0.00179/1, allocations: 0.7878 MB / 0.7876 GB, free: 16.87 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006947/1.001, allocations: 332 kB / 0.7879 GB, free: 16.54 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008651/1.002, allocations: 392.1 kB / 0.7883 GB, free: 16.15 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.006e-05/1.002, allocations: 24.75 kB / 0.7883 GB, free: 16.12 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.416e-05/1.002, allocations: 8 kB / 0.7883 GB, free: 16.12 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.951e-05/1.002, allocations: 11.95 kB / 0.7883 GB, free: 16.11 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003808/1.006, allocations: 3.176 MB / 0.7914 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/1.006, allocations: 0.7031 kB / 0.7914 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002529/1.008, allocations: 0.5197 MB / 0.7919 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005748/1.014, allocations: 1.718 MB / 0.7936 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004213/1.015, allocations: 51.97 kB / 0.7936 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0198/1.034, allocations: 13.97 MB / 0.8073 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.035, allocations: 0 / 0.8073 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0165/1.051, allocations: 5.803 MB / 0.8129 GB, free: 6.582 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002688/1.054, allocations: 0.6742 MB / 0.8136 GB, free: 5.887 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008141/1.055, allocations: 44 kB / 0.8136 GB, free: 5.844 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003442/1.058, allocations: 403.5 kB / 0.814 GB, free: 5.449 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001008/1.059, allocations: 290.7 kB / 0.8143 GB, free: 5.164 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002098/1.059, allocations: 74.03 kB / 0.8144 GB, free: 5.094 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002437/1.062, allocations: 1.536 MB / 0.8159 GB, free: 3.559 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.61e-07/1.062, allocations: 0 / 0.8159 GB, free: 3.559 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004942/1.067, allocations: 1.594 MB / 0.8174 GB, free: 1.965 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,52)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003772/1.067, allocations: 167 kB / 0.8176 GB, free: 1.793 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02495/1.092, allocations: 10.13 MB / 0.8275 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-05/1.092, allocations: 12.19 kB / 0.8275 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.009038/1.101, allocations: 3.49 MB / 0.8309 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005726/1.107, allocations: 1.048 MB / 0.8319 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01471/1.122, allocations: 7.898 MB / 0.8396 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002394/1.124, allocations: 2.307 MB / 0.8419 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003753/1.128, allocations: 0.6408 MB / 0.8425 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007343/1.129, allocations: 183.4 kB / 0.8427 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of SimCode: time 8.31e-07/1.129, allocations: 0 / 0.8427 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of Templates: time 0.1328/1.261, allocations: 76.05 MB / 0.917 GB, free: 12.61 MB / 0.6544 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: