Running command: translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Mechanics.Rotational.Examples.First") Notification: Performance of loadModel(Modelica): time 1.898/1.898, allocations: 194.9 MB / 208.4 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.779e-05/2.812e-05, allocations: 4 kB / 255.3 MB, free: 3.191 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08082/0.08087, allocations: 44.49 MB / 299.8 MB, free: 6.633 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3355/0.4164, allocations: 73.05 MB / 372.9 MB, free: 22.55 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/0.4167, allocations: 67.39 kB / 372.9 MB, free: 22.55 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01475/0.4314, allocations: 3.781 MB / 376.7 MB, free: 21.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.086e-06/0.4315, allocations: 4 kB / 376.7 MB, free: 21.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.977e-05/0.4315, allocations: 4.156 kB / 376.7 MB, free: 21.98 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0005992/0.4321, allocations: 466.9 kB / 377.2 MB, free: 21.59 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.4322, allocations: 9.594 kB / 377.2 MB, free: 21.59 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.72e-05/0.4322, allocations: 24.5 kB / 377.2 MB, free: 21.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002768/0.4325, allocations: 234.7 kB / 377.5 MB, free: 21.35 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.4326, allocations: 19.72 kB / 377.5 MB, free: 21.35 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.441e-05/0.4326, allocations: 25.72 kB / 377.5 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003956/0.4331, allocations: 178.9 kB / 377.7 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.4331, allocations: 9.188 kB / 377.7 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.563e-05/0.4331, allocations: 5.25 kB / 377.7 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.4331, allocations: 5.812 kB / 377.7 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003185/0.4335, allocations: 124.6 kB / 377.8 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/0.4346, allocations: 0.6274 MB / 378.4 MB, free: 20.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003686/0.435, allocations: 171.3 kB / 378.6 MB, free: 20.95 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001938/0.4352, allocations: 98.92 kB / 378.7 MB, free: 20.94 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.4353, allocations: 2.281 kB / 378.7 MB, free: 20.94 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.715e-05/0.4353, allocations: 33.62 kB / 378.7 MB, free: 20.9 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 3.351e-06/0.4353, allocations: 1.203 kB / 378.7 MB, free: 20.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.00206/0.4374, allocations: 0.9902 MB / 379.7 MB, free: 20.37 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.4374, allocations: 57.7 kB / 379.8 MB, free: 20.3 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.4376, allocations: 158.8 kB / 379.9 MB, free: 20.21 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.4377, allocations: 30.55 kB / 380 MB, free: 20.18 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.537e-05/0.4377, allocations: 202.2 kB / 380.2 MB, free: 20.01 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.877e-05/0.4378, allocations: 113.4 kB / 380.3 MB, free: 19.93 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.521e-05/0.4379, allocations: 9.031 kB / 380.3 MB, free: 19.93 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.891e-05/0.4379, allocations: 326.1 kB / 380.6 MB, free: 19.62 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.4381, allocations: 63.19 kB / 380.7 MB, free: 19.62 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/0.4383, allocations: 94.84 kB / 380.8 MB, free: 19.59 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/0.4385, allocations: 73.84 kB / 380.8 MB, free: 19.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.447e-06/0.4385, allocations: 0 / 380.8 MB, free: 19.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006188/0.4392, allocations: 279.3 kB / 381.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.4392, allocations: 5.703 kB / 381.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.54e-06/0.4392, allocations: 0.7812 kB / 381.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002257/0.4394, allocations: 40.89 kB / 381.2 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003488/0.4398, allocations: 60.61 kB / 381.2 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001558/0.4414, allocations: 1.561 MB / 382.8 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002346/0.4417, allocations: 13.5 kB / 382.8 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/0.4417, allocations: 11.19 kB / 382.8 MB, free: 18.16 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.378e-05/0.4418, allocations: 122.7 kB / 382.9 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.834e-05/0.4419, allocations: 22.34 kB / 382.9 MB, free: 18.03 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.963e-05/0.442, allocations: 32.09 kB / 383 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.369e-06/0.442, allocations: 3.312 kB / 383 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.174e-06/0.442, allocations: 1.281 kB / 383 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.43e-06/0.442, allocations: 1.828 kB / 383 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001417/0.4434, allocations: 0.7788 MB / 383.8 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.4435, allocations: 5.312 kB / 383.8 MB, free: 17.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003937/0.4439, allocations: 61.88 kB / 383.8 MB, free: 17.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001736/0.4441, allocations: 31.48 kB / 383.9 MB, free: 17.6 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.817e-05/0.4441, allocations: 12.05 kB / 383.9 MB, free: 17.6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001127/0.4453, allocations: 1.372 MB / 385.2 MB, free: 16.33 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.162e-06/0.4453, allocations: 1.594 kB / 385.2 MB, free: 16.33 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008114/0.4461, allocations: 499.2 kB / 385.7 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.716e-05/0.4462, allocations: 100.6 kB / 385.8 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.498e-05/0.4463, allocations: 8.703 kB / 385.8 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.4465, allocations: 7.938 kB / 385.8 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.929e-05/0.4466, allocations: 26.75 kB / 385.9 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/0.4466, allocations: 11.38 kB / 385.9 MB, free: 15.98 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000133/0.4468, allocations: 132.5 kB / 386 MB, free: 15.9 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.36e-07/0.4468, allocations: 0 / 386 MB, free: 15.9 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005653/0.4474, allocations: 71.94 kB / 386.1 MB, free: 15.89 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (29): * Single equations (assignments): 28 * 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.000144/0.4475, allocations: 102 kB / 386.2 MB, free: 15.81 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007136/0.4483, allocations: 329.5 kB / 386.5 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.722e-06/0.4483, allocations: 0 / 386.5 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004038/0.4487, allocations: 233.6 kB / 386.7 MB, free: 15.56 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004358/0.4492, allocations: 45.67 kB / 386.8 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.4505, allocations: 0.6315 MB / 387.4 MB, free: 15.14 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007857/0.4513, allocations: 0.7603 MB / 388.2 MB, free: 30.44 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.4514, allocations: 25.28 kB / 388.2 MB, free: 30.43 MB / 330.7 MB Notification: Performance of SimCode: time 2.029e-06/0.4514, allocations: 0 / 388.2 MB, free: 30.43 MB / 330.7 MB Notification: Performance of Templates: time 0.007478/0.4589, allocations: 3.679 MB / 391.9 MB, free: 30.21 MB / 330.7 MB