Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLines.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLines") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 103.6 kB / 15.99 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001883/0.001883, allocations: 196.8 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.677/2.677, allocations: 437.1 MB / 0.7107 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002131, allocations: 60.02 kB / 0.8694 GB, free: 2.574 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3096, allocations: 151.6 MB / 1.017 GB, free: 11.01 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.02837/0.338, allocations: 22.41 MB / 1.039 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02677/0.3648, allocations: 17.44 MB / 1.056 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003634/0.3685, allocations: 103.4 kB / 1.056 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0111/0.3796, allocations: 3.931 MB / 1.06 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01145/0.3911, allocations: 3.187 MB / 1.063 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00408/0.3952, allocations: 1.192 MB / 1.065 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.009998/0.4052, allocations: 5.585 MB / 1.07 GB, free: 5.004 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007199/0.4124, allocations: 3.968 MB / 1.074 GB, free: 0.9609 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4958/0.9083, allocations: 2.329 MB / 1.076 GB, free: 16.54 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005438/0.9138, allocations: 2.476 MB / 1.079 GB, free: 16.41 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.002017/0.9158, allocations: 353.6 kB / 1.079 GB, free: 16.41 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004323/0.9202, allocations: 1.023 MB / 1.08 GB, free: 16.41 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0029/0.9231, allocations: 1.157 MB / 1.081 GB, free: 16.27 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.006608/0.9297, allocations: 1.958 MB / 1.083 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.008547/0.9383, allocations: 3.979 MB / 1.087 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.9384, allocations: 1.25 kB / 1.087 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.965e-06/0.9384, allocations: 1 kB / 1.087 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0002757/0.9387, allocations: 3.938 kB / 1.087 GB, free: 15.51 MB / 0.8419 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.01672/0.9554, allocations: 4.377 MB / 1.091 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.9555, allocations: 10.83 kB / 1.091 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01763/0.9731, allocations: 3.261 MB / 1.094 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006251/0.9794, allocations: 2.069 MB / 1.096 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002551/0.9797, allocations: 177.6 kB / 1.097 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001476/0.9812, allocations: 234.6 kB / 1.097 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01497/0.9962, allocations: 4.686 MB / 1.101 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.563e-05/0.9963, allocations: 0 / 1.101 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004871/0.9968, allocations: 105.4 kB / 1.101 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002378/0.997, allocations: 171.9 kB / 1.102 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01486/1.012, allocations: 5.119 MB / 1.107 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02779/1.04, allocations: 13.99 MB / 1.12 GB, free: 3.141 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01169/1.051, allocations: 3.562 MB / 1.124 GB, free: 2.047 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00374/1.055, allocations: 1.391 MB / 1.125 GB, free: 1.609 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002018/1.055, allocations: 24.83 kB / 1.125 GB, free: 1.609 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004449/1.06, allocations: 1.714 MB / 1.127 GB, free: 0.7227 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=163): time 7.815e-06/1.06, allocations: 0 / 1.127 GB, free: 0.7227 MB / 0.8419 GB Notification: Performance of matching and sorting (n=250): time 0.1771/1.237, allocations: 27.42 MB / 1.154 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004377/1.237, allocations: 0.4927 MB / 1.154 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006174/1.244, allocations: 2.296 MB / 1.156 GB, free: 252 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0007697/1.244, allocations: 73.7 kB / 1.156 GB, free: 172 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.00252/1.247, allocations: 1.438 MB / 1.158 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.001506/1.249, allocations: 0.8204 MB / 1.159 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001038/1.25, allocations: 417.1 kB / 1.159 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001308/1.25, allocations: 301.1 kB / 1.159 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004961/1.255, allocations: 1.755 MB / 1.161 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00524/1.26, allocations: 2.046 MB / 1.163 GB, free: 9.305 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01034/1.27, allocations: 3.834 MB / 1.167 GB, free: 5.359 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.162e-05/1.27, allocations: 15.88 kB / 1.167 GB, free: 5.344 MB / 0.8731 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01695/1.287, allocations: 5.812 MB / 1.172 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001535/1.288, allocations: 148.5 kB / 1.173 GB, free: 15.37 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.936e-05/1.288, allocations: 4 kB / 1.173 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007006/1.295, allocations: 1.851 MB / 1.174 GB, free: 13.51 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003115/1.298, allocations: 0.4924 MB / 1.175 GB, free: 13.03 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02653/1.324, allocations: 15.43 MB / 1.19 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00427/1.329, allocations: 311.5 kB / 1.19 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004714/1.329, allocations: 91.97 kB / 1.19 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006311/1.335, allocations: 2.312 MB / 1.193 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005208/1.341, allocations: 2.02 MB / 1.195 GB, free: 8.609 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0104/1.351, allocations: 3.805 MB / 1.198 GB, free: 4.691 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.386e-05/1.351, allocations: 7.938 kB / 1.198 GB, free: 4.684 MB / 0.9044 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.0165/1.368, allocations: 5.643 MB / 1.204 GB, free: 15.04 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001207/1.368, allocations: 148.6 kB / 1.204 GB, free: 14.86 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/1.368, allocations: 4 kB / 1.204 GB, free: 14.86 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006136/1.374, allocations: 1.7 MB / 1.206 GB, free: 13.15 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00322/1.377, allocations: 0.5119 MB / 1.206 GB, free: 12.65 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02431/1.402, allocations: 14.62 MB / 1.22 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004294/1.406, allocations: 299.6 kB / 1.221 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004553/1.406, allocations: 91.97 kB / 1.221 GB, free: 13.41 MB / 0.9356 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.0007604/1.407, allocations: 328.2 kB / 1.221 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007626/1.408, allocations: 328.9 kB / 1.221 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/1.409, allocations: 392.1 kB / 1.222 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.186e-05/1.409, allocations: 27.28 kB / 1.222 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.677e-05/1.409, allocations: 15.98 kB / 1.222 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.292e-05/1.409, allocations: 11.95 kB / 1.222 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005405/1.415, allocations: 3.162 MB / 1.225 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.481e-05/1.415, allocations: 7.375 kB / 1.225 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002667/1.417, allocations: 431.3 kB / 1.225 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006475/1.424, allocations: 1.719 MB / 1.227 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004665/1.424, allocations: 47.97 kB / 1.227 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02533/1.45, allocations: 15.23 MB / 1.242 GB, free: 7.504 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.45, allocations: 4 kB / 1.242 GB, free: 7.5 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01607/1.466, allocations: 5.42 MB / 1.247 GB, free: 2.117 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002193/1.468, allocations: 0.6609 MB / 1.248 GB, free: 1.434 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008332/1.469, allocations: 48 kB / 1.248 GB, free: 1.387 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003316/1.472, allocations: 299.6 kB / 1.248 GB, free: 1.094 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009781/1.473, allocations: 294.7 kB / 1.248 GB, free: 0.8086 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002287/1.473, allocations: 71.97 kB / 1.249 GB, free: 0.7383 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002591/1.476, allocations: 1.529 MB / 1.25 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.8e-07/1.476, allocations: 0 / 1.25 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00531/1.481, allocations: 1.645 MB / 1.252 GB, free: 13.57 MB / 0.9669 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.0004101/1.482, allocations: 169.2 kB / 1.252 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.02812/1.51, allocations: 10.21 MB / 1.262 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/1.51, allocations: 0 / 1.262 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.009724/1.52, allocations: 3.315 MB / 1.265 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005423/1.525, allocations: 1.143 MB / 1.266 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01712/1.542, allocations: 8.048 MB / 1.274 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00262/1.545, allocations: 2.312 MB / 1.276 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001329/1.546, allocations: 203.3 kB / 1.276 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of SimCode: time 6.52e-07/1.546, allocations: 2.719 kB / 1.276 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of Templates: time 0.1126/1.659, allocations: 79.58 MB / 1.354 GB, free: 4.992 MB / 1.061 GB make -j1 -f Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile (rm -f Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & ./Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)