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.005305/0.005305, allocations: 95.61 kB / 15.73 MB, free: 6.047 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.277/1.277, allocations: 222.9 MB / 239.4 MB, free: 4.562 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.00126/0.00126, allocations: 196.4 kB / 289.7 MB, free: 2.277 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.033/0.033, allocations: 8.795 MB / 348.6 MB, free: 4.645 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 79.88 kB / 463.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08844/0.09, allocations: 51.56 MB / 0.5034 GB, free: 9.566 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.001495/0.09152, allocations: 0.5066 MB / 0.5039 GB, free: 9.062 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.09279, allocations: 1.092 MB / 0.5049 GB, free: 7.953 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.649e-05/0.09285, allocations: 0 / 0.5049 GB, free: 7.953 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002227/0.09308, allocations: 23.91 kB / 0.505 GB, free: 7.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.06e-05/0.09315, allocations: 31.91 kB / 0.505 GB, free: 7.898 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.597e-06/0.09316, allocations: 0 / 0.505 GB, free: 7.898 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.551e-05/0.09322, allocations: 23.86 kB / 0.505 GB, free: 7.875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.179e-05/0.09327, allocations: 0 / 0.505 GB, free: 7.875 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.775e-05/0.09336, allocations: 19.97 kB / 0.505 GB, free: 7.855 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.467e-05/0.09346, allocations: 23.86 kB / 0.505 GB, free: 7.832 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.09349, allocations: 0 / 0.505 GB, free: 7.832 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.259e-05/0.0935, allocations: 4 kB / 0.5051 GB, free: 7.828 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.09363, allocations: 67.84 kB / 0.5051 GB, free: 7.762 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.245e-05/0.09367, allocations: 31.67 kB / 0.5051 GB, free: 7.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.837e-05/0.09376, allocations: 51.66 kB / 0.5052 GB, free: 7.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.207e-06/0.09377, allocations: 0 / 0.5052 GB, free: 7.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.09377, allocations: 0 / 0.5052 GB, free: 7.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.09378, allocations: 0 / 0.5052 GB, free: 7.68 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.0003816/0.09417, allocations: 414.8 kB / 0.5056 GB, free: 7.227 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.09421, allocations: 12.03 kB / 0.5056 GB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.843e-05/0.09426, allocations: 88.12 kB / 0.5057 GB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.09444, allocations: 284.3 kB / 0.506 GB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.415e-05/0.09449, allocations: 154.9 kB / 0.5061 GB, free: 6.656 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.103e-05/0.09454, allocations: 154.9 kB / 0.5063 GB, free: 6.504 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.184e-05/0.09459, allocations: 113.2 kB / 0.5064 GB, free: 6.387 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/0.09462, allocations: 75.28 kB / 0.5064 GB, free: 6.312 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.383e-05/0.09467, allocations: 154.5 kB / 0.5066 GB, free: 6.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.296e-05/0.09472, allocations: 150.6 kB / 0.5067 GB, free: 6.012 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.059e-05/0.09476, allocations: 154.5 kB / 0.5069 GB, free: 5.859 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000263/0.09503, allocations: 481.9 kB / 0.5073 GB, free: 5.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.383e-05/0.09511, allocations: 173.1 kB / 0.5075 GB, free: 5.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.689e-05/0.09514, allocations: 84.14 kB / 0.5076 GB, free: 5.074 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.09517, allocations: 75.28 kB / 0.5076 GB, free: 5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.09521, allocations: 113.8 kB / 0.5078 GB, free: 4.879 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.09522, allocations: 0 / 0.5078 GB, free: 4.879 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.893e-05/0.09529, allocations: 41.64 kB / 0.5078 GB, free: 4.832 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.09535, allocations: 126.7 kB / 0.5079 GB, free: 4.695 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000211/0.09556, allocations: 227.8 kB / 0.5081 GB, free: 4.461 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.397e-06/0.09558, allocations: 29.64 kB / 0.5082 GB, free: 4.426 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.814e-05/0.09564, allocations: 120.1 kB / 0.5083 GB, free: 4.305 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.613e-06/0.09565, allocations: 7.938 kB / 0.5083 GB, free: 4.297 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.79e-05/0.09567, allocations: 13.72 kB / 0.5083 GB, free: 4.277 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.09578, allocations: 322.8 kB / 0.5086 GB, free: 3.953 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.288e-06/0.09579, allocations: 0 / 0.5086 GB, free: 3.953 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.275e-06/0.0958, allocations: 0 / 0.5086 GB, free: 3.953 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.379e-05/0.09582, allocations: 83.28 kB / 0.5087 GB, free: 3.871 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.252e-05/0.09585, allocations: 75.28 kB / 0.5088 GB, free: 3.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.271e-05/0.09591, allocations: 37.61 kB / 0.5088 GB, free: 3.754 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.135e-05/0.09594, allocations: 87.22 kB / 0.5089 GB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.714e-05/0.09598, allocations: 83.22 kB / 0.509 GB, free: 3.586 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.13e-05/0.09603, allocations: 158.5 kB / 0.5091 GB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.304e-05/0.09606, allocations: 75.28 kB / 0.5092 GB, free: 3.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.161e-05/0.09611, allocations: 162.5 kB / 0.5093 GB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.138e-05/0.09619, allocations: 75.44 kB / 0.5094 GB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/0.09622, allocations: 87.22 kB / 0.5095 GB, free: 3.035 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.0001078/0.09634, allocations: 288.4 kB / 0.5098 GB, free: 2.742 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.073e-05/0.0964, allocations: 120.8 kB / 0.5099 GB, free: 2.617 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.938e-05/0.09646, allocations: 125.5 kB / 0.51 GB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.026e-05/0.09651, allocations: 176.3 kB / 0.5102 GB, free: 2.305 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.279e-05/0.09657, allocations: 184.3 kB / 0.5103 GB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.176e-05/0.09663, allocations: 184.2 kB / 0.5105 GB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002137/0.09685, allocations: 437.2 kB / 0.5109 GB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-05/0.09688, allocations: 108.9 kB / 0.511 GB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.175e-05/0.09692, allocations: 109 kB / 0.5111 GB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.726e-05/0.09698, allocations: 180.2 kB / 0.5113 GB, free: 1.035 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.696e-05/0.09704, allocations: 184.2 kB / 0.5115 GB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.067e-05/0.0971, allocations: 180.2 kB / 0.5117 GB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.599e-05/0.09716, allocations: 184.2 kB / 0.5118 GB, free: 488 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.09728, allocations: 311.8 kB / 0.5121 GB, free: 152 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.355e-05/0.09737, allocations: 201.9 kB / 0.5123 GB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.306e-05/0.09744, allocations: 180.3 kB / 0.5125 GB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.163e-05/0.09753, allocations: 112.9 kB / 0.5126 GB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.885e-05/0.09759, allocations: 176.3 kB / 0.5128 GB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-05/0.09763, allocations: 105 kB / 0.5129 GB, free: 15.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001526/0.09778, allocations: 168.2 kB / 0.513 GB, free: 15.17 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.433e-06/0.09779, allocations: 0 / 0.513 GB, free: 15.17 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002505/0.09805, allocations: 7.938 kB / 0.513 GB, free: 15.16 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.786e-05/0.09814, allocations: 176.8 kB / 0.5132 GB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 3.586e-05/0.09818, allocations: 8 kB / 0.5132 GB, free: 14.97 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.09819, allocations: 0 / 0.5132 GB, free: 14.97 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.273e-06/0.09819, allocations: 0 / 0.5132 GB, free: 14.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.09853, allocations: 463.6 kB / 0.5137 GB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003098/0.09885, allocations: 301 kB / 0.5139 GB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002286/0.09909, allocations: 0.7119 MB / 0.5146 GB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.265e-05/0.09911, allocations: 0 / 0.5146 GB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.888e-05/0.09913, allocations: 7.438 kB / 0.5147 GB, free: 13.45 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.09913, allocations: 3.938 kB / 0.5147 GB, free: 13.45 MB / 366.1 MB Notification: Performance of Templates: time 0.0019/0.101, allocations: 293 kB / 0.5149 GB, free: 13.16 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)