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.001505/0.001505, allocations: 109.9 kB / 16.41 MB, free: 6.449 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.312/1.312, allocations: 222.9 MB / 240.1 MB, free: 4.574 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.001377/0.001377, allocations: 188.5 kB / 290.4 MB, free: 2.293 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03604/0.03604, allocations: 8.796 MB / 349.3 MB, free: 4.656 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 79.88 kB / 464.6 MB, free: 13.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08901/0.09061, allocations: 51.56 MB / 0.504 GB, free: 9.574 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.001567/0.09222, allocations: 0.5159 MB / 0.5045 GB, free: 9.062 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.09357, allocations: 1.085 MB / 0.5056 GB, free: 7.961 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.488e-05/0.09366, allocations: 4 kB / 0.5056 GB, free: 7.957 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002704/0.09394, allocations: 19.91 kB / 0.5056 GB, free: 7.938 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.193e-05/0.09402, allocations: 23.92 kB / 0.5057 GB, free: 7.914 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.957e-06/0.09404, allocations: 0 / 0.5057 GB, free: 7.914 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.241e-05/0.09412, allocations: 27.91 kB / 0.5057 GB, free: 7.887 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.445e-05/0.09418, allocations: 8 kB / 0.5057 GB, free: 7.879 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.0943, allocations: 19.92 kB / 0.5057 GB, free: 7.859 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.09444, allocations: 23.91 kB / 0.5057 GB, free: 7.836 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.09447, allocations: 0 / 0.5057 GB, free: 7.836 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.507e-05/0.09449, allocations: 0 / 0.5057 GB, free: 7.836 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000159/0.09465, allocations: 71.84 kB / 0.5058 GB, free: 7.766 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.765e-05/0.0947, allocations: 27.69 kB / 0.5058 GB, free: 7.738 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.19e-05/0.09479, allocations: 43.78 kB / 0.5059 GB, free: 7.695 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.0948, allocations: 4 kB / 0.5059 GB, free: 7.691 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.09481, allocations: 0 / 0.5059 GB, free: 7.691 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.09482, allocations: 0 / 0.5059 GB, free: 7.691 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.0004639/0.0953, allocations: 406.8 kB / 0.5063 GB, free: 7.246 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.09534, allocations: 11.97 kB / 0.5063 GB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.406e-05/0.0954, allocations: 92.03 kB / 0.5064 GB, free: 7.145 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.09561, allocations: 288.2 kB / 0.5066 GB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.848e-05/0.09566, allocations: 150.9 kB / 0.5068 GB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.762e-05/0.09572, allocations: 150.9 kB / 0.5069 GB, free: 6.523 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.839e-05/0.09578, allocations: 109.3 kB / 0.507 GB, free: 6.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.493e-05/0.09581, allocations: 75.28 kB / 0.5071 GB, free: 6.336 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.817e-05/0.09586, allocations: 154.5 kB / 0.5072 GB, free: 6.184 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.863e-05/0.09592, allocations: 154.6 kB / 0.5074 GB, free: 6.031 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.583e-05/0.09597, allocations: 158.5 kB / 0.5075 GB, free: 5.875 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002929/0.09627, allocations: 485.9 kB / 0.508 GB, free: 5.352 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.1e-05/0.09636, allocations: 169.1 kB / 0.5082 GB, free: 5.176 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.768e-05/0.09639, allocations: 80.14 kB / 0.5082 GB, free: 5.094 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.09643, allocations: 75.28 kB / 0.5083 GB, free: 5.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.09647, allocations: 113.8 kB / 0.5084 GB, free: 4.898 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 2.555e-06/0.09648, allocations: 0 / 0.5084 GB, free: 4.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.931e-05/0.09656, allocations: 45.45 kB / 0.5085 GB, free: 4.848 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.487e-05/0.09659, allocations: 55.41 kB / 0.5085 GB, free: 4.781 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/0.09682, allocations: 231.8 kB / 0.5087 GB, free: 4.543 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.09684, allocations: 25.7 kB / 0.5088 GB, free: 4.512 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.828e-05/0.09691, allocations: 116.1 kB / 0.5089 GB, free: 4.395 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/0.09692, allocations: 0 / 0.5089 GB, free: 4.395 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-05/0.09695, allocations: 13.72 kB / 0.5089 GB, free: 4.375 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.09706, allocations: 326.8 kB / 0.5092 GB, free: 4.047 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.749e-06/0.09708, allocations: 4 kB / 0.5092 GB, free: 4.043 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.886e-06/0.09708, allocations: 0 / 0.5092 GB, free: 4.043 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.676e-05/0.09711, allocations: 79.28 kB / 0.5093 GB, free: 3.965 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-05/0.09719, allocations: 75.28 kB / 0.5093 GB, free: 3.891 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.636e-05/0.09726, allocations: 45.53 kB / 0.5094 GB, free: 3.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.668e-05/0.0973, allocations: 83.22 kB / 0.5095 GB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.453e-05/0.09733, allocations: 79.28 kB / 0.5095 GB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.415e-05/0.0974, allocations: 154.5 kB / 0.5097 GB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.329e-05/0.09743, allocations: 79.28 kB / 0.5098 GB, free: 3.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.769e-05/0.09749, allocations: 150.6 kB / 0.5099 GB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.531e-05/0.09758, allocations: 83.36 kB / 0.51 GB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.459e-05/0.09762, allocations: 91.34 kB / 0.5101 GB, free: 3.129 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.0001328/0.09776, allocations: 284.4 kB / 0.5104 GB, free: 2.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.642e-05/0.09783, allocations: 120.7 kB / 0.5105 GB, free: 2.715 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.586e-05/0.0979, allocations: 121.5 kB / 0.5106 GB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-05/0.09797, allocations: 184.2 kB / 0.5108 GB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.314e-05/0.09801, allocations: 104.9 kB / 0.5109 GB, free: 2.289 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.077e-05/0.09811, allocations: 193.9 kB / 0.511 GB, free: 2.074 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.576e-05/0.09819, allocations: 188.2 kB / 0.5112 GB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.49e-05/0.09828, allocations: 108.9 kB / 0.5113 GB, free: 1.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.795e-05/0.09836, allocations: 180.2 kB / 0.5115 GB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.508e-05/0.09845, allocations: 255.5 kB / 0.5117 GB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001672/0.09862, allocations: 398.9 kB / 0.5121 GB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.835e-05/0.09866, allocations: 101 kB / 0.5122 GB, free: 0.8086 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001462/0.09881, allocations: 172.2 kB / 0.5124 GB, free: 0.6406 MB / 350.1 MB Notification: Performance of Backend: time 2.8e-07/0.09882, allocations: 0 / 0.5124 GB, free: 0.6406 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002722/0.0991, allocations: 71.81 kB / 0.5125 GB, free: 0.5625 MB / 350.1 MB Notification: Performance of SimCode: time 0.00059/0.0997, allocations: 1.058 MB / 0.5135 GB, free: 15.45 MB / 366.1 MB Notification: Performance of Templates: time 0.002222/0.1019, allocations: 308.9 kB / 0.5138 GB, free: 15.15 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)