Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.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.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_3_1_cpp_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.063/1.063, allocations: 111.1 MB / 126.7 MB, free: 6.148 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002813/0.0002814, allocations: 4 kB / 158.3 MB, free: 15.13 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05435/0.05468, allocations: 25.17 MB / 183.5 MB, free: 5.922 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002737/0.05748, allocations: 1.533 MB / 185 MB, free: 4.391 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.05869, allocations: 475.5 kB / 185.5 MB, free: 3.922 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.05884, allocations: 4 kB / 185.5 MB, free: 3.918 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 7.2e-05/0.05892, allocations: 27.78 kB / 185.5 MB, free: 3.891 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002117/0.05915, allocations: 55.86 kB / 185.6 MB, free: 3.836 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002034/0.05936, allocations: 47.83 kB / 185.6 MB, free: 3.789 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002967/0.05968, allocations: 139.7 kB / 185.8 MB, free: 3.652 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001755/0.05987, allocations: 50.48 kB / 185.8 MB, free: 3.605 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.06001, allocations: 59.78 kB / 185.9 MB, free: 3.547 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.06018, allocations: 71.64 kB / 186 MB, free: 3.477 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 3.513e-05/0.06023, allocations: 12 kB / 186 MB, free: 3.465 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.255e-05/0.06028, allocations: 8 kB / 186 MB, free: 3.457 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 4.383e-05/0.06034, allocations: 27.91 kB / 186 MB, free: 3.43 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 5.976e-05/0.06041, allocations: 57.58 kB / 186.1 MB, free: 3.367 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002462/0.06066, allocations: 155.5 kB / 186.2 MB, free: 3.215 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.06068, allocations: 4 kB / 186.2 MB, free: 3.211 MB / 154.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.06069, allocations: 0 / 186.2 MB, free: 3.211 MB / 154.7 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.06071, allocations: 0 / 186.2 MB, free: 3.211 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0008607/0.06158, allocations: 442.7 kB / 186.6 MB, free: 2.73 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.06164, allocations: 12.03 kB / 186.7 MB, free: 2.719 MB / 154.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.665e-05/0.06173, allocations: 50.55 kB / 186.7 MB, free: 2.66 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.433e-05/0.06179, allocations: 19.81 kB / 186.7 MB, free: 2.641 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/0.0621, allocations: 214.8 kB / 186.9 MB, free: 2.391 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.06214, allocations: 15.98 kB / 186.9 MB, free: 2.375 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.35e-05/0.0622, allocations: 23.95 kB / 187 MB, free: 2.352 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004684/0.06268, allocations: 153.2 kB / 187.1 MB, free: 2.195 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.06272, allocations: 11.84 kB / 187.1 MB, free: 2.184 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.658e-05/0.06275, allocations: 8 kB / 187.1 MB, free: 2.176 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.06277, allocations: 4 kB / 187.1 MB, free: 2.172 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003835/0.06317, allocations: 107.9 kB / 187.2 MB, free: 2.066 MB / 154.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.06451, allocations: 0.5966 MB / 187.8 MB, free: 1.41 MB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003744/0.06491, allocations: 114.6 kB / 188 MB, free: 1.289 MB / 154.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.06496, allocations: 7.938 kB / 188 MB, free: 1.281 MB / 154.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.065, allocations: 34.5 kB / 188 MB, free: 1.238 MB / 154.7 MB Notification: Performance of pre-optimization done (n=13): time 2.785e-06/0.06501, allocations: 0 / 188 MB, free: 1.238 MB / 154.7 MB Notification: Performance of matching and sorting (n=18): time 0.002295/0.06732, allocations: 0.8118 MB / 188.8 MB, free: 340 kB / 154.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.0674, allocations: 51.41 kB / 188.9 MB, free: 276 kB / 154.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/0.06762, allocations: 158.2 kB / 189 MB, free: 108 kB / 154.7 MB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.06766, allocations: 29.7 kB / 189 MB, free: 72 kB / 154.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.06781, allocations: 194.7 kB / 189.2 MB, free: 15.88 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.905e-05/0.06792, allocations: 63.09 kB / 189.3 MB, free: 15.82 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-05/0.06795, allocations: 4 kB / 189.3 MB, free: 15.81 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.06809, allocations: 322.8 kB / 189.6 MB, free: 15.49 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.06827, allocations: 40.17 kB / 189.7 MB, free: 15.45 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002047/0.06849, allocations: 75.72 kB / 189.7 MB, free: 15.36 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002128/0.06872, allocations: 56.08 kB / 189.8 MB, free: 15.31 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.06874, allocations: 4 kB / 189.8 MB, free: 15.3 MB / 170.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006513/0.0694, allocations: 202.2 kB / 190 MB, free: 15.1 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.06944, allocations: 7.984 kB / 190 MB, free: 15.09 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.06945, allocations: 4 kB / 190 MB, free: 15.09 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002608/0.06972, allocations: 40.91 kB / 190 MB, free: 15.04 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003126/0.07005, allocations: 35.97 kB / 190.1 MB, free: 15.01 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001786/0.07185, allocations: 1.441 MB / 191.5 MB, free: 13.43 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.07208, allocations: 12.03 kB / 191.5 MB, free: 13.42 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.07212, allocations: 8 kB / 191.5 MB, free: 13.41 MB / 170.7 MB Warning: Assuming fixed start value for the following 2 variables: mass.s:VARIABLE(start = 0.0 unit = "m" fixed = true ) "Absolute position of center of component (s = flange_a.s + L/2 = flange_b.s - L/2)" type: Real mass.v:VARIABLE(start = 0.0 unit = "m/s" fixed = true ) "absolute velocity of component" type: Real 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 (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002792/0.0724, allocations: 133.8 kB / 191.7 MB, free: 13.27 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.268e-05/0.07247, allocations: 19.88 kB / 191.7 MB, free: 13.25 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.776e-05/0.07255, allocations: 25.17 kB / 191.7 MB, free: 13.23 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.07256, allocations: 0 / 191.7 MB, free: 13.23 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.328e-05/0.07258, allocations: 7.953 kB / 191.7 MB, free: 13.22 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.0726, allocations: 0 / 191.7 MB, free: 13.22 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001338/0.07394, allocations: 0.5834 MB / 192.3 MB, free: 12.57 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.07397, allocations: 0 / 192.3 MB, free: 12.57 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003262/0.07431, allocations: 35.98 kB / 192.3 MB, free: 12.53 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002009/0.07452, allocations: 36.83 kB / 192.4 MB, free: 12.49 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.07456, allocations: 4.094 kB / 192.4 MB, free: 12.49 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001582/0.07615, allocations: 1.382 MB / 193.8 MB, free: 10.97 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.07619, allocations: 7.969 kB / 193.8 MB, free: 10.96 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008471/0.07705, allocations: 361.2 kB / 194.1 MB, free: 10.58 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.817e-05/0.07715, allocations: 97 kB / 194.2 MB, free: 10.47 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.094e-05/0.0772, allocations: 11.95 kB / 194.2 MB, free: 10.46 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.07738, allocations: 4 kB / 194.2 MB, free: 10.45 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.202e-05/0.07746, allocations: 19.92 kB / 194.2 MB, free: 10.43 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.07749, allocations: 8 kB / 194.3 MB, free: 10.43 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.000138/0.07764, allocations: 120.1 kB / 194.4 MB, free: 10.31 MB / 170.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.07765, allocations: 0 / 194.4 MB, free: 10.31 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0004245/0.07809, allocations: 48 kB / 194.4 MB, free: 10.26 MB / 170.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass.s,mass.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 (15): * Single equations (assignments): 14 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001203/0.0793, allocations: 0.8913 MB / 195.3 MB, free: 9.332 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0007879/0.08011, allocations: 254.4 kB / 195.6 MB, free: 9.07 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.08014, allocations: 8.188 kB / 195.6 MB, free: 9.062 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004232/0.08057, allocations: 186.6 kB / 195.7 MB, free: 8.867 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.08097, allocations: 22.39 kB / 195.8 MB, free: 8.848 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002944/0.08394, allocations: 1.277 MB / 197 MB, free: 7.492 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/0.08437, allocations: 0.7439 MB / 197.8 MB, free: 6.723 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.08452, allocations: 47.42 kB / 197.8 MB, free: 6.676 MB / 170.7 MB Notification: Performance of SimCode: time 1.443e-06/0.08453, allocations: 0 / 197.8 MB, free: 6.676 MB / 170.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.766/2.85, allocations: 3.612 MB / 201.4 MB, free: 3.059 MB / 170.7 MB