Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_3_1_cpp_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.073/1.073, allocations: 111.1 MB / 126.7 MB, free: 6.137 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002765/0.0002764, allocations: 4 kB / 158.4 MB, free: 15.07 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05501/0.05533, allocations: 25.17 MB / 183.6 MB, free: 5.855 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2328/0.2881, allocations: 33.41 MB / 217 MB, free: 6.828 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002272/0.2884, allocations: 69.09 kB / 217.1 MB, free: 6.82 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004767/0.2932, allocations: 1.303 MB / 218.4 MB, free: 6.176 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.2933, allocations: 2.297 kB / 218.4 MB, free: 6.176 MB / 170.7 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.2933, allocations: 0 / 218.4 MB, free: 6.176 MB / 170.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003857/0.2937, allocations: 353.7 kB / 218.7 MB, free: 5.805 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.2937, allocations: 7.375 kB / 218.7 MB, free: 5.805 MB / 170.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.73e-05/0.2938, allocations: 41.2 kB / 218.8 MB, free: 5.762 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.268e-05/0.2938, allocations: 10.97 kB / 218.8 MB, free: 5.758 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.294, allocations: 178.6 kB / 219 MB, free: 5.551 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.294, allocations: 3.844 kB / 219 MB, free: 5.551 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.115e-05/0.294, allocations: 7.312 kB / 219 MB, free: 5.551 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.2942, allocations: 68.27 kB / 219 MB, free: 5.512 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.2943, allocations: 3.719 kB / 219 MB, free: 5.512 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.241e-05/0.2943, allocations: 4 kB / 219 MB, free: 5.508 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.2943, allocations: 3.953 kB / 219 MB, free: 5.504 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.2944, allocations: 36.47 kB / 219.1 MB, free: 5.496 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007606/0.2952, allocations: 385.9 kB / 219.5 MB, free: 5.148 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.2954, allocations: 51.47 kB / 219.5 MB, free: 5.121 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.2954, allocations: 7.812 kB / 219.5 MB, free: 5.117 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.2954, allocations: 35.5 kB / 219.5 MB, free: 5.074 MB / 170.7 MB Notification: Performance of pre-optimization done (n=7): time 3.236e-06/0.2954, allocations: 0 / 219.5 MB, free: 5.074 MB / 170.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008204/0.2963, allocations: 0.5127 MB / 220.1 MB, free: 4.609 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.2963, allocations: 59.22 kB / 220.1 MB, free: 4.543 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.485e-05/0.2964, allocations: 106.4 kB / 220.2 MB, free: 4.445 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.2964, allocations: 25.7 kB / 220.2 MB, free: 4.414 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.657e-05/0.2965, allocations: 160.9 kB / 220.4 MB, free: 4.262 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/0.2965, allocations: 33.45 kB / 220.4 MB, free: 4.238 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-06/0.2965, allocations: 0 / 220.4 MB, free: 4.238 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 5.773e-05/0.2966, allocations: 313.9 kB / 220.7 MB, free: 3.926 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.031e-05/0.2967, allocations: 21.08 kB / 220.8 MB, free: 3.922 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.336e-05/0.2968, allocations: 62.86 kB / 220.8 MB, free: 3.863 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.367e-05/0.2968, allocations: 33.67 kB / 220.9 MB, free: 3.855 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.2969, allocations: 7.891 kB / 220.9 MB, free: 3.848 MB / 170.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002055/0.2971, allocations: 106.2 kB / 221 MB, free: 3.797 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.2971, allocations: 7.938 kB / 221 MB, free: 3.793 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.2971, allocations: 7.953 kB / 221 MB, free: 3.789 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.2971, allocations: 0 / 221 MB, free: 3.789 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.2973, allocations: 19.22 kB / 221 MB, free: 3.789 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.2973, allocations: 3.875 kB / 221 MB, free: 3.789 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.518e-05/0.2974, allocations: 7.859 kB / 221 MB, free: 3.785 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.2974, allocations: 3.844 kB / 221 MB, free: 3.785 MB / 170.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (13): * Single equations (assignments): 13 * 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 8.399e-05/0.2975, allocations: 125 kB / 221.1 MB, free: 3.664 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.658e-05/0.2976, allocations: 12.58 kB / 221.2 MB, free: 3.656 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.032e-05/0.2976, allocations: 15.31 kB / 221.2 MB, free: 3.652 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.2976, allocations: 0 / 221.2 MB, free: 3.652 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.2976, allocations: 0 / 221.2 MB, free: 3.652 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.2976, allocations: 0 / 221.2 MB, free: 3.652 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005956/0.2983, allocations: 411.4 kB / 221.6 MB, free: 3.273 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.781e-05/0.2983, allocations: 3.844 kB / 221.6 MB, free: 3.273 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/0.2985, allocations: 22.83 kB / 221.6 MB, free: 3.266 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.2985, allocations: 3.812 kB / 221.6 MB, free: 3.266 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.2985, allocations: 0 / 221.6 MB, free: 3.266 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.2985, allocations: 4.219 kB / 221.6 MB, free: 3.266 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.2985, allocations: 0 / 221.6 MB, free: 3.266 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002833/0.2988, allocations: 304.2 kB / 221.9 MB, free: 2.984 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.346e-05/0.2989, allocations: 84.77 kB / 222 MB, free: 2.887 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.2989, allocations: 7.984 kB / 222 MB, free: 2.879 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.299, allocations: 7.156 kB / 222 MB, free: 2.879 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.025e-05/0.2991, allocations: 3.844 kB / 222 MB, free: 2.879 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.2991, allocations: 3.844 kB / 222 MB, free: 2.879 MB / 170.7 MB Notification: Performance of sorting global known variables: time 5.42e-05/0.2991, allocations: 95.11 kB / 222.1 MB, free: 2.801 MB / 170.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.2992, allocations: 0 / 222.1 MB, free: 2.801 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0003461/0.2995, allocations: 18.53 kB / 222.1 MB, free: 2.801 MB / 170.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (accelerate.s,accelerate.v) * 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 (9): * Single equations (assignments): 9 * 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.0005694/0.3001, allocations: 1.179 MB / 223.3 MB, free: 1.645 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0001783/0.3003, allocations: 62.62 kB / 223.4 MB, free: 1.633 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3003, allocations: 0 / 223.4 MB, free: 1.633 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 5.659e-05/0.3004, allocations: 30.86 kB / 223.4 MB, free: 1.621 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.3007, allocations: 15.31 kB / 223.4 MB, free: 1.617 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.3021, allocations: 1.522 MB / 224.9 MB, free: 224 kB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.3025, allocations: 0.692 MB / 225.6 MB, free: 15.52 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.757e-05/0.3026, allocations: 25.48 kB / 225.6 MB, free: 15.5 MB / 186.7 MB Notification: Performance of SimCode: time 1.302e-06/0.3026, allocations: 4.188 kB / 225.6 MB, free: 15.5 MB / 186.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.651/2.954, allocations: 1.355 MB / 227 MB, free: 14.84 MB / 186.7 MB