Running command: translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadModel(ModelicaTest): time 2.092/2.092, allocations: 209.3 MB / 223.8 MB, free: 0.7734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.592e-05/3.591e-05, allocations: 11.28 kB / 276.2 MB, free: 15.26 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3662, allocations: 48.7 MB / 324.9 MB, free: 3.383 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004957/0.3713, allocations: 2.048 MB / 326.9 MB, free: 2.383 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.3729, allocations: 0.5693 MB / 327.5 MB, free: 2.074 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000176/0.3731, allocations: 5.875 kB / 327.5 MB, free: 2.074 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.963e-05/0.3732, allocations: 29.81 kB / 327.5 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000296/0.3735, allocations: 96.55 kB / 327.6 MB, free: 1.984 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002564/0.3737, allocations: 64.11 kB / 327.7 MB, free: 1.949 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003608/0.3741, allocations: 181.2 kB / 327.9 MB, free: 1.844 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.3743, allocations: 46.52 kB / 327.9 MB, free: 1.824 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002199/0.3745, allocations: 102.3 kB / 328 MB, free: 1.781 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002272/0.3748, allocations: 102.1 kB / 328.1 MB, free: 1.742 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.989e-05/0.3748, allocations: 10.19 kB / 328.1 MB, free: 1.742 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.93e-05/0.3749, allocations: 9.875 kB / 328.1 MB, free: 1.742 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.327e-05/0.375, allocations: 36.83 kB / 328.2 MB, free: 1.723 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.293e-05/0.3751, allocations: 26.09 kB / 328.2 MB, free: 1.723 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003742/0.3755, allocations: 218.9 kB / 328.4 MB, free: 1.664 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3755, allocations: 0 / 328.4 MB, free: 1.664 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.3755, allocations: 1.25 kB / 328.4 MB, free: 1.664 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.434e-05/0.3755, allocations: 0 / 328.4 MB, free: 1.664 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001046/0.3766, allocations: 0.5189 MB / 328.9 MB, free: 1.223 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.3766, allocations: 12.81 kB / 328.9 MB, free: 1.219 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.921e-05/0.3767, allocations: 33.06 kB / 329 MB, free: 1.203 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003694/0.3771, allocations: 259.3 kB / 329.2 MB, free: 0.957 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.878e-05/0.3772, allocations: 18.08 kB / 329.2 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.935e-05/0.3772, allocations: 26.02 kB / 329.3 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007463/0.378, allocations: 281.7 kB / 329.5 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.136e-05/0.378, allocations: 11.31 kB / 329.5 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.432e-05/0.3781, allocations: 11.64 kB / 329.6 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.3781, allocations: 5.562 kB / 329.6 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007728/0.3789, allocations: 208.9 kB / 329.8 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002383/0.3813, allocations: 1.324 MB / 331.1 MB, free: 15.62 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006838/0.382, allocations: 250.2 kB / 331.3 MB, free: 15.47 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.113e-05/0.3821, allocations: 14.7 kB / 331.3 MB, free: 15.46 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.3821, allocations: 33.92 kB / 331.4 MB, free: 15.42 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 5.701e-06/0.3821, allocations: 0 / 331.4 MB, free: 15.42 MB / 282.7 MB Notification: Performance of matching and sorting (n=32): time 0.004428/0.3866, allocations: 1.63 MB / 333 MB, free: 14.11 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.3867, allocations: 137 kB / 333.1 MB, free: 13.95 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004193/0.3872, allocations: 205.1 kB / 333.3 MB, free: 13.82 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.912e-05/0.3872, allocations: 31.08 kB / 333.4 MB, free: 13.78 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.3874, allocations: 173.1 kB / 333.5 MB, free: 13.63 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/0.3876, allocations: 119.8 kB / 333.7 MB, free: 13.54 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.334e-05/0.3876, allocations: 5.406 kB / 333.7 MB, free: 13.53 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.3878, allocations: 341.9 kB / 334 MB, free: 13.2 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004892/0.3883, allocations: 108.2 kB / 334.1 MB, free: 13.18 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000599/0.3889, allocations: 252.4 kB / 334.3 MB, free: 12.97 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005591/0.3895, allocations: 151 kB / 334.5 MB, free: 12.92 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.3895, allocations: 1.531 kB / 334.5 MB, free: 12.92 MB / 282.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00141/0.3909, allocations: 409.3 kB / 334.9 MB, free: 12.77 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/0.391, allocations: 11.3 kB / 334.9 MB, free: 12.76 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.391, allocations: 8.781 kB / 334.9 MB, free: 12.76 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.211e-05/0.3911, allocations: 6.719 kB / 334.9 MB, free: 12.76 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007476/0.3918, allocations: 108 kB / 335 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.039e-05/0.3919, allocations: 15.42 kB / 335 MB, free: 12.74 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004126/0.3923, allocations: 36.36 kB / 335.1 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.591e-05/0.3923, allocations: 18.95 kB / 335.1 MB, free: 12.73 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * 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.0002328/0.3926, allocations: 152.2 kB / 335.2 MB, free: 12.58 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/0.3927, allocations: 29.12 kB / 335.3 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.3929, allocations: 35.58 kB / 335.3 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.926e-06/0.3929, allocations: 5.359 kB / 335.3 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.3929, allocations: 1.344 kB / 335.3 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.3929, allocations: 2.938 kB / 335.3 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002444/0.3954, allocations: 1.009 MB / 336.3 MB, free: 11.83 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.3954, allocations: 2.156 kB / 336.3 MB, free: 11.83 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007244/0.3961, allocations: 85.12 kB / 336.4 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.908e-06/0.3962, allocations: 2.969 kB / 336.4 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.546e-05/0.3962, allocations: 8.172 kB / 336.4 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.197e-05/0.3962, allocations: 11.44 kB / 336.4 MB, free: 11.81 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.3962, allocations: 7.719 kB / 336.4 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001766/0.398, allocations: 0.8165 MB / 337.3 MB, free: 11.22 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001892/0.3982, allocations: 115.2 kB / 337.4 MB, free: 11.11 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.19e-05/0.3983, allocations: 8.312 kB / 337.4 MB, free: 11.1 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004812/0.3988, allocations: 24.98 kB / 337.4 MB, free: 11.1 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.3989, allocations: 27.48 kB / 337.4 MB, free: 11.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.383e-05/0.399, allocations: 13.56 kB / 337.4 MB, free: 11.09 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.00022/0.3992, allocations: 160.5 kB / 337.6 MB, free: 10.98 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3992, allocations: 1.125 kB / 337.6 MB, free: 10.98 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006947/0.3999, allocations: 67.94 kB / 337.7 MB, free: 10.97 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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.0001683/0.4001, allocations: 105 kB / 337.8 MB, free: 10.88 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001143/0.4013, allocations: 299.7 kB / 338.1 MB, free: 10.8 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.4013, allocations: 0 / 338.1 MB, free: 10.8 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005288/0.4018, allocations: 148.1 kB / 338.2 MB, free: 10.76 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006139/0.4025, allocations: 39.52 kB / 338.2 MB, free: 10.73 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002344/0.4048, allocations: 1.059 MB / 339.3 MB, free: 9.988 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005093/0.4054, allocations: 0.7772 MB / 340.1 MB, free: 9.285 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000309/0.4057, allocations: 34.7 kB / 340.1 MB, free: 9.273 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.4058, allocations: 26.3 kB / 340.1 MB, free: 9.266 MB / 282.7 MB Notification: Performance of SimCode: time 1.182e-06/0.4058, allocations: 0 / 340.1 MB, free: 9.266 MB / 282.7 MB Notification: Performance of Templates: time 0.008893/0.4147, allocations: 2.11 MB / 342.3 MB, free: 8.699 MB / 282.7 MB