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/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.139/1.139, allocations: 111.2 MB / 119.1 MB, free: 11.18 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.784e-05/2.793e-05, allocations: 4 kB / 148.2 MB, free: 6.129 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09403/0.09411, allocations: 25.17 MB / 173.4 MB, free: 12.92 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2239/0.3181, allocations: 32.66 MB / 206 MB, free: 4.941 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/0.3184, allocations: 65.95 kB / 206.1 MB, free: 4.938 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005163/0.3236, allocations: 1.29 MB / 207.4 MB, free: 4.566 MB / 170.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3237, allocations: 4 kB / 207.4 MB, free: 4.562 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.3237, allocations: 1.375 kB / 207.4 MB, free: 4.562 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.0003659/0.3241, allocations: 340.3 kB / 207.7 MB, free: 4.215 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.3242, allocations: 9.625 kB / 207.7 MB, free: 4.215 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.857e-05/0.3242, allocations: 11.98 kB / 207.8 MB, free: 4.207 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.3244, allocations: 179.4 kB / 207.9 MB, free: 4.004 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.3244, allocations: 2.75 kB / 207.9 MB, free: 4.004 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.3245, allocations: 4.125 kB / 207.9 MB, free: 4.004 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001332/0.3246, allocations: 32.97 kB / 208 MB, free: 4.004 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.3247, allocations: 60.8 kB / 208 MB, free: 3.969 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.3248, allocations: 5.281 kB / 208 MB, free: 3.965 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.3248, allocations: 3.953 kB / 208 MB, free: 3.961 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.3248, allocations: 5.312 kB / 208 MB, free: 3.957 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007537/0.3256, allocations: 346.2 kB / 208.4 MB, free: 3.68 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.3257, allocations: 59.16 kB / 208.4 MB, free: 3.648 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.568e-05/0.3258, allocations: 20.91 kB / 208.5 MB, free: 3.637 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.3258, allocations: 0 / 208.5 MB, free: 3.637 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.3258, allocations: 35.88 kB / 208.5 MB, free: 3.594 MB / 170.7 MB Notification: Performance of pre-optimization done (n=7): time 1.784e-06/0.3259, allocations: 0 / 208.5 MB, free: 3.594 MB / 170.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008086/0.3267, allocations: 483.1 kB / 209 MB, free: 3.152 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.462e-05/0.3267, allocations: 52.88 kB / 209 MB, free: 3.09 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.392e-05/0.3268, allocations: 103.5 kB / 209.1 MB, free: 2.996 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.3268, allocations: 25.7 kB / 209.1 MB, free: 2.965 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.14e-05/0.3269, allocations: 166.8 kB / 209.3 MB, free: 2.805 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.3269, allocations: 29.11 kB / 209.3 MB, free: 2.785 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-06/0.3269, allocations: 0 / 209.3 MB, free: 2.785 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 6.672e-05/0.327, allocations: 322.9 kB / 209.6 MB, free: 2.469 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.388e-05/0.3271, allocations: 13.84 kB / 209.7 MB, free: 2.469 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.691e-05/0.3272, allocations: 55.02 kB / 209.7 MB, free: 2.422 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.831e-05/0.3272, allocations: 21.11 kB / 209.7 MB, free: 2.422 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3273, allocations: 1.281 kB / 209.7 MB, free: 2.422 MB / 170.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000211/0.3275, allocations: 98.2 kB / 209.8 MB, free: 2.375 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.3275, allocations: 6.156 kB / 209.8 MB, free: 2.375 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.3275, allocations: 1.219 kB / 209.8 MB, free: 2.375 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.504e-05/0.3276, allocations: 2.344 kB / 209.8 MB, free: 2.375 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.3278, allocations: 26.73 kB / 209.9 MB, free: 2.371 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.3278, allocations: 6.125 kB / 209.9 MB, free: 2.367 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.294e-05/0.3278, allocations: 1.25 kB / 209.9 MB, free: 2.367 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.3279, allocations: 5.969 kB / 209.9 MB, free: 2.367 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 () * 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 7.324e-05/0.328, allocations: 110.8 kB / 210 MB, free: 2.258 MB / 170.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001559/0.3281, allocations: 79.19 kB / 210.1 MB, free: 2.211 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.367e-05/0.3282, allocations: 7.062 kB / 210.1 MB, free: 2.207 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.471e-05/0.3282, allocations: 11.47 kB / 210.1 MB, free: 2.199 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.3282, allocations: 1.625 kB / 210.1 MB, free: 2.199 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.3283, allocations: 0.875 kB / 210.1 MB, free: 2.199 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3283, allocations: 0 / 210.1 MB, free: 2.199 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006044/0.3289, allocations: 379.6 kB / 210.5 MB, free: 1.875 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.3289, allocations: 1.375 kB / 210.5 MB, free: 1.875 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001735/0.3291, allocations: 24.64 kB / 210.5 MB, free: 1.871 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.3291, allocations: 1.375 kB / 210.5 MB, free: 1.871 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.3291, allocations: 6.75 kB / 210.5 MB, free: 1.867 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.3291, allocations: 5.359 kB / 210.5 MB, free: 1.863 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.3292, allocations: 2.75 kB / 210.5 MB, free: 1.863 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/0.3294, allocations: 279.9 kB / 210.8 MB, free: 1.598 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.634e-05/0.3295, allocations: 85.31 kB / 210.9 MB, free: 1.5 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.3295, allocations: 2.75 kB / 210.9 MB, free: 1.5 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.3297, allocations: 3.016 kB / 210.9 MB, free: 1.5 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.488e-05/0.3297, allocations: 9.609 kB / 210.9 MB, free: 1.496 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.3297, allocations: 6.625 kB / 210.9 MB, free: 1.496 MB / 170.7 MB Notification: Performance of sorting global known variables: time 3.92e-05/0.3298, allocations: 89.91 kB / 211 MB, free: 1.414 MB / 170.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.3298, allocations: 0 / 211 MB, free: 1.414 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0003564/0.3301, allocations: 13.75 kB / 211 MB, free: 1.414 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 () * 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.0006313/0.3308, allocations: 1.155 MB / 212.1 MB, free: 16.29 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0001783/0.331, allocations: 46.89 kB / 212.2 MB, free: 16.29 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.331, allocations: 5.375 kB / 212.2 MB, free: 16.29 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 5.425e-05/0.3311, allocations: 28.3 kB / 212.2 MB, free: 16.28 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.3314, allocations: 8.172 kB / 212.2 MB, free: 16.28 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008346/0.3322, allocations: 322.5 kB / 212.5 MB, free: 15.98 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.3326, allocations: 0.6993 MB / 213.2 MB, free: 15.29 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.138e-05/0.3327, allocations: 20.95 kB / 213.3 MB, free: 15.28 MB / 186.7 MB Notification: Performance of SimCode: time 1.052e-06/0.3327, allocations: 0 / 213.3 MB, free: 15.28 MB / 186.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.775/3.108, allocations: 1.298 MB / 214.6 MB, free: 15.2 MB / 186.7 MB