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.001085/0.001085, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.238/1.238, allocations: 222.9 MB / 238.8 MB, free: 4.766 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.001104/0.001104, allocations: 196.3 kB / 289.1 MB, free: 2.492 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03153/0.03153, allocations: 8.787 MB / 348.1 MB, free: 4.887 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 73.17 kB / 410.4 MB, free: 42.41 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07409/0.07533, allocations: 51.55 MB / 461.9 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.001952/0.07732, allocations: 1.276 MB / 463.2 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001612/0.07749, allocations: 55.84 kB / 463.3 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.669e-05/0.07753, allocations: 0 / 463.3 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.747e-05/0.07761, allocations: 7.938 kB / 463.3 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.487e-05/0.07772, allocations: 4 kB / 463.3 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.507e-05/0.07775, allocations: 3.984 kB / 463.3 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.253e-05/0.0778, allocations: 19.88 kB / 463.3 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.202e-05/0.07784, allocations: 4 kB / 463.3 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.786e-05/0.07786, allocations: 7.984 kB / 463.3 MB, free: 13.51 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.744e-05/0.07797, allocations: 15.92 kB / 463.3 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.07798, allocations: 0 / 463.3 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.554e-06/0.07799, allocations: 0 / 463.3 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.354e-05/0.07801, allocations: 4 kB / 463.3 MB, free: 13.49 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.846e-05/0.07803, allocations: 3.938 kB / 463.3 MB, free: 13.49 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 4.985e-05/0.07809, allocations: 15.98 kB / 463.4 MB, free: 13.47 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.0781, allocations: 0 / 463.4 MB, free: 13.47 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.0781, allocations: 0 / 463.4 MB, free: 13.47 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.07811, allocations: 0 / 463.4 MB, free: 13.47 MB / 302.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.0003285/0.07844, allocations: 327.5 kB / 463.7 MB, free: 13.1 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.07848, allocations: 8.031 kB / 463.7 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.732e-05/0.07851, allocations: 8.875 kB / 463.7 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.07866, allocations: 164.6 kB / 463.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.946e-06/0.07868, allocations: 384 / 463.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.0787, allocations: 8.375 kB / 463.9 MB, free: 12.88 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.355e-05/0.07878, allocations: 47.97 kB / 463.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.07879, allocations: 192 / 463.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.07881, allocations: 3.938 kB / 463.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.07882, allocations: 0 / 463.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.573e-05/0.07883, allocations: 3.938 kB / 463.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002467/0.07909, allocations: 174.5 kB / 464.1 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.896e-05/0.07915, allocations: 37.12 kB / 464.1 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.265e-05/0.07917, allocations: 25.77 kB / 464.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.616e-06/0.07919, allocations: 0 / 464.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.07921, allocations: 34.5 kB / 464.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.07922, allocations: 0 / 464.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001125/0.07934, allocations: 57.56 kB / 464.2 MB, free: 12.4 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.07939, allocations: 77.11 kB / 464.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.939e-05/0.07946, allocations: 97.86 kB / 464.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.307e-06/0.07948, allocations: 29.7 kB / 464.4 MB, free: 12.16 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.377e-05/0.07952, allocations: 80.14 kB / 464.5 MB, free: 12.08 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/0.07954, allocations: 7.891 kB / 464.5 MB, free: 12.07 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.621e-05/0.07957, allocations: 17.97 kB / 464.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.877e-05/0.07967, allocations: 314.8 kB / 464.8 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.593e-05/0.07969, allocations: 8 kB / 464.9 MB, free: 11.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.487e-05/0.07972, allocations: 31.42 kB / 464.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.611e-05/0.07977, allocations: 47.38 kB / 464.9 MB, free: 11.62 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.07977, allocations: 0 / 464.9 MB, free: 11.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.363e-05/0.07986, allocations: 61.56 kB / 465 MB, free: 11.56 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.07988, allocations: 6.031 kB / 465 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.07989, allocations: 7.938 kB / 465 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.07991, allocations: 0 / 465 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.348e-05/0.07994, allocations: 4 kB / 465 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.07996, allocations: 4 kB / 465 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.779e-05/0.07999, allocations: 4.125 kB / 465 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.08, allocations: 4 kB / 465 MB, free: 11.53 MB / 302.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 5.719e-05/0.08006, allocations: 109.8 kB / 465.1 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.293e-05/0.08008, allocations: 11.89 kB / 465.1 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.745e-05/0.0801, allocations: 11.34 kB / 465.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.08011, allocations: 0 / 465.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.08012, allocations: 0 / 465.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.08012, allocations: 3.984 kB / 465.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/0.08028, allocations: 157.7 kB / 465.3 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.08029, allocations: 4 kB / 465.3 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.349e-05/0.08033, allocations: 7.938 kB / 465.3 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.08034, allocations: 4 kB / 465.3 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.08035, allocations: 7.922 kB / 465.3 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.08036, allocations: 3.938 kB / 465.3 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.08037, allocations: 0 / 465.3 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/0.08047, allocations: 69.98 kB / 465.4 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.966e-05/0.08051, allocations: 85.23 kB / 465.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.08053, allocations: 3.938 kB / 465.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.235e-05/0.08056, allocations: 0 / 465.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.228e-05/0.08058, allocations: 8 kB / 465.5 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.08058, allocations: 0 / 465.5 MB, free: 10.95 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.875e-05/0.08064, allocations: 87.2 kB / 465.6 MB, free: 10.87 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.08065, allocations: 3.938 kB / 465.6 MB, free: 10.86 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001776/0.08084, allocations: 4 kB / 465.6 MB, free: 10.86 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.54e-05/0.08092, allocations: 95.25 kB / 465.7 MB, free: 10.75 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 7.618e-05/0.081, allocations: 16 kB / 465.7 MB, free: 10.74 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.08101, allocations: 0 / 465.7 MB, free: 10.74 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.869e-06/0.08102, allocations: 7.938 kB / 465.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.08117, allocations: 7.938 kB / 465.7 MB, free: 10.72 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002589/0.08143, allocations: 145.8 kB / 465.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002201/0.08166, allocations: 0.677 MB / 466.5 MB, free: 9.848 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.924e-05/0.08169, allocations: 4 kB / 466.5 MB, free: 9.844 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.786e-05/0.08171, allocations: 11.38 kB / 466.6 MB, free: 9.832 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.08171, allocations: 0 / 466.6 MB, free: 9.832 MB / 302.1 MB Notification: Performance of Templates: time 0.001912/0.08363, allocations: 277.1 kB / 466.8 MB, free: 9.562 MB / 302.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)