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.001587/0.001587, allocations: 105.2 kB / 16.27 MB, free: 5.98 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.001659/0.001659, allocations: 189.8 kB / 17.2 MB, free: 5.602 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.468/1.468, allocations: 222.9 MB / 240.9 MB, free: 15.2 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.61/2.61, allocations: 437.1 MB / 0.7111 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001932, allocations: 75.94 kB / 0.8699 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3151, allocations: 151.6 MB / 1.018 GB, free: 10.63 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.02924/0.3443, allocations: 22.61 MB / 1.04 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.028/0.3724, allocations: 17.61 MB / 1.057 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003692/0.3761, allocations: 111.4 kB / 1.057 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.01152/0.3877, allocations: 4.178 MB / 1.061 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01141/0.3991, allocations: 3.511 MB / 1.065 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003933/0.403, allocations: 1.313 MB / 1.066 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.009261/0.4123, allocations: 5.557 MB / 1.072 GB, free: 3.566 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5287/0.9411, allocations: 3.545 MB / 1.075 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005058/0.9462, allocations: 2.292 MB / 1.077 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005376/0.9516, allocations: 2.403 MB / 1.08 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001369/0.953, allocations: 351.5 kB / 1.08 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003319/0.9563, allocations: 1.01 MB / 1.081 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.002654/0.959, allocations: 1.16 MB / 1.082 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.006363/0.9654, allocations: 1.965 MB / 1.084 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01061/0.976, allocations: 4.996 MB / 1.089 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.9761, allocations: 0 / 1.089 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.104e-06/0.9761, allocations: 1.719 kB / 1.089 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0002779/0.9764, allocations: 0 / 1.089 GB, free: 13.32 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.01525/0.9916, allocations: 4.386 MB / 1.093 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 6.195e-05/0.9917, allocations: 10.86 kB / 1.093 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02526/1.017, allocations: 3.259 MB / 1.096 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008337/1.025, allocations: 2.064 MB / 1.098 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003236/1.026, allocations: 179.8 kB / 1.099 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001617/1.027, allocations: 230.7 kB / 1.099 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0215/1.049, allocations: 4.69 MB / 1.103 GB, free: 9.957 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001757/1.049, allocations: 5.969 kB / 1.103 GB, free: 9.953 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001513/1.051, allocations: 108.3 kB / 1.103 GB, free: 9.953 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003869/1.051, allocations: 169.8 kB / 1.104 GB, free: 9.945 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02237/1.073, allocations: 5.118 MB / 1.109 GB, free: 9.824 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03067/1.104, allocations: 14 MB / 1.122 GB, free: 0.7305 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01637/1.121, allocations: 3.597 MB / 1.126 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005662/1.126, allocations: 1.387 MB / 1.127 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001617/1.126, allocations: 25.89 kB / 1.127 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006452/1.133, allocations: 1.705 MB / 1.129 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=163): time 1.015e-05/1.133, allocations: 0 / 1.129 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of matching and sorting (n=250): time 0.1296/1.263, allocations: 27.42 MB / 1.156 GB, free: 220 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003355/1.263, allocations: 0.4928 MB / 1.156 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004448/1.267, allocations: 2.296 MB / 1.158 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0005373/1.268, allocations: 81.69 kB / 1.158 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001657/1.27, allocations: 1.434 MB / 1.16 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.001205/1.271, allocations: 0.8167 MB / 1.161 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0013/1.272, allocations: 416.4 kB / 1.161 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001311/1.272, allocations: 305.1 kB / 1.161 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005473/1.278, allocations: 1.751 MB / 1.163 GB, free: 8.484 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006045/1.284, allocations: 2.045 MB / 1.165 GB, free: 6.359 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01132/1.295, allocations: 3.843 MB / 1.169 GB, free: 2.402 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.28e-05/1.295, allocations: 3.938 kB / 1.169 GB, free: 2.398 MB / 0.8731 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01885/1.314, allocations: 5.812 MB / 1.174 GB, free: 12.6 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001376/1.314, allocations: 144.5 kB / 1.175 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/1.314, allocations: 4 kB / 1.175 GB, free: 12.42 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00726/1.322, allocations: 1.848 MB / 1.176 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003297/1.325, allocations: 0.4968 MB / 1.177 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02828/1.353, allocations: 15.43 MB / 1.192 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004616/1.358, allocations: 309.3 kB / 1.192 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000585/1.359, allocations: 95.91 kB / 1.192 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007211/1.366, allocations: 2.319 MB / 1.195 GB, free: 7.754 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005867/1.372, allocations: 2.02 MB / 1.197 GB, free: 5.648 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01115/1.383, allocations: 3.795 MB / 1.2 GB, free: 1.742 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.088e-05/1.383, allocations: 7.938 kB / 1.2 GB, free: 1.734 MB / 0.9044 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.01804/1.401, allocations: 5.645 MB / 1.206 GB, free: 12.09 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.000136/1.401, allocations: 152.8 kB / 1.206 GB, free: 11.91 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/1.401, allocations: 11.28 kB / 1.206 GB, free: 11.9 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006442/1.408, allocations: 1.693 MB / 1.208 GB, free: 10.2 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003341/1.411, allocations: 0.5157 MB / 1.208 GB, free: 9.699 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02608/1.437, allocations: 14.61 MB / 1.222 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004536/1.442, allocations: 303.6 kB / 1.223 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005797/1.442, allocations: 91.97 kB / 1.223 GB, free: 10.46 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.001063/1.443, allocations: 325.4 kB / 1.223 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001032/1.444, allocations: 328.1 kB / 1.223 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001194/1.446, allocations: 399.6 kB / 1.224 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.391e-05/1.446, allocations: 28 kB / 1.224 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-05/1.446, allocations: 12 kB / 1.224 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-05/1.446, allocations: 11.95 kB / 1.224 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006563/1.452, allocations: 3.162 MB / 1.227 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-05/1.452, allocations: 0 / 1.227 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002909/1.455, allocations: 433.9 kB / 1.227 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006912/1.462, allocations: 1.711 MB / 1.229 GB, free: 4.082 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005276/1.463, allocations: 51.97 kB / 1.229 GB, free: 4.031 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02655/1.489, allocations: 15.22 MB / 1.244 GB, free: 4.551 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.489, allocations: 0 / 1.244 GB, free: 4.551 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.017/1.506, allocations: 5.422 MB / 1.249 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002372/1.509, allocations: 0.6687 MB / 1.25 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001358/1.51, allocations: 48 kB / 1.25 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003971/1.514, allocations: 303.5 kB / 1.25 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001114/1.515, allocations: 290.7 kB / 1.25 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000346/1.516, allocations: 67.97 kB / 1.251 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.003284/1.519, allocations: 1.532 MB / 1.252 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.61e-07/1.519, allocations: 3.375 kB / 1.252 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.006792/1.526, allocations: 1.644 MB / 1.254 GB, free: 10.61 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.0005649/1.526, allocations: 170.3 kB / 1.254 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.02808/1.554, allocations: 10.19 MB / 1.264 GB, free: 144 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.123e-05/1.554, allocations: 7.938 kB / 1.264 GB, free: 136 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.009366/1.564, allocations: 3.316 MB / 1.267 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006135/1.57, allocations: 1.143 MB / 1.268 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01678/1.587, allocations: 6.777 MB / 1.275 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002938/1.59, allocations: 2.308 MB / 1.277 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001399/1.591, allocations: 207.4 kB / 1.277 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of SimCode: time 9.31e-07/1.591, allocations: 0 / 1.277 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of Templates: time 0.1167/1.708, allocations: 79.59 MB / 1.355 GB, free: 3.273 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)