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.001204/0.001204, allocations: 110.1 kB / 16.41 MB, free: 6.477 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.001368/0.001368, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.384/1.384, 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 10.1.1-maint.10.0.x/package.mo): time 2.618/2.618, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 67.89 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8997/0.9012, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.02702/0.9283, allocations: 22.61 MB / 1.189 GB, free: 13.15 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02612/0.9544, allocations: 17.62 MB / 1.207 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003195/0.9577, allocations: 111.4 kB / 1.207 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.01102/0.9687, allocations: 4.183 MB / 1.211 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01067/0.9794, allocations: 3.573 MB / 1.214 GB, free: 3.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00349/0.9829, allocations: 1.32 MB / 1.216 GB, free: 2.273 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00813/0.991, allocations: 5.586 MB / 1.221 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005643/0.9967, allocations: 3.526 MB / 1.224 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004023/1.001, allocations: 2.379 MB / 1.227 GB, free: 6.676 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004522/1.005, allocations: 2.401 MB / 1.229 GB, free: 4.266 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.001246/1.007, allocations: 352 kB / 1.229 GB, free: 3.922 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002729/1.009, allocations: 1.014 MB / 1.23 GB, free: 2.906 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001631/1.011, allocations: 1.157 MB / 1.232 GB, free: 1.746 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.003509/1.015, allocations: 1.959 MB / 1.233 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.007078/1.022, allocations: 5.059 MB / 1.238 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/1.022, allocations: 0 / 1.238 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.583e-06/1.022, allocations: 4 kB / 1.238 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.000176/1.022, allocations: 0 / 1.238 GB, free: 10.7 MB / 0.9669 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.01088/1.033, allocations: 4.39 MB / 1.243 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/1.033, allocations: 8.922 kB / 1.243 GB, free: 6.188 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01574/1.049, allocations: 3.254 MB / 1.246 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005209/1.054, allocations: 2.197 MB / 1.248 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001569/1.054, allocations: 181.1 kB / 1.248 GB, free: 492 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000587/1.055, allocations: 236.1 kB / 1.248 GB, free: 256 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01031/1.065, allocations: 4.681 MB / 1.253 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.771e-05/1.065, allocations: 3.938 kB / 1.253 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003127/1.065, allocations: 112 kB / 1.253 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000193/1.065, allocations: 168.8 kB / 1.253 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01313/1.079, allocations: 5.116 MB / 1.258 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0217/1.1, allocations: 13.9 MB / 1.272 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01124/1.112, allocations: 3.557 MB / 1.275 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003478/1.115, allocations: 1.397 MB / 1.277 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001166/1.115, allocations: 29.22 kB / 1.277 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003827/1.119, allocations: 1.703 MB / 1.278 GB, free: 188 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=163): time 4.048e-06/1.119, allocations: 0 / 1.278 GB, free: 188 kB / 0.9981 GB Notification: Performance of matching and sorting (n=250): time 0.119/1.238, allocations: 27.43 MB / 1.305 GB, free: 4.516 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002373/1.238, allocations: 0.4889 MB / 1.306 GB, free: 3.918 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003355/1.242, allocations: 2.304 MB / 1.308 GB, free: 1.602 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0003598/1.242, allocations: 69.7 kB / 1.308 GB, free: 1.527 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001194/1.243, allocations: 1.438 MB / 1.309 GB, free: 76 kB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008315/1.244, allocations: 0.8242 MB / 1.31 GB, free: 15.23 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007997/1.245, allocations: 412.5 kB / 1.311 GB, free: 14.82 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 9.503e-05/1.245, allocations: 305.1 kB / 1.311 GB, free: 14.52 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004639/1.25, allocations: 1.751 MB / 1.313 GB, free: 12.76 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004929/1.255, allocations: 2.048 MB / 1.315 GB, free: 10.63 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00944/1.264, allocations: 3.837 MB / 1.318 GB, free: 6.656 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/1.264, allocations: 4 kB / 1.318 GB, free: 6.652 MB / 1.045 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01573/1.28, allocations: 5.802 MB / 1.324 GB, free: 0.7578 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 9.665e-05/1.28, allocations: 148.5 kB / 1.324 GB, free: 0.582 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/1.28, allocations: 4 kB / 1.324 GB, free: 0.5781 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006692/1.287, allocations: 1.844 MB / 1.326 GB, free: 14.73 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002951/1.29, allocations: 499.2 kB / 1.326 GB, free: 14.24 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02442/1.314, allocations: 15.41 MB / 1.341 GB, free: 14.6 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00382/1.318, allocations: 311.8 kB / 1.342 GB, free: 14.29 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003936/1.318, allocations: 87.97 kB / 1.342 GB, free: 14.21 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006005/1.324, allocations: 2.323 MB / 1.344 GB, free: 11.88 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00499/1.329, allocations: 2.028 MB / 1.346 GB, free: 9.762 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009678/1.339, allocations: 3.81 MB / 1.35 GB, free: 5.816 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.606e-06/1.339, allocations: 0 / 1.35 GB, free: 5.816 MB / 1.076 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.01537/1.355, allocations: 5.642 MB / 1.355 GB, free: 84 kB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001221/1.355, allocations: 152.4 kB / 1.355 GB, free: 15.9 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/1.355, allocations: 7.984 kB / 1.355 GB, free: 15.89 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005924/1.361, allocations: 1.681 MB / 1.357 GB, free: 14.21 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003089/1.364, allocations: 0.5031 MB / 1.358 GB, free: 13.71 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02268/1.387, allocations: 14.6 MB / 1.372 GB, free: 14.81 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003774/1.39, allocations: 307.6 kB / 1.372 GB, free: 14.51 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004098/1.391, allocations: 87.97 kB / 1.372 GB, free: 14.42 MB / 1.107 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.0007086/1.391, allocations: 322.2 kB / 1.373 GB, free: 14.1 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007288/1.392, allocations: 340 kB / 1.373 GB, free: 13.77 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008209/1.393, allocations: 392.1 kB / 1.373 GB, free: 13.38 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/1.393, allocations: 24 kB / 1.373 GB, free: 13.35 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.325e-05/1.393, allocations: 12 kB / 1.373 GB, free: 13.34 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.348e-05/1.393, allocations: 15.95 kB / 1.373 GB, free: 13.32 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004555/1.398, allocations: 3.168 MB / 1.376 GB, free: 10.1 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.88e-05/1.398, allocations: 0 / 1.376 GB, free: 10.1 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00263/1.4, allocations: 431.3 kB / 1.377 GB, free: 9.68 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006332/1.407, allocations: 1.699 MB / 1.378 GB, free: 7.973 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000286/1.407, allocations: 51.97 kB / 1.379 GB, free: 7.922 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02355/1.431, allocations: 15.19 MB / 1.393 GB, free: 8.438 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/1.431, allocations: 4 kB / 1.393 GB, free: 8.434 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01523/1.446, allocations: 5.416 MB / 1.399 GB, free: 2.992 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001833/1.448, allocations: 0.6648 MB / 1.399 GB, free: 2.305 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007163/1.448, allocations: 47.98 kB / 1.399 GB, free: 2.258 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003207/1.452, allocations: 299.6 kB / 1.4 GB, free: 1.965 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008629/1.453, allocations: 290.7 kB / 1.4 GB, free: 1.676 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001988/1.453, allocations: 67.97 kB / 1.4 GB, free: 1.609 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002451/1.455, allocations: 1.532 MB / 1.401 GB, free: 80 kB / 1.123 GB Notification: Performance of sort global known variables: time 1.91e-07/1.455, allocations: 4 kB / 1.401 GB, free: 76 kB / 1.123 GB Notification: Performance of remove unused functions: time 0.004587/1.46, allocations: 1.648 MB / 1.403 GB, free: 14.43 MB / 1.139 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.0003915/1.46, allocations: 168.9 kB / 1.403 GB, free: 14.25 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.02282/1.483, allocations: 9.304 MB / 1.412 GB, free: 4.77 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/1.483, allocations: 0.75 kB / 1.412 GB, free: 4.77 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.008511/1.492, allocations: 3.325 MB / 1.416 GB, free: 1.41 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00512/1.497, allocations: 1.133 MB / 1.417 GB, free: 324 kB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01465/1.511, allocations: 6.689 MB / 1.423 GB, free: 9.594 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002468/1.514, allocations: 2.301 MB / 1.425 GB, free: 7.258 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001214/1.515, allocations: 211.4 kB / 1.426 GB, free: 7.051 MB / 1.154 GB Notification: Performance of SimCode: time 6.01e-07/1.515, allocations: 0 / 1.426 GB, free: 7.051 MB / 1.154 GB Notification: Performance of Templates: time 0.1003/1.615, allocations: 79.85 MB / 1.504 GB, free: 7.477 MB / 1.232 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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)