Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001518/0.001518, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.926/2.926, allocations: 437.7 MB / 0.7117 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004006/0.0004009, allocations: 12 kB / 0.8722 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8526/0.853, allocations: 153.8 MB / 1.022 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02327/0.8764, allocations: 20.42 MB / 1.042 GB, free: 11.54 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.02485/0.9013, allocations: 16.39 MB / 1.058 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005026/0.9063, allocations: 99.44 kB / 1.058 GB, free: 11.01 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.003025/0.9094, allocations: 0.5697 MB / 1.059 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.01111/0.9205, allocations: 2.854 MB / 1.062 GB, free: 7.574 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003803/0.9244, allocations: 0.9524 MB / 1.063 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.009151/0.9335, allocations: 5.923 MB / 1.069 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004486/0.938, allocations: 2.067 MB / 1.071 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004826/0.9429, allocations: 1.965 MB / 1.072 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005033/0.948, allocations: 2.214 MB / 1.075 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001499/0.9495, allocations: 176 kB / 1.075 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002743/0.9523, allocations: 0.5072 MB / 1.075 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.00198/0.9543, allocations: 0.9498 MB / 1.076 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001847/0.9561, allocations: 0.6912 MB / 1.077 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.006216/0.9624, allocations: 3.927 MB / 1.081 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 9.688e-06/0.9624, allocations: 0 / 1.081 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.374e-06/0.9624, allocations: 0 / 1.081 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.000261/0.9627, allocations: 0 / 1.081 GB, free: 4.086 MB / 0.8262 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.0111/0.9738, allocations: 4.099 MB / 1.085 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.9739, allocations: 12.03 kB / 1.085 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01587/0.9897, allocations: 3.366 MB / 1.088 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005852/0.9956, allocations: 1.995 MB / 1.09 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005587/0.9962, allocations: 461.7 kB / 1.09 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001083/0.9973, allocations: 232 kB / 1.091 GB, free: 9.684 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01395/1.011, allocations: 4.853 MB / 1.095 GB, free: 4.684 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.163e-05/1.011, allocations: 4 kB / 1.095 GB, free: 4.68 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008712/1.012, allocations: 99.98 kB / 1.095 GB, free: 4.582 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002658/1.013, allocations: 172.8 kB / 1.096 GB, free: 4.41 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01462/1.027, allocations: 5.3 MB / 1.101 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0271/1.054, allocations: 14.59 MB / 1.115 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01018/1.065, allocations: 3.671 MB / 1.119 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003956/1.069, allocations: 1.592 MB / 1.12 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002273/1.069, allocations: 21.3 kB / 1.12 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004656/1.074, allocations: 1.916 MB / 1.122 GB, free: 8.059 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=163): time 7.394e-06/1.074, allocations: 0 / 1.122 GB, free: 8.059 MB / 0.8731 GB Notification: Performance of matching and sorting (n=250): time 0.1281/1.202, allocations: 34.11 MB / 1.155 GB, free: 5.727 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003373/1.202, allocations: 0.4928 MB / 1.156 GB, free: 5.121 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004411/1.207, allocations: 2.269 MB / 1.158 GB, free: 2.84 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0005171/1.207, allocations: 77.7 kB / 1.158 GB, free: 2.758 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001366/1.208, allocations: 1.426 MB / 1.16 GB, free: 1.316 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.001179/1.21, allocations: 0.8318 MB / 1.16 GB, free: 484 kB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003398/1.21, allocations: 44 kB / 1.16 GB, free: 440 kB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000223/1.21, allocations: 402.6 kB / 1.161 GB, free: 32 kB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005329/1.216, allocations: 2.108 MB / 1.163 GB, free: 13.91 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005574/1.221, allocations: 2.411 MB / 1.165 GB, free: 11.42 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005322/1.227, allocations: 2.288 MB / 1.167 GB, free: 9.078 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/1.227, allocations: 0 / 1.167 GB, free: 9.078 MB / 0.92 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.0184/1.245, allocations: 6.879 MB / 1.174 GB, free: 2.105 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001278/1.245, allocations: 148.8 kB / 1.174 GB, free: 1.93 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.952e-05/1.245, allocations: 8 kB / 1.174 GB, free: 1.922 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009892/1.255, allocations: 2.946 MB / 1.177 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003031/1.258, allocations: 0.5695 MB / 1.178 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03716/1.295, allocations: 17.32 MB / 1.195 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004287/1.3, allocations: 419.6 kB / 1.195 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005016/1.3, allocations: 87.98 kB / 1.195 GB, free: 12.35 MB / 0.9512 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.varLoad1.T_start,varLoad1.T_start,$PRE.varLoad1.count,varLoad1.count,$PRE.varLoad2.T_start,varLoad2.T_start,$PRE.varLoad2.count,varLoad2.count,$PRE.varLoad3.T_start,varLoad3.T_start,$PRE.varLoad3.count,varLoad3.count,$PRE.varLoad4.T_start,varLoad4.T_start,$PRE.varLoad4.count,varLoad4.count,$PRE.varLoad5.T_start,varLoad5.T_start,$PRE.varLoad5.count,varLoad5.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,45.0%) 52} * Non-linear torn systems: 1 {9 63} Notification: Performance of prepare postOptimizeDAE: time 0.001932/1.302, allocations: 0.7144 MB / 1.196 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009555/1.303, allocations: 328.1 kB / 1.196 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001119/1.304, allocations: 384.1 kB / 1.197 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-05/1.304, allocations: 24 kB / 1.197 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.944e-05/1.304, allocations: 12 kB / 1.197 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.741e-05/1.304, allocations: 11.95 kB / 1.197 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00579/1.31, allocations: 3.624 MB / 1.2 GB, free: 7.191 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.167e-05/1.31, allocations: 0 / 1.2 GB, free: 7.191 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002458/1.313, allocations: 0.4994 MB / 1.201 GB, free: 6.691 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009222/1.322, allocations: 2.868 MB / 1.203 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003717/1.322, allocations: 55.91 kB / 1.203 GB, free: 3.758 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03561/1.358, allocations: 17.11 MB / 1.22 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/1.358, allocations: 3.984 kB / 1.22 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01934/1.377, allocations: 6.521 MB / 1.227 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002031/1.379, allocations: 0.7 MB / 1.227 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001092/1.381, allocations: 44 kB / 1.227 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003448/1.384, allocations: 407.6 kB / 1.228 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001317/1.385, allocations: 370.6 kB / 1.228 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003208/1.386, allocations: 67.97 kB / 1.228 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002637/1.388, allocations: 1.517 MB / 1.23 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/1.388, allocations: 0 / 1.23 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.004472/1.393, allocations: 1.043 MB / 1.231 GB, free: 7.656 MB / 0.9825 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 (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 52} * Non-linear torn systems: 1 {10 62} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005835/1.393, allocations: 163 kB / 1.231 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.02751/1.421, allocations: 6.832 MB / 1.237 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/1.421, allocations: 4 kB / 1.237 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.01689/1.438, allocations: 4.23 MB / 1.242 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007865/1.446, allocations: 1.047 MB / 1.243 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01671/1.463, allocations: 7.753 MB / 1.25 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002723/1.465, allocations: 2.231 MB / 1.252 GB, free: 1.234 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003345/1.469, allocations: 0.5138 MB / 1.253 GB, free: 0.7148 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009277/1.47, allocations: 171.4 kB / 1.253 GB, free: 0.5469 MB / 0.9981 GB Notification: Performance of SimCode: time 1.503e-06/1.47, allocations: 4 kB / 1.253 GB, free: 0.543 MB / 0.9981 GB Notification: Performance of Templates: time 0.7335/2.203, allocations: 70.12 MB / 1.321 GB, free: 171 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)