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.057/1.057, allocations: 111.2 MB / 124.2 MB, free: 11.17 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.327e-05/3.339e-05, allocations: 4 kB / 154.4 MB, free: 13.05 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1704, allocations: 25.15 MB / 179.5 MB, free: 0.8008 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.059/0.2294, allocations: 33.32 MB / 212.8 MB, free: 15.79 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000261/0.2298, allocations: 67.97 kB / 212.9 MB, free: 15.72 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005184/0.235, allocations: 1.307 MB / 214.2 MB, free: 14.41 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.235, allocations: 0 / 214.2 MB, free: 14.41 MB / 186.7 MB Notification: Performance of Transformations before backend: time 9.387e-06/0.235, allocations: 0 / 214.2 MB, free: 14.41 MB / 186.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.0004165/0.2355, allocations: 350.4 kB / 214.6 MB, free: 14.02 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.2355, allocations: 11.97 kB / 214.6 MB, free: 14.01 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.322e-05/0.2356, allocations: 38.52 kB / 214.6 MB, free: 13.96 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.044e-05/0.2356, allocations: 7.906 kB / 214.6 MB, free: 13.96 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/0.2358, allocations: 182.9 kB / 214.8 MB, free: 13.74 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.2358, allocations: 0 / 214.8 MB, free: 13.74 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.881e-05/0.2359, allocations: 8 kB / 214.8 MB, free: 13.73 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.2361, allocations: 70.38 kB / 214.9 MB, free: 13.66 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.2361, allocations: 4 kB / 214.9 MB, free: 13.65 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.2361, allocations: 4 kB / 214.9 MB, free: 13.65 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.2362, allocations: 7.891 kB / 214.9 MB, free: 13.64 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.2363, allocations: 32 kB / 214.9 MB, free: 13.61 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008169/0.2371, allocations: 375.6 kB / 215.3 MB, free: 13.18 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.2373, allocations: 58.5 kB / 215.3 MB, free: 13.12 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.425e-05/0.2373, allocations: 24.86 kB / 215.4 MB, free: 13.09 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.2374, allocations: 0 / 215.4 MB, free: 13.09 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.2374, allocations: 30.56 kB / 215.4 MB, free: 13.05 MB / 186.7 MB Notification: Performance of pre-optimization done (n=7): time 1.793e-06/0.2374, allocations: 0 / 215.4 MB, free: 13.05 MB / 186.7 MB Notification: Performance of matching and sorting (n=9): time 0.000915/0.2383, allocations: 0.4988 MB / 215.9 MB, free: 12.46 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.2384, allocations: 51.41 kB / 215.9 MB, free: 12.4 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.2385, allocations: 113.2 kB / 216.1 MB, free: 12.28 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.2385, allocations: 25.7 kB / 216.1 MB, free: 12.25 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.662e-05/0.2386, allocations: 162.4 kB / 216.2 MB, free: 12.09 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.88e-05/0.2387, allocations: 31.55 kB / 216.3 MB, free: 12.05 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.988e-06/0.2387, allocations: 8 kB / 216.3 MB, free: 12.05 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.2388, allocations: 314.8 kB / 216.6 MB, free: 11.73 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.158e-05/0.2389, allocations: 24 kB / 216.6 MB, free: 11.71 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.796e-05/0.239, allocations: 53.09 kB / 216.7 MB, free: 11.64 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.097e-05/0.2391, allocations: 31.94 kB / 216.7 MB, free: 11.61 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.2391, allocations: 0 / 216.7 MB, free: 11.61 MB / 186.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002367/0.2393, allocations: 113.4 kB / 216.8 MB, free: 11.49 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.2394, allocations: 4 kB / 216.8 MB, free: 11.48 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.2394, allocations: 4 kB / 216.8 MB, free: 11.48 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.2394, allocations: 0 / 216.8 MB, free: 11.48 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.2396, allocations: 27.92 kB / 216.8 MB, free: 11.45 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.2396, allocations: 0 / 216.8 MB, free: 11.45 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.704e-05/0.2397, allocations: 11.94 kB / 216.8 MB, free: 11.44 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.2397, allocations: 8 kB / 216.9 MB, free: 11.43 MB / 186.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 8.358e-05/0.2398, allocations: 115.8 kB / 217 MB, free: 11.32 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.346e-05/0.2399, allocations: 4 kB / 217 MB, free: 11.31 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.49e-05/0.2399, allocations: 16.61 kB / 217 MB, free: 11.3 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.2399, allocations: 0 / 217 MB, free: 11.3 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2399, allocations: 0 / 217 MB, free: 11.3 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.24, allocations: 0 / 217 MB, free: 11.3 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006823/0.2406, allocations: 418.5 kB / 217.4 MB, free: 10.82 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.2407, allocations: 0 / 217.4 MB, free: 10.82 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.2408, allocations: 16 kB / 217.4 MB, free: 10.8 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.13e-05/0.2409, allocations: 4 kB / 217.4 MB, free: 10.8 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.2409, allocations: 4.453 kB / 217.4 MB, free: 10.79 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.2409, allocations: 7.938 kB / 217.4 MB, free: 10.79 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.2409, allocations: 0 / 217.4 MB, free: 10.79 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003561/0.2413, allocations: 300.2 kB / 217.7 MB, free: 10.43 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.639e-05/0.2414, allocations: 93 kB / 217.8 MB, free: 10.32 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.2414, allocations: 0 / 217.8 MB, free: 10.32 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.2415, allocations: 4 kB / 217.8 MB, free: 10.32 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.468e-05/0.2415, allocations: 8 kB / 217.8 MB, free: 10.31 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.2416, allocations: 7.984 kB / 217.8 MB, free: 10.3 MB / 186.7 MB Notification: Performance of sorting global known variables: time 6.632e-05/0.2416, allocations: 87.28 kB / 217.9 MB, free: 10.21 MB / 186.7 MB Notification: Performance of sort global known variables: time 3.156e-06/0.2417, allocations: 64 / 217.9 MB, free: 10.21 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003459/0.242, allocations: 31.89 kB / 217.9 MB, free: 10.18 MB / 186.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.0007573/0.2428, allocations: 1.155 MB / 219.1 MB, free: 8.965 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.000193/0.243, allocations: 55.88 kB / 219.2 MB, free: 8.91 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.243, allocations: 4.25 kB / 219.2 MB, free: 8.906 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 7.128e-05/0.2431, allocations: 35.92 kB / 219.2 MB, free: 8.871 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.2434, allocations: 4.688 kB / 219.2 MB, free: 8.867 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008608/0.2443, allocations: 334.2 kB / 219.5 MB, free: 8.484 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.2446, allocations: 0.6965 MB / 220.2 MB, free: 7.762 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.237e-05/0.2447, allocations: 19.44 kB / 220.2 MB, free: 7.742 MB / 186.7 MB Notification: Performance of SimCode: time 9.32e-07/0.2447, allocations: 0 / 220.2 MB, free: 7.742 MB / 186.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.012/3.256, allocations: 1.354 MB / 221.6 MB, free: 6.387 MB / 186.7 MB