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/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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.05396/0.05396, allocations: 8.704 MB / 21.96 MB, free: 3.734 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 221.4 MB / 246 MB, free: 3.551 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008816/0.0008816, allocations: 95.11 kB / 299.1 MB, free: 2.992 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.361e-05/3.379e-05, allocations: 0 / 359.5 MB, free: 6.527 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2206, allocations: 52.54 MB / 412.1 MB, free: 22.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09602/0.3167, allocations: 76.39 MB / 488.4 MB, free: 10.07 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001967/0.317, allocations: 59.97 kB / 488.5 MB, free: 10.01 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001408/0.3184, allocations: 0.6158 MB / 489.1 MB, free: 9.395 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.3184, allocations: 0 / 489.1 MB, free: 9.395 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.3184, allocations: 0 / 489.1 MB, free: 9.395 MB / 362.7 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.0002409/0.3187, allocations: 316.4 kB / 489.4 MB, free: 9.043 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.3187, allocations: 8.031 kB / 489.4 MB, free: 9.035 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.643e-05/0.3187, allocations: 7.938 kB / 489.4 MB, free: 9.027 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.3189, allocations: 171 kB / 489.6 MB, free: 8.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.3189, allocations: 0 / 489.6 MB, free: 8.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/0.3189, allocations: 0 / 489.6 MB, free: 8.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.576e-05/0.319, allocations: 46.64 kB / 489.7 MB, free: 8.766 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.319, allocations: 4 kB / 489.7 MB, free: 8.762 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.3191, allocations: 4 kB / 489.7 MB, free: 8.758 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.3191, allocations: 0 / 489.7 MB, free: 8.758 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.887e-05/0.3191, allocations: 7.938 kB / 489.7 MB, free: 8.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002712/0.3194, allocations: 166.6 kB / 489.8 MB, free: 8.535 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.231e-05/0.3194, allocations: 37.12 kB / 489.9 MB, free: 8.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.155e-05/0.3195, allocations: 13.84 kB / 489.9 MB, free: 8.461 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.277e-06/0.3195, allocations: 4 kB / 489.9 MB, free: 8.457 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.3195, allocations: 38.5 kB / 489.9 MB, free: 8.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3195, allocations: 3.938 kB / 489.9 MB, free: 8.406 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001095/0.3196, allocations: 37.69 kB / 490 MB, free: 8.363 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.3197, allocations: 81.11 kB / 490 MB, free: 8.266 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.581e-05/0.3198, allocations: 93 kB / 490.1 MB, free: 8.168 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.3198, allocations: 29.77 kB / 490.2 MB, free: 8.133 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.664e-05/0.3198, allocations: 84.08 kB / 490.2 MB, free: 8.047 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.3199, allocations: 15.89 kB / 490.3 MB, free: 8.031 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-06/0.3199, allocations: 0 / 490.3 MB, free: 8.031 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.32, allocations: 314.8 kB / 490.6 MB, free: 7.715 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.601e-05/0.32, allocations: 8 kB / 490.6 MB, free: 7.707 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.567e-05/0.3201, allocations: 23.44 kB / 490.6 MB, free: 7.672 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.406e-05/0.3201, allocations: 12 kB / 490.6 MB, free: 7.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.3201, allocations: 4 kB / 490.6 MB, free: 7.656 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.984e-05/0.3202, allocations: 53.62 kB / 490.7 MB, free: 7.598 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.3202, allocations: 7.938 kB / 490.7 MB, free: 7.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.3202, allocations: 4 kB / 490.7 MB, free: 7.586 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.3202, allocations: 4.062 kB / 490.7 MB, free: 7.582 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.658e-05/0.3203, allocations: 11.98 kB / 490.7 MB, free: 7.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.3203, allocations: 7.984 kB / 490.7 MB, free: 7.562 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.499e-05/0.3203, allocations: 11.91 kB / 490.7 MB, free: 7.551 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.3203, allocations: 4 kB / 490.7 MB, free: 7.547 MB / 362.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.172e-05/0.3204, allocations: 104.9 kB / 490.8 MB, free: 7.438 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.456e-06/0.3204, allocations: 0 / 490.8 MB, free: 7.438 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.1e-05/0.3204, allocations: 7.125 kB / 490.8 MB, free: 7.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.3205, allocations: 0 / 490.8 MB, free: 7.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.3205, allocations: 0 / 490.8 MB, free: 7.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.3205, allocations: 4.281 kB / 490.8 MB, free: 7.426 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.3206, allocations: 169.5 kB / 491 MB, free: 7.211 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3206, allocations: 0 / 491 MB, free: 7.211 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.363e-05/0.3207, allocations: 4 kB / 491 MB, free: 7.207 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.3207, allocations: 3.984 kB / 491 MB, free: 7.203 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.3207, allocations: 4 kB / 491 MB, free: 7.199 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3207, allocations: 3.938 kB / 491 MB, free: 7.195 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3207, allocations: 0 / 491 MB, free: 7.195 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001166/0.3208, allocations: 91.66 kB / 491.1 MB, free: 7.078 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.152e-05/0.3209, allocations: 85.05 kB / 491.2 MB, free: 6.977 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.3209, allocations: 0 / 491.2 MB, free: 6.977 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.266e-05/0.321, allocations: 0 / 491.2 MB, free: 6.977 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.241e-05/0.321, allocations: 4 kB / 491.2 MB, free: 6.973 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.321, allocations: 3.984 kB / 491.2 MB, free: 6.969 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.999e-05/0.321, allocations: 83.28 kB / 491.3 MB, free: 6.887 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.321, allocations: 4.094 kB / 491.3 MB, free: 6.883 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001816/0.3212, allocations: 11.94 kB / 491.3 MB, free: 6.871 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (v.y,v.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001313/0.3214, allocations: 115.1 kB / 491.4 MB, free: 6.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.679e-05/0.3214, allocations: 20.05 kB / 491.4 MB, free: 6.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.3214, allocations: 0 / 491.4 MB, free: 6.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.271e-05/0.3215, allocations: 11.94 kB / 491.4 MB, free: 6.719 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.306e-05/0.3216, allocations: 5.656 kB / 491.4 MB, free: 6.715 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001957/0.3218, allocations: 93.83 kB / 491.5 MB, free: 6.598 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.322, allocations: 0.6809 MB / 492.2 MB, free: 5.891 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.788e-05/0.322, allocations: 4.312 kB / 492.2 MB, free: 5.887 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.441e-05/0.322, allocations: 11.44 kB / 492.2 MB, free: 5.875 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3221, allocations: 0 / 492.2 MB, free: 5.875 MB / 362.7 MB Notification: Performance of Templates: time 0.002159/0.3242, allocations: 429 kB / 492.6 MB, free: 5.457 MB / 362.7 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)