Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.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/Modelica 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/HanserModelica 2.0.0-master/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.VariablesTypes.VectorsMatrices2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2") translateModel(HanserModelica.VariablesTypes.VectorsMatrices2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 110.7 kB / 16.41 MB, free: 6.492 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.353/1.353, allocations: 222.9 MB / 240.1 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 180.5 kB / 290.4 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03498/0.03498, allocations: 8.798 MB / 349.3 MB, free: 4.586 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 75.88 kB / 464.6 MB, free: 13.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08136/0.0828, allocations: 51.56 MB / 0.504 GB, free: 9.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.001452/0.08429, allocations: 0.5217 MB / 0.5045 GB, free: 8.965 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.08555, allocations: 1.085 MB / 0.5056 GB, free: 7.863 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.008e-05/0.08561, allocations: 4 kB / 0.5056 GB, free: 7.859 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002238/0.08584, allocations: 15.92 kB / 0.5056 GB, free: 7.844 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.051e-05/0.08592, allocations: 27.89 kB / 0.5056 GB, free: 7.816 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.008e-06/0.08593, allocations: 0 / 0.5056 GB, free: 7.816 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.3e-05/0.086, allocations: 27.92 kB / 0.5057 GB, free: 7.789 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.754e-05/0.08606, allocations: 11.94 kB / 0.5057 GB, free: 7.777 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.599e-05/0.08616, allocations: 19.97 kB / 0.5057 GB, free: 7.758 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.477e-05/0.08626, allocations: 19.92 kB / 0.5057 GB, free: 7.738 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.08629, allocations: 0 / 0.5057 GB, free: 7.738 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.183e-05/0.0863, allocations: 0 / 0.5057 GB, free: 7.738 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.08644, allocations: 75.83 kB / 0.5058 GB, free: 7.664 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.288e-05/0.08648, allocations: 27.69 kB / 0.5058 GB, free: 7.637 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.508e-05/0.08655, allocations: 47.72 kB / 0.5059 GB, free: 7.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.08656, allocations: 4 kB / 0.5059 GB, free: 7.586 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.08657, allocations: 0 / 0.5059 GB, free: 7.586 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.08658, allocations: 0 / 0.5059 GB, free: 7.586 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003854/0.08697, allocations: 409.2 kB / 0.5063 GB, free: 7.141 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.08701, allocations: 8.031 kB / 0.5063 GB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.075e-05/0.08706, allocations: 96.03 kB / 0.5064 GB, free: 7.039 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.08724, allocations: 280.2 kB / 0.5066 GB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.409e-05/0.0873, allocations: 150.9 kB / 0.5068 GB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.203e-05/0.08734, allocations: 150.9 kB / 0.5069 GB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.604e-05/0.0874, allocations: 109.3 kB / 0.507 GB, free: 6.312 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.513e-05/0.08743, allocations: 83.27 kB / 0.5071 GB, free: 6.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.488e-05/0.08748, allocations: 150.6 kB / 0.5072 GB, free: 6.082 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-05/0.08753, allocations: 154.6 kB / 0.5074 GB, free: 5.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.435e-05/0.08758, allocations: 154.5 kB / 0.5075 GB, free: 5.777 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000268/0.08785, allocations: 481.9 kB / 0.508 GB, free: 5.258 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.953e-05/0.08793, allocations: 169.1 kB / 0.5082 GB, free: 5.082 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.643e-05/0.08796, allocations: 84.08 kB / 0.5082 GB, free: 4.996 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.08799, allocations: 75.28 kB / 0.5083 GB, free: 4.922 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/0.08803, allocations: 121.7 kB / 0.5084 GB, free: 4.793 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.08804, allocations: 4 kB / 0.5084 GB, free: 4.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.864e-05/0.08811, allocations: 37.52 kB / 0.5085 GB, free: 4.746 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.08817, allocations: 130.7 kB / 0.5086 GB, free: 4.605 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000213/0.08838, allocations: 231.8 kB / 0.5088 GB, free: 4.367 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.859e-06/0.0884, allocations: 25.7 kB / 0.5088 GB, free: 4.336 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.986e-05/0.08847, allocations: 116.1 kB / 0.5089 GB, free: 4.219 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.894e-06/0.08847, allocations: 0 / 0.5089 GB, free: 4.219 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.858e-05/0.0885, allocations: 9.719 kB / 0.509 GB, free: 4.203 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.733e-05/0.0886, allocations: 330.8 kB / 0.5093 GB, free: 3.871 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.617e-06/0.08861, allocations: 4 kB / 0.5093 GB, free: 3.867 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.906e-06/0.08862, allocations: 0 / 0.5093 GB, free: 3.867 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.409e-05/0.08864, allocations: 75.28 kB / 0.5093 GB, free: 3.793 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.372e-05/0.08867, allocations: 79.22 kB / 0.5094 GB, free: 3.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.981e-05/0.08874, allocations: 37.61 kB / 0.5095 GB, free: 3.672 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.381e-05/0.08877, allocations: 87.2 kB / 0.5095 GB, free: 3.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.593e-05/0.0888, allocations: 75.28 kB / 0.5096 GB, free: 3.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.788e-05/0.08887, allocations: 162.5 kB / 0.5098 GB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.334e-05/0.0889, allocations: 75.28 kB / 0.5098 GB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-05/0.08895, allocations: 158.5 kB / 0.51 GB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.141e-05/0.08903, allocations: 79.44 kB / 0.5101 GB, free: 3.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.08906, allocations: 83.34 kB / 0.5101 GB, free: 2.961 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001201/0.08918, allocations: 284.4 kB / 0.5104 GB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.347e-05/0.08925, allocations: 124.7 kB / 0.5105 GB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.485e-05/0.08932, allocations: 125.5 kB / 0.5107 GB, free: 2.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-05/0.08938, allocations: 180.2 kB / 0.5108 GB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.143e-05/0.08944, allocations: 176.3 kB / 0.511 GB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.808e-05/0.08949, allocations: 180.3 kB / 0.5112 GB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002254/0.08972, allocations: 449.1 kB / 0.5116 GB, free: 1.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.137e-05/0.08976, allocations: 101 kB / 0.5117 GB, free: 1.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.996e-05/0.0898, allocations: 108.9 kB / 0.5118 GB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.321e-05/0.08985, allocations: 180.2 kB / 0.512 GB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.967e-05/0.08992, allocations: 192.2 kB / 0.5122 GB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.904e-05/0.08997, allocations: 180.2 kB / 0.5123 GB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.521e-05/0.09002, allocations: 180.3 kB / 0.5125 GB, free: 412 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/0.09015, allocations: 315.6 kB / 0.5128 GB, free: 72 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.959e-05/0.09023, allocations: 193.9 kB / 0.513 GB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.312e-05/0.0903, allocations: 188.2 kB / 0.5132 GB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.983e-05/0.09039, allocations: 105 kB / 0.5133 GB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.008e-05/0.09045, allocations: 188.2 kB / 0.5134 GB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/0.09049, allocations: 108.9 kB / 0.5135 GB, free: 15.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001314/0.09063, allocations: 168.2 kB / 0.5137 GB, free: 15.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09063, allocations: 0 / 0.5137 GB, free: 15.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002435/0.09088, allocations: 4 kB / 0.5137 GB, free: 15.08 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.973e-05/0.09098, allocations: 168.8 kB / 0.5139 GB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 2.952e-05/0.09101, allocations: 7.938 kB / 0.5139 GB, free: 14.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.09102, allocations: 0 / 0.5139 GB, free: 14.9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.09102, allocations: 0 / 0.5139 GB, free: 14.9 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.09138, allocations: 463.7 kB / 0.5143 GB, free: 14.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003174/0.09171, allocations: 330.8 kB / 0.5146 GB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.09195, allocations: 0.7197 MB / 0.5153 GB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.587e-05/0.09197, allocations: 7.438 kB / 0.5153 GB, free: 13.33 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.09198, allocations: 0 / 0.5153 GB, free: 13.33 MB / 366.1 MB Notification: Performance of Templates: time 0.001744/0.09372, allocations: 0.7267 MB / 0.5161 GB, free: 12.6 MB / 366.1 MB make -j1 -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.makefile (rm -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.sim & ./HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe 2>&1)