Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadModel(Modelica): time 0.9939/0.9939, allocations: 111.2 MB / 124.2 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 1.881e-05/1.896e-05, allocations: 0 / 154.3 MB, free: 13.16 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1367, allocations: 25.15 MB / 179.4 MB, free: 0.8008 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05482/0.1916, allocations: 34.71 MB / 214.1 MB, free: 14.41 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002065/0.1918, allocations: 59.97 kB / 214.2 MB, free: 14.36 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01401/0.2059, allocations: 3.434 MB / 217.6 MB, free: 10.91 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.695e-06/0.2059, allocations: 3.938 kB / 217.6 MB, free: 10.91 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.819e-05/0.2059, allocations: 4 kB / 217.6 MB, free: 10.9 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007059/0.2066, allocations: 462.5 kB / 218.1 MB, free: 10.41 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.2067, allocations: 12.03 kB / 218.1 MB, free: 10.39 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.749e-05/0.2068, allocations: 27.72 kB / 218.1 MB, free: 10.37 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003239/0.2071, allocations: 219.4 kB / 218.3 MB, free: 10.11 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.2072, allocations: 12.44 kB / 218.4 MB, free: 10.1 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.197e-05/0.2072, allocations: 27.98 kB / 218.4 MB, free: 10.07 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004359/0.2077, allocations: 201.8 kB / 218.6 MB, free: 9.863 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.2077, allocations: 0 / 218.6 MB, free: 9.863 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.183e-05/0.2077, allocations: 11.95 kB / 218.6 MB, free: 9.852 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.2078, allocations: 4 kB / 218.6 MB, free: 9.848 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002922/0.2081, allocations: 109.7 kB / 218.7 MB, free: 9.738 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001289/0.2094, allocations: 0.6937 MB / 219.4 MB, free: 8.988 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002983/0.2097, allocations: 131.6 kB / 219.5 MB, free: 8.852 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.2099, allocations: 60.86 kB / 219.6 MB, free: 8.789 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.2099, allocations: 0 / 219.6 MB, free: 8.789 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.2099, allocations: 38.56 kB / 219.6 MB, free: 8.742 MB / 186.7 MB Notification: Performance of pre-optimization done (n=19): time 4.25e-06/0.21, allocations: 3.984 kB / 219.6 MB, free: 8.738 MB / 186.7 MB Notification: Performance of matching and sorting (n=23): time 0.001785/0.2117, allocations: 0.8007 MB / 220.4 MB, free: 7.852 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/0.2118, allocations: 55.41 kB / 220.5 MB, free: 7.785 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.212, allocations: 153.8 kB / 220.6 MB, free: 7.625 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 3.05e-05/0.2121, allocations: 29.7 kB / 220.7 MB, free: 7.59 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.2122, allocations: 206.8 kB / 220.9 MB, free: 7.383 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.885e-05/0.2123, allocations: 82.75 kB / 220.9 MB, free: 7.301 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.547e-05/0.2124, allocations: 8 kB / 220.9 MB, free: 7.293 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.2125, allocations: 318.8 kB / 221.3 MB, free: 6.973 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.2127, allocations: 48 kB / 221.3 MB, free: 6.926 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.2129, allocations: 89.28 kB / 221.4 MB, free: 6.824 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.213, allocations: 59.98 kB / 221.4 MB, free: 6.766 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.213, allocations: 3.938 kB / 221.5 MB, free: 6.762 MB / 186.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005439/0.2136, allocations: 222.1 kB / 221.7 MB, free: 6.535 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.2136, allocations: 4 kB / 221.7 MB, free: 6.531 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.538e-06/0.2137, allocations: 3.938 kB / 221.7 MB, free: 6.527 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001899/0.2139, allocations: 40.97 kB / 221.7 MB, free: 6.484 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002891/0.2142, allocations: 47.91 kB / 221.8 MB, free: 6.438 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001608/0.2158, allocations: 1.378 MB / 223.1 MB, free: 4.926 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.216, allocations: 16.02 kB / 223.2 MB, free: 4.91 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.216, allocations: 8 kB / 223.2 MB, free: 4.902 MB / 186.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * 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 prepare postOptimizeDAE: time 0.0001213/0.2161, allocations: 120.9 kB / 223.3 MB, free: 4.777 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.175e-05/0.2162, allocations: 15.81 kB / 223.3 MB, free: 4.762 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.743e-05/0.2163, allocations: 21.66 kB / 223.3 MB, free: 4.738 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.45e-06/0.2163, allocations: 4.062 kB / 223.3 MB, free: 4.734 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.021e-06/0.2163, allocations: 4 kB / 223.3 MB, free: 4.73 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.925e-06/0.2163, allocations: 4.125 kB / 223.3 MB, free: 4.727 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/0.2175, allocations: 0.6351 MB / 224 MB, free: 4.023 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.2175, allocations: 0 / 224 MB, free: 4.023 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000309/0.2179, allocations: 43.91 kB / 224 MB, free: 3.98 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001587/0.218, allocations: 36.84 kB / 224 MB, free: 3.941 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.2181, allocations: 4 kB / 224.1 MB, free: 3.938 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001541/0.2196, allocations: 1.374 MB / 225.4 MB, free: 2.43 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.951e-06/0.2197, allocations: 0 / 225.4 MB, free: 2.43 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000719/0.2204, allocations: 397.5 kB / 225.8 MB, free: 2.004 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.2205, allocations: 104.9 kB / 225.9 MB, free: 1.883 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.788e-05/0.2206, allocations: 8 kB / 225.9 MB, free: 1.875 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.2208, allocations: 11.95 kB / 225.9 MB, free: 1.863 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.686e-05/0.2208, allocations: 15.97 kB / 226 MB, free: 1.848 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/0.2209, allocations: 12 kB / 226 MB, free: 1.836 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001407/0.221, allocations: 124.3 kB / 226.1 MB, free: 1.715 MB / 186.7 MB Notification: Performance of sort global known variables: time 3.443e-06/0.221, allocations: 0 / 226.1 MB, free: 1.715 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004521/0.2215, allocations: 59.94 kB / 226.1 MB, free: 1.656 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * 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.0001494/0.2217, allocations: 103.2 kB / 226.2 MB, free: 1.547 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0006176/0.2223, allocations: 274.4 kB / 226.5 MB, free: 1.266 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.991e-06/0.2223, allocations: 0 / 226.5 MB, free: 1.266 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003857/0.2227, allocations: 206.5 kB / 226.7 MB, free: 1.051 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.2231, allocations: 33.83 kB / 226.7 MB, free: 1.02 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.2243, allocations: 0.5566 MB / 227.3 MB, free: 440 kB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004735/0.2248, allocations: 0.7522 MB / 228.1 MB, free: 15.65 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.56e-05/0.2249, allocations: 19.44 kB / 228.1 MB, free: 15.63 MB / 202.7 MB Notification: Performance of SimCode: time 1.571e-06/0.2249, allocations: 0 / 228.1 MB, free: 15.63 MB / 202.7 MB Notification: Performance of Templates: time 0.006334/0.2312, allocations: 3.195 MB / 231.3 MB, free: 12.43 MB / 202.7 MB