Running command: translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadModel(Modelica): time 2.178/2.178, allocations: 194.9 MB / 211.2 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.036e-05/3.037e-05, allocations: 3.938 kB / 258.8 MB, free: 8.715 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3093, allocations: 44.5 MB / 303.3 MB, free: 12.8 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002909/0.3122, allocations: 1.743 MB / 305 MB, free: 11.38 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005576/0.3128, allocations: 181.5 kB / 305.2 MB, free: 11.22 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.984e-05/0.313, allocations: 7.375 kB / 305.2 MB, free: 11.22 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.703e-05/0.3131, allocations: 30.92 kB / 305.2 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001934/0.3133, allocations: 50.92 kB / 305.3 MB, free: 11.15 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001569/0.3134, allocations: 42.25 kB / 305.3 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002293/0.3137, allocations: 120.5 kB / 305.5 MB, free: 11.03 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002001/0.3139, allocations: 65.61 kB / 305.5 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.314, allocations: 59.3 kB / 305.6 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001794/0.3142, allocations: 76.48 kB / 305.6 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.086e-05/0.3143, allocations: 8.781 kB / 305.7 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.163e-05/0.3143, allocations: 11.5 kB / 305.7 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.347e-05/0.3144, allocations: 25.73 kB / 305.7 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.719e-05/0.3144, allocations: 22.06 kB / 305.7 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002748/0.3147, allocations: 187.4 kB / 305.9 MB, free: 10.75 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3147, allocations: 0 / 305.9 MB, free: 10.75 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.497e-06/0.3148, allocations: 5 kB / 305.9 MB, free: 10.75 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.3148, allocations: 3.938 kB / 305.9 MB, free: 10.74 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.000926/0.3157, allocations: 477.1 kB / 306.4 MB, free: 10.29 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.3158, allocations: 13.38 kB / 306.4 MB, free: 10.29 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.241e-05/0.3159, allocations: 23.97 kB / 306.4 MB, free: 10.28 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.3162, allocations: 213 kB / 306.6 MB, free: 10.04 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.971e-05/0.3162, allocations: 17.69 kB / 306.6 MB, free: 10.04 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.553e-05/0.3163, allocations: 22.81 kB / 306.7 MB, free: 10.03 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005756/0.3169, allocations: 230 kB / 306.9 MB, free: 9.859 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/0.3169, allocations: 1.031 kB / 306.9 MB, free: 9.859 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.317, allocations: 10.28 kB / 306.9 MB, free: 9.852 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/0.317, allocations: 10.23 kB / 306.9 MB, free: 9.848 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003919/0.3174, allocations: 127.3 kB / 307 MB, free: 9.789 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0017/0.3191, allocations: 0.8741 MB / 307.9 MB, free: 8.934 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003521/0.3195, allocations: 159.7 kB / 308.1 MB, free: 8.75 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.3195, allocations: 3.938 kB / 308.1 MB, free: 8.746 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.3196, allocations: 34.56 kB / 308.1 MB, free: 8.703 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 3.206e-06/0.3196, allocations: 4 kB / 308.1 MB, free: 8.699 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005522/0.3201, allocations: 165.7 kB / 308.3 MB, free: 8.531 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/0.3202, allocations: 102.8 kB / 308.4 MB, free: 8.406 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002361/0.3205, allocations: 169.9 kB / 308.5 MB, free: 8.234 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.3205, allocations: 33.7 kB / 308.6 MB, free: 8.195 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.3207, allocations: 226.1 kB / 308.8 MB, free: 7.973 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.817e-05/0.3208, allocations: 71.08 kB / 308.8 MB, free: 7.902 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.514e-05/0.3208, allocations: 4 kB / 308.9 MB, free: 7.898 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.3209, allocations: 326.8 kB / 309.2 MB, free: 7.57 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.3211, allocations: 44.55 kB / 309.2 MB, free: 7.523 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002299/0.3213, allocations: 150.8 kB / 309.4 MB, free: 7.328 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/0.3215, allocations: 75.92 kB / 309.4 MB, free: 7.254 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.3216, allocations: 0 / 309.4 MB, free: 7.254 MB / 250.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000565/0.3221, allocations: 229.6 kB / 309.7 MB, free: 7.023 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/0.3222, allocations: 16.95 kB / 309.7 MB, free: 7.008 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.3222, allocations: 4 kB / 309.7 MB, free: 7.004 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.3222, allocations: 4 kB / 309.7 MB, free: 7 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004124/0.3227, allocations: 59.86 kB / 309.7 MB, free: 6.941 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.51e-05/0.3227, allocations: 4 kB / 309.7 MB, free: 6.938 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002457/0.3229, allocations: 35.62 kB / 309.8 MB, free: 6.902 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-05/0.323, allocations: 15.98 kB / 309.8 MB, free: 6.887 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.000178/0.3232, allocations: 137.7 kB / 309.9 MB, free: 6.742 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.3233, allocations: 27.67 kB / 310 MB, free: 6.715 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.723e-05/0.3234, allocations: 25.41 kB / 310 MB, free: 6.691 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.3234, allocations: 4 kB / 310 MB, free: 6.688 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.168e-06/0.3234, allocations: 7.922 kB / 310 MB, free: 6.68 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.3234, allocations: 0 / 310 MB, free: 6.68 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007584/0.3242, allocations: 416.8 kB / 310.4 MB, free: 6.207 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.3242, allocations: 4 kB / 310.4 MB, free: 6.203 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000366/0.3246, allocations: 32.08 kB / 310.4 MB, free: 6.172 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/0.3246, allocations: 8 kB / 310.4 MB, free: 6.164 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/0.3247, allocations: 7.984 kB / 310.5 MB, free: 6.156 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.3247, allocations: 4 kB / 310.5 MB, free: 6.152 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.3247, allocations: 0 / 310.5 MB, free: 6.152 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005861/0.3253, allocations: 422.4 kB / 310.9 MB, free: 5.688 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.888e-05/0.3254, allocations: 100.9 kB / 311 MB, free: 5.57 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.362e-05/0.3255, allocations: 11.98 kB / 311 MB, free: 5.559 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.3257, allocations: 4 kB / 311 MB, free: 5.555 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.3257, allocations: 15.98 kB / 311 MB, free: 5.539 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.3258, allocations: 8 kB / 311 MB, free: 5.531 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.000179/0.3259, allocations: 135.2 kB / 311.1 MB, free: 5.398 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.326, allocations: 0 / 311.1 MB, free: 5.398 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004952/0.3265, allocations: 55.84 kB / 311.2 MB, free: 5.344 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.v,mass1.s,mass1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001455/0.3266, allocations: 103.2 kB / 311.3 MB, free: 5.23 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004307/0.3271, allocations: 136.4 kB / 311.4 MB, free: 5.098 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3271, allocations: 0 / 311.4 MB, free: 5.098 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.3272, allocations: 60 kB / 311.5 MB, free: 5.039 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.3277, allocations: 24.17 kB / 311.5 MB, free: 5.016 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.3293, allocations: 0.7443 MB / 312.3 MB, free: 4.227 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003632/0.3296, allocations: 0.7401 MB / 313 MB, free: 3.457 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.588e-05/0.3298, allocations: 19.44 kB / 313 MB, free: 3.438 MB / 250.7 MB Notification: Performance of SimCode: time 1.093e-06/0.3298, allocations: 0 / 313 MB, free: 3.438 MB / 250.7 MB Notification: Performance of Templates: time 0.005976/0.3357, allocations: 2.22 MB / 315.2 MB, free: 1.219 MB / 250.7 MB