Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001275/0.001275, allocations: 108.3 kB / 15.99 MB, free: 6.359 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.00111/0.00111, allocations: 194.8 kB / 16.91 MB, free: 6.195 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.362/1.362, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.291/2.291, allocations: 390.2 MB / 0.665 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 67.89 kB / 0.8127 GB, free: 33.24 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.254, allocations: 140.4 MB / 0.9498 GB, free: 9.203 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.02504/0.2791, allocations: 22.41 MB / 0.9717 GB, free: 2.703 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02465/0.3038, allocations: 17.45 MB / 0.9887 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003009/0.3068, allocations: 103.4 kB / 0.9888 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.01062/0.3175, allocations: 3.935 MB / 0.9926 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.01088/0.3284, allocations: 3.193 MB / 0.9958 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003806/0.3322, allocations: 1.189 MB / 0.9969 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.008717/0.3409, allocations: 5.578 MB / 1.002 GB, free: 3.184 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007406/0.3483, allocations: 3.964 MB / 1.006 GB, free: 15.15 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004193/0.3526, allocations: 2.347 MB / 1.009 GB, free: 12.79 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004556/0.3571, allocations: 2.475 MB / 1.011 GB, free: 10.31 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001418/0.3586, allocations: 356 kB / 1.011 GB, free: 9.961 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003023/0.3616, allocations: 1.022 MB / 1.012 GB, free: 8.938 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001895/0.3635, allocations: 1.153 MB / 1.013 GB, free: 7.781 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.004316/0.3679, allocations: 1.963 MB / 1.015 GB, free: 5.809 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.005905/0.3738, allocations: 3.995 MB / 1.019 GB, free: 1.805 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3738, allocations: 0 / 1.019 GB, free: 1.805 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.375e-06/0.3738, allocations: 0 / 1.019 GB, free: 1.805 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001965/0.374, allocations: 0 / 1.019 GB, free: 1.805 MB / 0.795 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.0123/0.3863, allocations: 4.386 MB / 1.024 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.3864, allocations: 12.03 kB / 1.024 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01679/0.4032, allocations: 3.257 MB / 1.027 GB, free: 10.03 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005286/0.4085, allocations: 2.072 MB / 1.029 GB, free: 7.887 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002187/0.4088, allocations: 177.1 kB / 1.029 GB, free: 7.711 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001052/0.4099, allocations: 244 kB / 1.029 GB, free: 7.473 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01277/0.4226, allocations: 4.674 MB / 1.034 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.983e-05/0.4227, allocations: 11.94 kB / 1.034 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005372/0.4233, allocations: 99.98 kB / 1.034 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002314/0.4235, allocations: 180.8 kB / 1.034 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01293/0.4365, allocations: 5.109 MB / 1.039 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03211/0.4686, allocations: 14 MB / 1.053 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01476/0.4834, allocations: 3.564 MB / 1.056 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004864/0.4883, allocations: 1.389 MB / 1.057 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001928/0.4886, allocations: 33.22 kB / 1.057 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006014/0.4946, allocations: 1.704 MB / 1.059 GB, free: 7.293 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=163): time 6.332e-06/0.4946, allocations: 0 / 1.059 GB, free: 7.293 MB / 0.8419 GB Notification: Performance of matching and sorting (n=250): time 0.5411/1.036, allocations: 27.4 MB / 1.086 GB, free: 124.7 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001555/1.036, allocations: 0.4955 MB / 1.086 GB, free: 124.1 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003735/1.04, allocations: 2.3 MB / 1.089 GB, free: 123.3 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0004096/1.04, allocations: 77.69 kB / 1.089 GB, free: 123.2 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.00105/1.041, allocations: 1.429 MB / 1.09 GB, free: 122.1 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006546/1.042, allocations: 0.8229 MB / 1.091 GB, free: 121.5 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008236/1.043, allocations: 412.4 kB / 1.091 GB, free: 121.3 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.613e-05/1.043, allocations: 302.4 kB / 1.092 GB, free: 121 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004688/1.047, allocations: 1.752 MB / 1.093 GB, free: 120.5 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004858/1.052, allocations: 2.045 MB / 1.095 GB, free: 119.7 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00927/1.062, allocations: 3.843 MB / 1.099 GB, free: 118.1 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.286e-05/1.062, allocations: 1.906 kB / 1.099 GB, free: 118.1 MB / 0.8575 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01556/1.077, allocations: 5.806 MB / 1.105 GB, free: 116.1 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.47e-05/1.077, allocations: 148.3 kB / 1.105 GB, free: 116 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.213e-05/1.077, allocations: 5.406 kB / 1.105 GB, free: 116 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006732/1.084, allocations: 1.854 MB / 1.107 GB, free: 115.6 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002906/1.087, allocations: 0.4937 MB / 1.107 GB, free: 115.6 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02196/1.109, allocations: 15.44 MB / 1.122 GB, free: 107.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003765/1.113, allocations: 304.9 kB / 1.123 GB, free: 107.2 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003111/1.113, allocations: 89.5 kB / 1.123 GB, free: 107.2 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005225/1.118, allocations: 2.317 MB / 1.125 GB, free: 106.4 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004427/1.123, allocations: 2.023 MB / 1.127 GB, free: 105.6 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008187/1.131, allocations: 3.801 MB / 1.131 GB, free: 103.7 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.012e-05/1.131, allocations: 0 / 1.131 GB, free: 103.7 MB / 0.8575 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.01305/1.144, allocations: 5.648 MB / 1.136 GB, free: 100.6 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.361e-05/1.144, allocations: 152.7 kB / 1.136 GB, free: 100.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/1.144, allocations: 11.69 kB / 1.136 GB, free: 100.4 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004953/1.149, allocations: 1.691 MB / 1.138 GB, free: 99.73 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002792/1.152, allocations: 0.514 MB / 1.138 GB, free: 99.55 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01734/1.169, allocations: 14.61 MB / 1.153 GB, free: 88.53 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003868/1.173, allocations: 315.5 kB / 1.153 GB, free: 88.22 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002641/1.173, allocations: 91.44 kB / 1.153 GB, free: 88.14 MB / 0.8575 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.0006555/1.174, allocations: 315.3 kB / 1.153 GB, free: 87.82 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004786/1.175, allocations: 340 kB / 1.154 GB, free: 87.49 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00077/1.175, allocations: 392.1 kB / 1.154 GB, free: 87.1 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/1.175, allocations: 28 kB / 1.154 GB, free: 87.07 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.995e-05/1.175, allocations: 12 kB / 1.154 GB, free: 87.06 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.665e-05/1.176, allocations: 11.95 kB / 1.154 GB, free: 87.05 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003535/1.179, allocations: 3.152 MB / 1.157 GB, free: 83.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/1.179, allocations: 0 / 1.157 GB, free: 83.92 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002305/1.181, allocations: 439.2 kB / 1.158 GB, free: 83.49 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005549/1.187, allocations: 1.719 MB / 1.159 GB, free: 81.77 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003431/1.187, allocations: 52.84 kB / 1.159 GB, free: 81.71 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01782/1.205, allocations: 15.22 MB / 1.174 GB, free: 66.21 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/1.205, allocations: 96 / 1.174 GB, free: 66.21 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01271/1.218, allocations: 5.424 MB / 1.18 GB, free: 60.75 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001499/1.219, allocations: 0.6609 MB / 1.18 GB, free: 60.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005773/1.22, allocations: 47.98 kB / 1.18 GB, free: 60.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00278/1.223, allocations: 299.6 kB / 1.18 GB, free: 59.73 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007844/1.224, allocations: 290.7 kB / 1.181 GB, free: 59.45 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001756/1.224, allocations: 67.97 kB / 1.181 GB, free: 59.38 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001664/1.225, allocations: 1.536 MB / 1.182 GB, free: 57.84 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.4e-07/1.225, allocations: 0 / 1.182 GB, free: 57.84 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.003845/1.229, allocations: 1.645 MB / 1.184 GB, free: 56.2 MB / 0.8575 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.000325/1.23, allocations: 169.7 kB / 1.184 GB, free: 56.02 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.02229/1.252, allocations: 10.2 MB / 1.194 GB, free: 45.66 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.225e-05/1.252, allocations: 4 kB / 1.194 GB, free: 45.66 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.007/1.259, allocations: 3.326 MB / 1.197 GB, free: 42.31 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004461/1.264, allocations: 1.141 MB / 1.198 GB, free: 41.24 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0125/1.276, allocations: 8.052 MB / 1.206 GB, free: 33.17 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0016/1.278, allocations: 2.298 MB / 1.209 GB, free: 30.84 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001097/1.279, allocations: 215.4 kB / 1.209 GB, free: 30.63 MB / 0.8575 GB Notification: Performance of SimCode: time 1.092e-06/1.279, allocations: 0 / 1.209 GB, free: 30.63 MB / 0.8575 GB Notification: Performance of Templates: time 0.08826/1.367, allocations: 79.58 MB / 1.286 GB, free: 15.4 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile (rm -f Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & ./Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)