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.InitialConditions.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.InitialConditions,fileNamePrefix="Modelica_3_1_cpp_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.051/1.051, allocations: 111.1 MB / 126.7 MB, free: 6.137 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002642/0.0002641, allocations: 4 kB / 158.4 MB, free: 15.09 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05783/0.05813, allocations: 25.17 MB / 183.6 MB, free: 5.883 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2287/0.2869, allocations: 33.7 MB / 217.3 MB, free: 6.801 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/0.2872, allocations: 56.09 kB / 217.4 MB, free: 6.793 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01616/0.3034, allocations: 4.241 MB / 221.6 MB, free: 5.141 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.3034, allocations: 0 / 221.6 MB, free: 5.141 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.3035, allocations: 3.844 kB / 221.6 MB, free: 5.141 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: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.0008356/0.3043, allocations: 0.5064 MB / 222.1 MB, free: 4.688 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.3044, allocations: 7.812 kB / 222.1 MB, free: 4.688 MB / 170.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.988e-05/0.3045, allocations: 56.14 kB / 222.2 MB, free: 4.645 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.717e-05/0.3045, allocations: 30.66 kB / 222.2 MB, free: 4.629 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.3047, allocations: 200.6 kB / 222.4 MB, free: 4.406 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.3047, allocations: 17.84 kB / 222.4 MB, free: 4.406 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.195e-05/0.3048, allocations: 25.47 kB / 222.4 MB, free: 4.406 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004884/0.3053, allocations: 238.2 kB / 222.7 MB, free: 4.305 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.569e-05/0.3053, allocations: 7.75 kB / 222.7 MB, free: 4.301 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.158e-05/0.3054, allocations: 10.12 kB / 222.7 MB, free: 4.301 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.3054, allocations: 7.562 kB / 222.7 MB, free: 4.301 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003723/0.3058, allocations: 151.4 kB / 222.8 MB, free: 4.273 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/0.307, allocations: 0.7147 MB / 223.6 MB, free: 3.781 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004973/0.3075, allocations: 236.2 kB / 223.8 MB, free: 3.703 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.3076, allocations: 3.688 kB / 223.8 MB, free: 3.703 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.3076, allocations: 46.58 kB / 223.8 MB, free: 3.656 MB / 170.7 MB Notification: Performance of pre-optimization done (n=30): time 3.276e-06/0.3076, allocations: 4 kB / 223.8 MB, free: 3.652 MB / 170.7 MB Notification: Performance of matching and sorting (n=42): time 0.003518/0.3111, allocations: 1.615 MB / 225.5 MB, free: 2.629 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.3112, allocations: 88.88 kB / 225.5 MB, free: 2.527 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.3114, allocations: 154.4 kB / 225.7 MB, free: 2.422 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.3115, allocations: 29.2 kB / 225.7 MB, free: 2.391 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.984e-05/0.3115, allocations: 200.8 kB / 225.9 MB, free: 2.219 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.3117, allocations: 156.5 kB / 226.1 MB, free: 2.105 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.147e-05/0.3117, allocations: 7.125 kB / 226.1 MB, free: 2.105 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 6.789e-05/0.3118, allocations: 322.1 kB / 226.4 MB, free: 1.789 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/0.312, allocations: 97.33 kB / 226.5 MB, free: 1.777 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002467/0.3123, allocations: 138.8 kB / 226.6 MB, free: 1.727 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002725/0.3126, allocations: 109 kB / 226.7 MB, free: 1.727 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.3126, allocations: 4 kB / 226.7 MB, free: 1.723 MB / 170.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006588/0.3132, allocations: 323.3 kB / 227 MB, free: 1.648 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.3133, allocations: 8.312 kB / 227.1 MB, free: 1.648 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.3133, allocations: 0 / 227.1 MB, free: 1.648 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-05/0.3133, allocations: 3.844 kB / 227.1 MB, free: 1.648 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006233/0.314, allocations: 91.08 kB / 227.2 MB, free: 1.633 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/0.314, allocations: 7.609 kB / 227.2 MB, free: 1.629 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002116/0.3142, allocations: 10.19 kB / 227.2 MB, free: 1.629 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-05/0.3142, allocations: 14.88 kB / 227.2 MB, free: 1.629 MB / 170.7 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 (52): * Single equations (assignments): 52 * 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.0001835/0.3144, allocations: 151.1 kB / 227.3 MB, free: 1.504 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.655e-05/0.3145, allocations: 26.75 kB / 227.4 MB, free: 1.492 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.783e-05/0.3146, allocations: 36.55 kB / 227.4 MB, free: 1.477 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/0.3147, allocations: 3.719 kB / 227.4 MB, free: 1.477 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.455e-06/0.3147, allocations: 0 / 227.4 MB, free: 1.477 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.3147, allocations: 3.953 kB / 227.4 MB, free: 1.473 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001538/0.3162, allocations: 0.8985 MB / 228.3 MB, free: 0.9453 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.3163, allocations: 3.75 kB / 228.3 MB, free: 0.9453 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007039/0.317, allocations: 92.34 kB / 228.4 MB, free: 0.9258 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.317, allocations: 11.88 kB / 228.4 MB, free: 0.918 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.748e-05/0.317, allocations: 3.688 kB / 228.4 MB, free: 0.918 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/0.317, allocations: 7.875 kB / 228.4 MB, free: 0.9141 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3171, allocations: 0 / 228.4 MB, free: 0.9141 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008348/0.3179, allocations: 0.63 MB / 229 MB, free: 0.5742 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.536e-05/0.318, allocations: 96.2 kB / 229.1 MB, free: 480 kB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.381e-05/0.318, allocations: 11.83 kB / 229.1 MB, free: 476 kB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002459/0.3183, allocations: 6.812 kB / 229.2 MB, free: 476 kB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.086e-05/0.3184, allocations: 27.3 kB / 229.2 MB, free: 464 kB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.287e-05/0.3184, allocations: 11.66 kB / 229.2 MB, free: 464 kB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0001022/0.3185, allocations: 131.1 kB / 229.3 MB, free: 372 kB / 170.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3185, allocations: 0 / 229.3 MB, free: 372 kB / 170.7 MB Notification: Performance of remove unused functions: time 0.0004798/0.319, allocations: 72.34 kB / 229.4 MB, free: 372 kB / 170.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (sd2.s_rel,sd2.v_rel,m4.s,m4.v,m1.s,m1.v,sd1.s_rel,sd1.v_rel) * 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 (42): * Single equations (assignments): 42 * 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.001323/0.3203, allocations: 1.388 MB / 230.8 MB, free: 15.3 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0005612/0.3209, allocations: 253.1 kB / 231 MB, free: 15.26 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.3209, allocations: 0 / 231 MB, free: 15.26 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002583/0.3212, allocations: 141.5 kB / 231.2 MB, free: 15.24 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006572/0.3219, allocations: 66.59 kB / 231.2 MB, free: 15.21 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004365/0.3262, allocations: 2.537 MB / 233.8 MB, free: 13.32 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004633/0.3268, allocations: 0.776 MB / 234.5 MB, free: 12.52 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002169/0.327, allocations: 89.09 kB / 234.6 MB, free: 12.49 MB / 186.7 MB Notification: Performance of SimCode: time 1.222e-06/0.327, allocations: 0 / 234.6 MB, free: 12.49 MB / 186.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.745/3.072, allocations: 4.5 MB / 239.1 MB, free: 8.043 MB / 186.7 MB