Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001639/0.001638, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001878/0.001878, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.422/1.422, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.769/2.769, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 64.12 kB / 1.055 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9719/0.974, allocations: 157.4 MB / 1.208 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.02792/1.002, allocations: 22.62 MB / 1.23 GB, free: 7.039 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02997/1.032, allocations: 17.63 MB / 1.248 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004263/1.036, allocations: 111.4 kB / 1.248 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.01228/1.049, allocations: 4.169 MB / 1.252 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01326/1.062, allocations: 3.507 MB / 1.255 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004801/1.067, allocations: 1.32 MB / 1.257 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01037/1.077, allocations: 5.573 MB / 1.262 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007399/1.085, allocations: 3.526 MB / 1.265 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005708/1.09, allocations: 2.375 MB / 1.268 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006087/1.096, allocations: 2.401 MB / 1.27 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001898/1.098, allocations: 352 kB / 1.27 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003858/1.102, allocations: 1.018 MB / 1.271 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002414/1.105, allocations: 1.157 MB / 1.273 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.005477/1.11, allocations: 1.963 MB / 1.275 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01036/1.121, allocations: 5.054 MB / 1.279 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/1.121, allocations: 7.875 kB / 1.279 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.906e-06/1.121, allocations: 0 / 1.279 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002649/1.121, allocations: 0 / 1.279 GB, free: 4.676 MB / 0.9981 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.01556/1.137, allocations: 4.386 MB / 1.284 GB, free: 180 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/1.137, allocations: 12.03 kB / 1.284 GB, free: 168 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01763/1.154, allocations: 3.25 MB / 1.287 GB, free: 12.91 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005683/1.16, allocations: 2.197 MB / 1.289 GB, free: 10.64 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002372/1.16, allocations: 189.1 kB / 1.289 GB, free: 10.45 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001105/1.161, allocations: 240.1 kB / 1.29 GB, free: 10.22 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01436/1.176, allocations: 4.674 MB / 1.294 GB, free: 5.398 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001066/1.176, allocations: 3.938 kB / 1.294 GB, free: 5.395 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008998/1.177, allocations: 108 kB / 1.294 GB, free: 5.289 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002483/1.177, allocations: 176.8 kB / 1.294 GB, free: 5.113 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01565/1.193, allocations: 5.116 MB / 1.299 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02693/1.22, allocations: 13.91 MB / 1.313 GB, free: 0.9023 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01182/1.232, allocations: 3.557 MB / 1.316 GB, free: 13.32 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003926/1.236, allocations: 1.393 MB / 1.318 GB, free: 11.93 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001649/1.236, allocations: 33.2 kB / 1.318 GB, free: 11.9 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0047/1.24, allocations: 1.703 MB / 1.319 GB, free: 10.14 MB / 1.045 GB Notification: Performance of pre-optimization done (n=163): time 4.639e-06/1.24, allocations: 0 / 1.319 GB, free: 10.14 MB / 1.045 GB Notification: Performance of matching and sorting (n=250): time 0.1287/1.369, allocations: 27.43 MB / 1.346 GB, free: 14.48 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002751/1.37, allocations: 0.4928 MB / 1.347 GB, free: 13.88 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004034/1.374, allocations: 2.3 MB / 1.349 GB, free: 11.57 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0004976/1.374, allocations: 77.7 kB / 1.349 GB, free: 11.48 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001387/1.376, allocations: 1.43 MB / 1.35 GB, free: 10.04 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.001074/1.377, allocations: 0.8279 MB / 1.351 GB, free: 9.203 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001169/1.378, allocations: 412.5 kB / 1.352 GB, free: 8.793 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001071/1.378, allocations: 305.1 kB / 1.352 GB, free: 8.492 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005202/1.383, allocations: 1.755 MB / 1.354 GB, free: 6.727 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005719/1.389, allocations: 2.044 MB / 1.356 GB, free: 4.598 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0108/1.4, allocations: 3.837 MB / 1.359 GB, free: 0.625 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.838e-05/1.4, allocations: 4 kB / 1.359 GB, free: 0.6211 MB / 1.076 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.0176/1.417, allocations: 5.81 MB / 1.365 GB, free: 10.72 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001345/1.418, allocations: 148.5 kB / 1.365 GB, free: 10.54 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.186e-05/1.418, allocations: 4 kB / 1.365 GB, free: 10.54 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006689/1.424, allocations: 1.832 MB / 1.367 GB, free: 8.703 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003159/1.428, allocations: 0.4953 MB / 1.367 GB, free: 8.207 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02585/1.453, allocations: 15.4 MB / 1.383 GB, free: 8.555 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004156/1.458, allocations: 303.6 kB / 1.383 GB, free: 8.258 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004718/1.458, allocations: 91.97 kB / 1.383 GB, free: 8.168 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006465/1.465, allocations: 2.319 MB / 1.385 GB, free: 5.84 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00532/1.47, allocations: 2.017 MB / 1.387 GB, free: 3.738 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01032/1.48, allocations: 3.81 MB / 1.391 GB, free: 15.79 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.286e-05/1.48, allocations: 3.938 kB / 1.391 GB, free: 15.79 MB / 1.123 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.01647/1.497, allocations: 5.642 MB / 1.396 GB, free: 10.06 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001175/1.497, allocations: 150.8 kB / 1.397 GB, free: 9.883 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/1.497, allocations: 11.98 kB / 1.397 GB, free: 9.871 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005899/1.503, allocations: 1.673 MB / 1.398 GB, free: 8.188 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003232/1.506, allocations: 0.5148 MB / 1.399 GB, free: 7.672 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02345/1.53, allocations: 14.6 MB / 1.413 GB, free: 8.785 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004191/1.534, allocations: 303.6 kB / 1.413 GB, free: 8.488 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00051/1.534, allocations: 87.97 kB / 1.413 GB, free: 8.402 MB / 1.139 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.0009888/1.535, allocations: 330.1 kB / 1.414 GB, free: 8.07 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009749/1.536, allocations: 332.1 kB / 1.414 GB, free: 7.742 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/1.538, allocations: 396.7 kB / 1.414 GB, free: 7.348 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.267e-05/1.538, allocations: 24 kB / 1.414 GB, free: 7.324 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.568e-05/1.538, allocations: 15.98 kB / 1.414 GB, free: 7.309 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.62e-05/1.538, allocations: 7.969 kB / 1.414 GB, free: 7.301 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005186/1.543, allocations: 3.172 MB / 1.417 GB, free: 4.074 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.098e-05/1.543, allocations: 0 / 1.417 GB, free: 4.074 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002775/1.546, allocations: 435.2 kB / 1.418 GB, free: 3.648 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006485/1.552, allocations: 1.699 MB / 1.42 GB, free: 1.941 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004823/1.553, allocations: 51.97 kB / 1.42 GB, free: 1.891 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02412/1.577, allocations: 15.19 MB / 1.434 GB, free: 2.414 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.577, allocations: 0 / 1.434 GB, free: 2.414 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01586/1.593, allocations: 5.42 MB / 1.44 GB, free: 12.96 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001732/1.595, allocations: 0.6687 MB / 1.44 GB, free: 12.27 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009378/1.595, allocations: 52 kB / 1.44 GB, free: 12.22 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003415/1.599, allocations: 291.6 kB / 1.441 GB, free: 11.93 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009081/1.6, allocations: 298.7 kB / 1.441 GB, free: 11.64 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002508/1.6, allocations: 71.97 kB / 1.441 GB, free: 11.57 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.002619/1.603, allocations: 1.528 MB / 1.443 GB, free: 10.05 MB / 1.17 GB Notification: Performance of sort global known variables: time 2.4e-07/1.603, allocations: 0 / 1.443 GB, free: 10.05 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.005035/1.608, allocations: 1.648 MB / 1.444 GB, free: 8.398 MB / 1.17 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.0004886/1.608, allocations: 163.5 kB / 1.444 GB, free: 8.23 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.02595/1.634, allocations: 9.292 MB / 1.453 GB, free: 14.75 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/1.634, allocations: 4 kB / 1.453 GB, free: 14.74 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.009411/1.644, allocations: 3.315 MB / 1.457 GB, free: 11.39 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006257/1.65, allocations: 1.131 MB / 1.458 GB, free: 10.3 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01683/1.667, allocations: 6.712 MB / 1.464 GB, free: 3.562 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00292/1.67, allocations: 2.301 MB / 1.466 GB, free: 1.223 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00132/1.671, allocations: 211.4 kB / 1.467 GB, free: 1.016 MB / 1.186 GB Notification: Performance of SimCode: time 6.82e-07/1.671, allocations: 0 / 1.467 GB, free: 1.016 MB / 1.186 GB Notification: Performance of Templates: time 0.1037/1.775, allocations: 79.84 MB / 1.545 GB, free: 1.5 MB / 1.264 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)