Running command: translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadModel(Modelica): time 2.003/2.003, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.364e-05/3.379e-05, allocations: 4.984 kB / 292.1 MB, free: 8.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09242/0.09248, allocations: 50.41 MB / 342.5 MB, free: 6.406 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.356/0.4486, allocations: 76.78 MB / 419.3 MB, free: 1.305 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000212/0.4488, allocations: 62.59 kB / 419.4 MB, free: 1.273 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01154/0.4604, allocations: 2.904 MB / 422.3 MB, free: 14.8 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.761e-06/0.4604, allocations: 0 / 422.3 MB, free: 14.8 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.64e-05/0.4605, allocations: 4 kB / 422.3 MB, free: 14.79 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0005918/0.4611, allocations: 417.6 kB / 422.7 MB, free: 14.35 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.4611, allocations: 8.031 kB / 422.7 MB, free: 14.34 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.582e-05/0.4612, allocations: 19.77 kB / 422.7 MB, free: 14.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/0.4615, allocations: 217.2 kB / 422.9 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.4615, allocations: 11.81 kB / 422.9 MB, free: 14.08 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.64e-05/0.4616, allocations: 19.91 kB / 423 MB, free: 14.06 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003528/0.462, allocations: 180.2 kB / 423.1 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.462, allocations: 7.906 kB / 423.1 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.078e-05/0.462, allocations: 3.688 kB / 423.2 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.462, allocations: 4 kB / 423.2 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002292/0.4623, allocations: 94.31 kB / 423.2 MB, free: 13.83 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001761/0.4641, allocations: 0.9625 MB / 424.2 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.4643, allocations: 91.16 kB / 424.3 MB, free: 12.77 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.358e-05/0.4644, allocations: 50.5 kB / 424.3 MB, free: 12.72 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.4644, allocations: 7.984 kB / 424.4 MB, free: 12.71 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.4644, allocations: 34.56 kB / 424.4 MB, free: 12.67 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 3.617e-06/0.4645, allocations: 0 / 424.4 MB, free: 12.67 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003483/0.4648, allocations: 104.7 kB / 424.5 MB, free: 12.58 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.256e-05/0.4649, allocations: 102.8 kB / 424.6 MB, free: 12.45 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002493/0.4652, allocations: 182 kB / 424.8 MB, free: 12.29 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.4652, allocations: 25.7 kB / 424.8 MB, free: 12.26 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.4653, allocations: 205.6 kB / 425 MB, free: 12.07 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.866e-05/0.4654, allocations: 54.56 kB / 425.1 MB, free: 12.02 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.072e-05/0.4654, allocations: 3.875 kB / 425.1 MB, free: 12.02 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.4656, allocations: 318.8 kB / 425.4 MB, free: 11.71 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.482e-05/0.4657, allocations: 35.78 kB / 425.4 MB, free: 11.68 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001793/0.4659, allocations: 141.5 kB / 425.5 MB, free: 11.51 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.4661, allocations: 67.47 kB / 425.6 MB, free: 11.46 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.557e-06/0.4661, allocations: 0 / 425.6 MB, free: 11.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004414/0.4665, allocations: 199.9 kB / 425.8 MB, free: 11.29 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.4666, allocations: 7.953 kB / 425.8 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.4666, allocations: 4 kB / 425.8 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.738e-05/0.4666, allocations: 8 kB / 425.8 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002396/0.4669, allocations: 47.91 kB / 425.9 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/0.4669, allocations: 4 kB / 425.9 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.4671, allocations: 31.97 kB / 425.9 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.558e-05/0.4672, allocations: 11.81 kB / 425.9 MB, free: 11.19 MB / 346.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 (28): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001154/0.4673, allocations: 124.2 kB / 426 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.4674, allocations: 19.75 kB / 426.1 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.839e-05/0.4675, allocations: 26.31 kB / 426.1 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.4675, allocations: 4 kB / 426.1 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.345e-06/0.4675, allocations: 0 / 426.1 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.013e-06/0.4675, allocations: 0 / 426.1 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006173/0.4682, allocations: 240.4 kB / 426.3 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.444e-06/0.4682, allocations: 0 / 426.3 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002205/0.4684, allocations: 27.98 kB / 426.3 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-05/0.4684, allocations: 8 kB / 426.4 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.4685, allocations: 4 kB / 426.4 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.202e-06/0.4685, allocations: 3.953 kB / 426.4 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.453e-06/0.4685, allocations: 4 kB / 426.4 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004764/0.469, allocations: 408.9 kB / 426.8 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.4691, allocations: 104.1 kB / 426.9 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.456e-05/0.4692, allocations: 0 / 426.9 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/0.4694, allocations: 7.375 kB / 426.9 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.307e-05/0.4694, allocations: 4 kB / 426.9 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.4694, allocations: 7.984 kB / 426.9 MB, free: 10.19 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001793/0.4696, allocations: 144.8 kB / 427 MB, free: 10.07 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.84e-07/0.4697, allocations: 4 kB / 427 MB, free: 10.07 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005476/0.4702, allocations: 35.31 kB / 427.1 MB, free: 10.04 MB / 346.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 (12): * Single equations (assignments): 12 * 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.000166/0.4704, allocations: 114.3 kB / 427.2 MB, free: 9.914 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002788/0.4707, allocations: 96.05 kB / 427.3 MB, free: 9.84 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.03e-06/0.4707, allocations: 0 / 427.3 MB, free: 9.84 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.349e-05/0.4708, allocations: 34.88 kB / 427.3 MB, free: 9.812 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004403/0.4712, allocations: 28.17 kB / 427.3 MB, free: 9.793 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.4724, allocations: 0.5927 MB / 427.9 MB, free: 9.184 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004396/0.4729, allocations: 0.7352 MB / 428.7 MB, free: 8.426 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.791e-05/0.4729, allocations: 19.44 kB / 428.7 MB, free: 8.41 MB / 346.7 MB Notification: Performance of SimCode: time 1.83e-06/0.473, allocations: 0 / 428.7 MB, free: 8.41 MB / 346.7 MB Notification: Performance of Templates: time 0.004507/0.4775, allocations: 1.9 MB / 430.6 MB, free: 6.531 MB / 346.7 MB