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.004812/0.004811, allocations: 170.7 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03679/0.03679, allocations: 8.801 MB / 24.65 MB, free: 4.121 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.189/1.189, allocations: 223.2 MB / 250.7 MB, free: 6.48 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.0008233/0.0008233, allocations: 95.73 kB / 304 MB, free: 4.02 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003151/0.0003152, allocations: 12 kB / 367.1 MB, free: 4.957 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2209, allocations: 52.53 MB / 419.6 MB, free: 48.09 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07945/0.3004, allocations: 76.46 MB / 496.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000177/0.3006, allocations: 59.97 kB / 496.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001398/0.302, allocations: 0.6169 MB / 496.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.165e-06/0.302, allocations: 0 / 496.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.302, allocations: 5.062 kB / 496.7 MB, free: 11.98 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.0002565/0.3023, allocations: 319.4 kB / 497.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.3023, allocations: 13.58 kB / 497.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.478e-05/0.3024, allocations: 7.859 kB / 497.1 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.3025, allocations: 167.7 kB / 497.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.3025, allocations: 0 / 497.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.3025, allocations: 2.25 kB / 497.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.525e-05/0.3026, allocations: 43.41 kB / 497.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.631e-06/0.3026, allocations: 0 / 497.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.3026, allocations: 0 / 497.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.216e-06/0.3026, allocations: 0.75 kB / 497.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.772e-05/0.3026, allocations: 15.89 kB / 497.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002505/0.3029, allocations: 168.3 kB / 497.5 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.393e-05/0.303, allocations: 37.28 kB / 497.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.375e-06/0.303, allocations: 4.562 kB / 497.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.73e-05/0.303, allocations: 38.72 kB / 497.5 MB, free: 11.01 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.303, allocations: 0 / 497.5 MB, free: 11.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001288/0.3031, allocations: 45.69 kB / 497.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.3032, allocations: 77.11 kB / 497.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.765e-05/0.3033, allocations: 96.98 kB / 497.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.3033, allocations: 25.7 kB / 497.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.968e-05/0.3033, allocations: 86.42 kB / 497.9 MB, free: 10.65 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.3034, allocations: 11.84 kB / 497.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.195e-06/0.3034, allocations: 0 / 497.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.522e-05/0.3035, allocations: 318.7 kB / 498.2 MB, free: 10.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.621e-05/0.3035, allocations: 11.98 kB / 498.2 MB, free: 10.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.316e-05/0.3035, allocations: 27.75 kB / 498.2 MB, free: 10.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.275e-05/0.3035, allocations: 11.94 kB / 498.2 MB, free: 10.26 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3036, allocations: 4 kB / 498.2 MB, free: 10.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.691e-05/0.3036, allocations: 61.53 kB / 498.3 MB, free: 10.19 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.3037, allocations: 4 kB / 498.3 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.3037, allocations: 8.359 kB / 498.3 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.3037, allocations: 4 kB / 498.3 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.617e-05/0.3037, allocations: 4 kB / 498.3 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.3037, allocations: 4 kB / 498.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.752e-05/0.3038, allocations: 0 / 498.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.3038, allocations: 4 kB / 498.3 MB, free: 10.16 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.442e-05/0.3039, allocations: 128.6 kB / 498.5 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.658e-06/0.3039, allocations: 4 kB / 498.5 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.589e-05/0.3039, allocations: 3.125 kB / 498.5 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.3039, allocations: 4 kB / 498.5 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.3039, allocations: 0 / 498.5 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.3039, allocations: 288 / 498.5 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.3041, allocations: 161.6 kB / 498.6 MB, free: 9.809 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3041, allocations: 0 / 498.6 MB, free: 9.809 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.67e-05/0.3041, allocations: 7.984 kB / 498.6 MB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.3041, allocations: 3.984 kB / 498.6 MB, free: 9.797 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.3041, allocations: 4 kB / 498.6 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3042, allocations: 0 / 498.6 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3042, allocations: 0 / 498.6 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.3043, allocations: 99.5 kB / 498.7 MB, free: 9.668 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.637e-05/0.3043, allocations: 81.14 kB / 498.8 MB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.3043, allocations: 0 / 498.8 MB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.373e-05/0.3044, allocations: 0 / 498.8 MB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.212e-05/0.3044, allocations: 4 kB / 498.8 MB, free: 9.566 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.3044, allocations: 0 / 498.8 MB, free: 9.566 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.466e-05/0.3044, allocations: 91.36 kB / 498.9 MB, free: 9.477 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.593e-06/0.3045, allocations: 0 / 498.9 MB, free: 9.477 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001797/0.3046, allocations: 11.94 kB / 498.9 MB, free: 9.465 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 () * Number of clocked 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.0001195/0.3048, allocations: 107.2 kB / 499 MB, free: 9.352 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.631e-05/0.3048, allocations: 23.94 kB / 499 MB, free: 9.328 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.3048, allocations: 0 / 499 MB, free: 9.328 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.628e-06/0.3049, allocations: 4 kB / 499.1 MB, free: 9.324 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.579e-05/0.305, allocations: 10.03 kB / 499.1 MB, free: 9.316 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000228/0.3052, allocations: 150.5 kB / 499.2 MB, free: 9.141 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000198/0.3054, allocations: 0.6809 MB / 499.9 MB, free: 8.434 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.653e-05/0.3054, allocations: 4 kB / 499.9 MB, free: 8.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.383e-05/0.3054, allocations: 7.438 kB / 499.9 MB, free: 8.426 MB / 362.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3055, allocations: 0 / 499.9 MB, free: 8.426 MB / 362.7 MB Notification: Performance of Templates: time 0.00193/0.3074, allocations: 415.4 kB / 0.4886 GB, free: 8.023 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)