Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Classes.TestVector2D.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.Classes.TestVector2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.TestVector2D") translateModel(HanserModelica.Classes.TestVector2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.TestVector2D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 109.5 kB / 16.42 MB, free: 6.461 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.367/1.367, allocations: 222.9 MB / 240.1 MB, free: 4.508 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.001415/0.001415, allocations: 184.5 kB / 290.4 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03641/0.03641, allocations: 8.791 MB / 349.3 MB, free: 4.605 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 76.2 kB / 464.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0802/0.0817, allocations: 51.56 MB / 0.504 GB, free: 9.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.001941/0.08368, allocations: 1.207 MB / 0.5052 GB, free: 8.277 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001867/0.08388, allocations: 55.78 kB / 0.5053 GB, free: 8.223 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.109e-05/0.08392, allocations: 0 / 0.5053 GB, free: 8.223 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.469e-05/0.084, allocations: 7.938 kB / 0.5053 GB, free: 8.215 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.08411, allocations: 11.92 kB / 0.5053 GB, free: 8.203 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.719e-05/0.08416, allocations: 8 kB / 0.5053 GB, free: 8.195 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.992e-05/0.08422, allocations: 23.86 kB / 0.5053 GB, free: 8.172 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.061e-05/0.08427, allocations: 3.984 kB / 0.5053 GB, free: 8.168 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.16e-05/0.0843, allocations: 8 kB / 0.5053 GB, free: 8.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.38e-05/0.08434, allocations: 3.938 kB / 0.5053 GB, free: 8.156 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.08436, allocations: 4 kB / 0.5053 GB, free: 8.152 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.003e-06/0.08437, allocations: 0 / 0.5053 GB, free: 8.152 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.238e-05/0.08439, allocations: 0 / 0.5053 GB, free: 8.152 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.178e-05/0.08442, allocations: 8 kB / 0.5053 GB, free: 8.145 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.457e-05/0.08448, allocations: 11.91 kB / 0.5054 GB, free: 8.133 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.08449, allocations: 8 kB / 0.5054 GB, free: 8.125 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.08449, allocations: 0 / 0.5054 GB, free: 8.125 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.0845, allocations: 0 / 0.5054 GB, free: 8.125 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003312/0.08484, allocations: 323.5 kB / 0.5057 GB, free: 7.758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.08488, allocations: 8.031 kB / 0.5057 GB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.431e-05/0.08491, allocations: 0.9375 kB / 0.5057 GB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.08504, allocations: 172.3 kB / 0.5058 GB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.08505, allocations: 384 / 0.5058 GB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.08508, allocations: 384 / 0.5058 GB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.81e-05/0.08516, allocations: 51.92 kB / 0.5059 GB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.08517, allocations: 192 / 0.5059 GB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.08518, allocations: 3.938 kB / 0.5059 GB, free: 7.477 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.08519, allocations: 0 / 0.5059 GB, free: 7.477 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.814e-05/0.08521, allocations: 7.984 kB / 0.5059 GB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002477/0.08547, allocations: 162.6 kB / 0.5061 GB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.954e-05/0.08553, allocations: 45.16 kB / 0.5061 GB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.205e-05/0.08556, allocations: 13.7 kB / 0.5061 GB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.062e-06/0.08557, allocations: 3.938 kB / 0.5061 GB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.08559, allocations: 38.56 kB / 0.5062 GB, free: 7.125 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.0856, allocations: 0 / 0.5062 GB, free: 7.125 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001254/0.08573, allocations: 53.75 kB / 0.5062 GB, free: 7.066 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.08577, allocations: 81.05 kB / 0.5063 GB, free: 6.969 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.313e-05/0.08586, allocations: 105.8 kB / 0.5064 GB, free: 6.855 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.08588, allocations: 29.64 kB / 0.5064 GB, free: 6.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.017e-05/0.08591, allocations: 80.14 kB / 0.5065 GB, free: 6.738 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/0.08594, allocations: 11.91 kB / 0.5065 GB, free: 6.727 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-05/0.08597, allocations: 9.719 kB / 0.5065 GB, free: 6.711 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.722e-05/0.08607, allocations: 322.8 kB / 0.5068 GB, free: 6.387 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.358e-05/0.08609, allocations: 4.031 kB / 0.5068 GB, free: 6.383 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.342e-05/0.08613, allocations: 31.44 kB / 0.5069 GB, free: 6.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.602e-05/0.08618, allocations: 35.38 kB / 0.5069 GB, free: 6.293 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.08619, allocations: 4 kB / 0.5069 GB, free: 6.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.188e-05/0.08628, allocations: 57.62 kB / 0.507 GB, free: 6.227 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.0863, allocations: 9.406 kB / 0.507 GB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.0863, allocations: 0 / 0.507 GB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.08632, allocations: 3.938 kB / 0.507 GB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.877e-05/0.08637, allocations: 15.92 kB / 0.507 GB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.08638, allocations: 0 / 0.507 GB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.18e-05/0.08641, allocations: 4 kB / 0.507 GB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.08642, allocations: 0 / 0.507 GB, free: 6.195 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 7.942e-05/0.08651, allocations: 121.9 kB / 0.5071 GB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.113e-05/0.08653, allocations: 3.906 kB / 0.5071 GB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.594e-05/0.08655, allocations: 7.062 kB / 0.5071 GB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.08656, allocations: 8 kB / 0.5071 GB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.08656, allocations: 0 / 0.5071 GB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.31e-05/0.0866, allocations: 81.09 kB / 0.5072 GB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.08662, allocations: 0 / 0.5072 GB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.563e-05/0.08665, allocations: 4 kB / 0.5072 GB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.538e-05/0.08667, allocations: 4 kB / 0.5072 GB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001912/0.08686, allocations: 208.2 kB / 0.5074 GB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001745/0.08705, allocations: 306 kB / 0.5077 GB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.123e-05/0.08708, allocations: 4.156 kB / 0.5077 GB, free: 5.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.404e-05/0.08712, allocations: 83.28 kB / 0.5078 GB, free: 5.328 MB / 350.1 MB Notification: Performance of Backend: time 2.51e-07/0.08713, allocations: 7.938 kB / 0.5078 GB, free: 5.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003606/0.08749, allocations: 86.3 kB / 0.5079 GB, free: 5.227 MB / 350.1 MB Notification: Performance of SimCode: time 0.0003778/0.08788, allocations: 0.5856 MB / 0.5084 GB, free: 4.594 MB / 350.1 MB Notification: Performance of Templates: time 0.002086/0.08997, allocations: 345.6 kB / 0.5088 GB, free: 4.258 MB / 350.1 MB make -j1 -f HanserModelica_HanserModelica.Classes.TestVector2D.makefile (rm -f HanserModelica_HanserModelica.Classes.TestVector2D.pipe ; mkfifo HanserModelica_HanserModelica.Classes.TestVector2D.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Classes.TestVector2D.pipe >> ../files/HanserModelica_HanserModelica.Classes.TestVector2D.sim & ./HanserModelica_HanserModelica.Classes.TestVector2D -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Classes.TestVector2D.pipe 2>&1)