Running command: translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadModel(Modelica): time 2.141/2.141, allocations: 194.9 MB / 211.2 MB, free: 8.355 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.579e-05/3.589e-05, allocations: 4 kB / 258.8 MB, free: 8.711 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3543, allocations: 44.5 MB / 303.3 MB, free: 12.79 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003004/0.3573, allocations: 1.647 MB / 304.9 MB, free: 11.44 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004892/0.3579, allocations: 147 kB / 305.1 MB, free: 11.32 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.358, allocations: 8.75 kB / 305.1 MB, free: 11.31 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.705e-05/0.3581, allocations: 17.88 kB / 305.1 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001905/0.3583, allocations: 55 kB / 305.2 MB, free: 11.25 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001542/0.3584, allocations: 30.41 kB / 305.2 MB, free: 11.22 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002386/0.3587, allocations: 97.56 kB / 305.3 MB, free: 11.16 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.3589, allocations: 39.12 kB / 305.3 MB, free: 11.13 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.676e-05/0.359, allocations: 49.61 kB / 305.4 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.3591, allocations: 53.77 kB / 305.4 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.127e-05/0.3592, allocations: 5.75 kB / 305.4 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.583e-05/0.3592, allocations: 9.781 kB / 305.4 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.512e-05/0.3592, allocations: 24.83 kB / 305.5 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.195e-05/0.3593, allocations: 15.97 kB / 305.5 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002255/0.3595, allocations: 141 kB / 305.6 MB, free: 10.95 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.3596, allocations: 1.125 kB / 305.6 MB, free: 10.95 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.905e-06/0.3596, allocations: 0 / 305.6 MB, free: 10.95 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.3596, allocations: 0 / 305.6 MB, free: 10.95 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0007682/0.3604, allocations: 432 kB / 306 MB, free: 10.52 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.3604, allocations: 8.844 kB / 306 MB, free: 10.52 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.758e-05/0.3605, allocations: 21.78 kB / 306.1 MB, free: 10.51 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003246/0.3609, allocations: 213.8 kB / 306.3 MB, free: 10.28 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.917e-05/0.3609, allocations: 19.72 kB / 306.3 MB, free: 10.27 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.363e-05/0.361, allocations: 15.31 kB / 306.3 MB, free: 10.26 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004594/0.3614, allocations: 179 kB / 306.5 MB, free: 10.13 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.52e-05/0.3615, allocations: 5.312 kB / 306.5 MB, free: 10.12 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.797e-05/0.3615, allocations: 10.25 kB / 306.5 MB, free: 10.12 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/0.3615, allocations: 8.391 kB / 306.5 MB, free: 10.11 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003238/0.3619, allocations: 99.73 kB / 306.6 MB, free: 10.07 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001788/0.3637, allocations: 0.7763 MB / 307.4 MB, free: 9.348 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002973/0.364, allocations: 114.9 kB / 307.5 MB, free: 9.246 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.3641, allocations: 6.125 kB / 307.5 MB, free: 9.242 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.3641, allocations: 31.94 kB / 307.5 MB, free: 9.203 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 3.497e-06/0.3641, allocations: 0 / 307.5 MB, free: 9.203 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004942/0.3646, allocations: 145.9 kB / 307.7 MB, free: 9.109 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.968e-05/0.3647, allocations: 102.8 kB / 307.8 MB, free: 8.984 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003038/0.365, allocations: 191.3 kB / 308 MB, free: 8.793 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.3651, allocations: 25.7 kB / 308 MB, free: 8.762 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.3652, allocations: 202.4 kB / 308.2 MB, free: 8.559 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.009e-05/0.3653, allocations: 59.19 kB / 308.2 MB, free: 8.5 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.021e-05/0.3653, allocations: 0 / 308.2 MB, free: 8.5 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.3655, allocations: 318.8 kB / 308.5 MB, free: 8.18 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.3656, allocations: 40.45 kB / 308.6 MB, free: 8.141 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002298/0.3659, allocations: 128.9 kB / 308.7 MB, free: 7.973 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/0.366, allocations: 67.95 kB / 308.8 MB, free: 7.906 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.3661, allocations: 0 / 308.8 MB, free: 7.906 MB / 250.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004861/0.3666, allocations: 201.2 kB / 309 MB, free: 7.703 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.3666, allocations: 5.906 kB / 309 MB, free: 7.699 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.3666, allocations: 8 kB / 309 MB, free: 7.691 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.711e-05/0.3667, allocations: 7.953 kB / 309 MB, free: 7.684 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003257/0.367, allocations: 43.92 kB / 309 MB, free: 7.641 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/0.367, allocations: 8 kB / 309 MB, free: 7.633 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/0.3673, allocations: 23.75 kB / 309.1 MB, free: 7.609 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.587e-05/0.3673, allocations: 12 kB / 309.1 MB, free: 7.598 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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): 27 * 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.0001811/0.3675, allocations: 137.7 kB / 309.2 MB, free: 7.453 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.846e-05/0.3676, allocations: 15.81 kB / 309.2 MB, free: 7.438 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.977e-05/0.3677, allocations: 21 kB / 309.3 MB, free: 7.41 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/0.3677, allocations: 4 kB / 309.3 MB, free: 7.406 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.3677, allocations: 3.953 kB / 309.3 MB, free: 7.402 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/0.3677, allocations: 3.984 kB / 309.3 MB, free: 7.398 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006783/0.3684, allocations: 249.4 kB / 309.5 MB, free: 7.105 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.3685, allocations: 4 kB / 309.5 MB, free: 7.102 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003223/0.3688, allocations: 27.98 kB / 309.5 MB, free: 7.074 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.3688, allocations: 0 / 309.5 MB, free: 7.074 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/0.3688, allocations: 7.938 kB / 309.5 MB, free: 7.066 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.3689, allocations: 0 / 309.5 MB, free: 7.066 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.3689, allocations: 3.984 kB / 309.6 MB, free: 7.062 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005597/0.3694, allocations: 429.7 kB / 310 MB, free: 6.613 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.3696, allocations: 96.81 kB / 310.1 MB, free: 6.5 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.695e-05/0.3697, allocations: 12.17 kB / 310.1 MB, free: 6.488 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002405/0.3699, allocations: 4 kB / 310.1 MB, free: 6.484 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/0.37, allocations: 12 kB / 310.1 MB, free: 6.473 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.37, allocations: 7.984 kB / 310.1 MB, free: 6.465 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002121/0.3702, allocations: 151.4 kB / 310.3 MB, free: 6.316 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3702, allocations: 0 / 310.3 MB, free: 6.316 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005203/0.3707, allocations: 43.91 kB / 310.3 MB, free: 6.273 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (mass1.s,mass1.v,mass2.s,mass2.v,mass3.s,mass3.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.0001536/0.3709, allocations: 99.19 kB / 310.4 MB, free: 6.168 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003688/0.3713, allocations: 112.2 kB / 310.5 MB, free: 6.059 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.3713, allocations: 0 / 310.5 MB, free: 6.059 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.3714, allocations: 36.22 kB / 310.5 MB, free: 6.023 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005335/0.372, allocations: 24.06 kB / 310.6 MB, free: 6 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/0.3738, allocations: 0.777 MB / 311.3 MB, free: 5.18 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000457/0.3743, allocations: 0.7361 MB / 312.1 MB, free: 4.414 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.607e-05/0.3744, allocations: 23.38 kB / 312.1 MB, free: 4.391 MB / 250.7 MB Notification: Performance of SimCode: time 1.202e-06/0.3744, allocations: 0 / 312.1 MB, free: 4.391 MB / 250.7 MB Notification: Performance of Templates: time 0.005749/0.3802, allocations: 1.977 MB / 314.1 MB, free: 2.41 MB / 250.7 MB