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.032/1.032, allocations: 111.1 MB / 126.7 MB, free: 6.141 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003544/0.0003545, allocations: 8 kB / 158.3 MB, free: 15.14 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05463/0.05503, allocations: 25.17 MB / 183.5 MB, free: 5.922 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002066/0.05715, allocations: 1.163 MB / 184.7 MB, free: 4.758 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002636/0.05746, allocations: 72.72 kB / 184.7 MB, free: 4.688 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.93e-05/0.05754, allocations: 4 kB / 184.7 MB, free: 4.684 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 3.071e-05/0.05759, allocations: 3.938 kB / 184.8 MB, free: 4.68 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001106/0.05771, allocations: 23.95 kB / 184.8 MB, free: 4.656 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001216/0.05784, allocations: 11.97 kB / 184.8 MB, free: 4.645 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.058, allocations: 47.88 kB / 184.8 MB, free: 4.598 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.05812, allocations: 16.28 kB / 184.8 MB, free: 4.582 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.315e-05/0.05818, allocations: 19.92 kB / 184.9 MB, free: 4.562 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.796e-05/0.05826, allocations: 19.92 kB / 184.9 MB, free: 4.543 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.05829, allocations: 4 kB / 184.9 MB, free: 4.539 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.985e-05/0.05832, allocations: 0 / 184.9 MB, free: 4.539 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 2.002e-05/0.05835, allocations: 15.92 kB / 184.9 MB, free: 4.523 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 3.589e-05/0.0584, allocations: 33.7 kB / 184.9 MB, free: 4.484 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.05851, allocations: 47.78 kB / 185 MB, free: 4.438 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.05853, allocations: 0 / 185 MB, free: 4.438 MB / 154.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.05854, allocations: 0 / 185 MB, free: 4.438 MB / 154.7 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.05855, allocations: 0 / 185 MB, free: 4.438 MB / 154.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.0005007/0.05906, allocations: 355.2 kB / 185.3 MB, free: 4.043 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.05912, allocations: 11.97 kB / 185.3 MB, free: 4.031 MB / 154.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.18e-05/0.05918, allocations: 38.56 kB / 185.4 MB, free: 3.984 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.381e-05/0.05922, allocations: 7.906 kB / 185.4 MB, free: 3.977 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.05943, allocations: 175 kB / 185.6 MB, free: 3.766 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.05946, allocations: 4 kB / 185.6 MB, free: 3.762 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.399e-05/0.0595, allocations: 8 kB / 185.6 MB, free: 3.754 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.0597, allocations: 69.61 kB / 185.6 MB, free: 3.68 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.05974, allocations: 11.95 kB / 185.7 MB, free: 3.668 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.05976, allocations: 7.938 kB / 185.7 MB, free: 3.66 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.05978, allocations: 0 / 185.7 MB, free: 3.66 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.05991, allocations: 35.97 kB / 185.7 MB, free: 3.625 MB / 154.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008418/0.06076, allocations: 383.5 kB / 186.1 MB, free: 3.195 MB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.06096, allocations: 58.56 kB / 186.1 MB, free: 3.129 MB / 154.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.06099, allocations: 0 / 186.1 MB, free: 3.129 MB / 154.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.06103, allocations: 34.56 kB / 186.2 MB, free: 3.086 MB / 154.7 MB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.06104, allocations: 0 / 186.2 MB, free: 3.086 MB / 154.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009955/0.06204, allocations: 0.5135 MB / 186.7 MB, free: 2.48 MB / 154.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.0621, allocations: 55.41 kB / 186.7 MB, free: 2.414 MB / 154.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.06224, allocations: 122 kB / 186.8 MB, free: 2.281 MB / 154.7 MB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.06227, allocations: 25.7 kB / 186.9 MB, free: 2.25 MB / 154.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.572e-05/0.06237, allocations: 158.5 kB / 187 MB, free: 2.094 MB / 154.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.101e-05/0.06242, allocations: 39.39 kB / 187.1 MB, free: 2.055 MB / 154.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-06/0.06244, allocations: 0 / 187.1 MB, free: 2.055 MB / 154.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.06259, allocations: 326.8 kB / 187.4 MB, free: 1.727 MB / 154.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.577e-05/0.06265, allocations: 12 kB / 187.4 MB, free: 1.715 MB / 154.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.06277, allocations: 61.14 kB / 187.5 MB, free: 1.637 MB / 154.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.846e-05/0.06287, allocations: 31.98 kB / 187.5 MB, free: 1.605 MB / 154.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.06288, allocations: 0 / 187.5 MB, free: 1.605 MB / 154.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002503/0.06314, allocations: 109.5 kB / 187.6 MB, free: 1.492 MB / 154.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.06317, allocations: 8.094 kB / 187.6 MB, free: 1.484 MB / 154.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.06319, allocations: 0 / 187.6 MB, free: 1.484 MB / 154.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.06322, allocations: 4.469 kB / 187.6 MB, free: 1.48 MB / 154.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.06339, allocations: 27.92 kB / 187.6 MB, free: 1.453 MB / 154.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.06341, allocations: 0 / 187.6 MB, free: 1.453 MB / 154.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.408e-05/0.06349, allocations: 8 kB / 187.6 MB, free: 1.445 MB / 154.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.06352, allocations: 7.938 kB / 187.7 MB, free: 1.438 MB / 154.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 0.0001133/0.06364, allocations: 125.7 kB / 187.8 MB, free: 1.305 MB / 154.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.697e-05/0.06369, allocations: 7.906 kB / 187.8 MB, free: 1.297 MB / 154.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.917e-05/0.06374, allocations: 12.38 kB / 187.8 MB, free: 1.285 MB / 154.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.06375, allocations: 0 / 187.8 MB, free: 1.285 MB / 154.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.06376, allocations: 0 / 187.8 MB, free: 1.285 MB / 154.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.06378, allocations: 4 kB / 187.8 MB, free: 1.281 MB / 154.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007016/0.06449, allocations: 410.7 kB / 188.2 MB, free: 0.8086 MB / 154.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.06451, allocations: 4 kB / 188.2 MB, free: 0.8047 MB / 154.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001697/0.06469, allocations: 19.92 kB / 188.2 MB, free: 0.7852 MB / 154.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.06471, allocations: 4 kB / 188.2 MB, free: 0.7812 MB / 154.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.06473, allocations: 4 kB / 188.2 MB, free: 0.7773 MB / 154.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.06474, allocations: 0 / 188.2 MB, free: 0.7773 MB / 154.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.06476, allocations: 4 kB / 188.2 MB, free: 0.7734 MB / 154.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003351/0.0651, allocations: 231.7 kB / 188.5 MB, free: 0.5156 MB / 154.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.463e-05/0.06517, allocations: 81.14 kB / 188.5 MB, free: 428 kB / 154.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/0.06521, allocations: 7.984 kB / 188.5 MB, free: 420 kB / 154.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.06532, allocations: 4 kB / 188.6 MB, free: 416 kB / 154.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.695e-05/0.06536, allocations: 11.95 kB / 188.6 MB, free: 404 kB / 154.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.06538, allocations: 8 kB / 188.6 MB, free: 396 kB / 154.7 MB Notification: Performance of sorting global known variables: time 6.809e-05/0.06546, allocations: 91.27 kB / 188.7 MB, free: 304 kB / 154.7 MB Notification: Performance of sort global known variables: time 4e-07/0.06547, allocations: 0 / 188.7 MB, free: 304 kB / 154.7 MB Notification: Performance of remove unused functions: time 0.0003284/0.06581, allocations: 20 kB / 188.7 MB, free: 284 kB / 154.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.0006222/0.06644, allocations: 0.756 MB / 189.4 MB, free: 15.48 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0001958/0.06665, allocations: 68.25 kB / 189.5 MB, free: 15.41 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.06667, allocations: 0 / 189.5 MB, free: 15.41 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 6.705e-05/0.06675, allocations: 28.19 kB / 189.5 MB, free: 15.39 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.06707, allocations: 15.94 kB / 189.5 MB, free: 15.37 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.0686, allocations: 0.7853 MB / 190.3 MB, free: 14.5 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.06895, allocations: 0.6965 MB / 191 MB, free: 13.77 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.578e-05/0.06903, allocations: 23.44 kB / 191 MB, free: 13.75 MB / 170.7 MB Notification: Performance of SimCode: time 9.02e-07/0.06904, allocations: 0 / 191 MB, free: 13.75 MB / 170.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.605/2.674, allocations: 1.363 MB / 192.4 MB, free: 12.39 MB / 170.7 MB