Running command: translateModel(PlanarMechanics.Examples.PistonEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.PistonEngine") Notification: Performance of loadModel(PlanarMechanics): time 2.073/2.073, allocations: 234.8 MB / 247 MB, free: 2.051 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.875e-05/3.891e-05, allocations: 6.609 kB / 302.2 MB, free: 14.58 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09216/0.09222, allocations: 52.38 MB / 354.6 MB, free: 10.16 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3707/0.463, allocations: 87.36 MB / 442 MB, free: 9.684 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002098/0.4633, allocations: 71.97 kB / 442 MB, free: 9.613 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2722/0.7355, allocations: 70.05 MB / 0.5001 GB, free: 3.043 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.108e-06/0.7356, allocations: 0 / 0.5001 GB, free: 3.043 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000154/0.7357, allocations: 60 kB / 0.5001 GB, free: 2.984 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 0.02013/0.7559, allocations: 3.705 MB / 0.5038 GB, free: 15.21 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.756, allocations: 12.03 kB / 0.5038 GB, free: 15.2 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01428/0.7703, allocations: 1.973 MB / 0.5057 GB, free: 13.22 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005722/0.776, allocations: 1.83 MB / 0.5075 GB, free: 11.35 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000413/0.7765, allocations: 258.4 kB / 0.5077 GB, free: 11.09 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001785/0.7783, allocations: 327.8 kB / 0.508 GB, free: 10.77 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02376/0.8021, allocations: 8.432 MB / 0.5163 GB, free: 1.895 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001654/0.8023, allocations: 23.81 kB / 0.5163 GB, free: 1.871 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001247/0.8035, allocations: 147.9 kB / 0.5164 GB, free: 1.727 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002079/0.8056, allocations: 1.002 MB / 0.5174 GB, free: 0.7227 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2743/1.08, allocations: 7.662 MB / 0.5249 GB, free: 101.1 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04909/1.129, allocations: 28.56 MB / 0.5528 GB, free: 87.64 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0087/1.138, allocations: 2.772 MB / 0.5555 GB, free: 86.44 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002028/1.14, allocations: 0.9481 MB / 0.5564 GB, free: 86.1 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01131/1.151, allocations: 6.483 MB / 0.5627 GB, free: 81.76 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/1.151, allocations: 43.66 kB / 0.5628 GB, free: 81.71 MB / 442.7 MB Notification: Performance of pre-optimization done (n=155): time 6.204e-06/1.151, allocations: 3.906 kB / 0.5628 GB, free: 81.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=193): time 0.01844/1.17, allocations: 5.443 MB / 0.5681 GB, free: 80.02 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/1.17, allocations: 74.8 kB / 0.5682 GB, free: 79.96 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005372/1.175, allocations: 2.66 MB / 0.5708 GB, free: 78.94 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002621/1.176, allocations: 52.73 kB / 0.5708 GB, free: 78.89 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001602/1.177, allocations: 2.355 MB / 0.5731 GB, free: 77.08 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007284/1.178, allocations: 0.7092 MB / 0.5738 GB, free: 76.55 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003783/1.178, allocations: 91.81 kB / 0.5739 GB, free: 76.48 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002974/1.179, allocations: 0.501 MB / 0.5744 GB, free: 76.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003104/1.182, allocations: 1.432 MB / 0.5758 GB, free: 75.6 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004602/1.186, allocations: 3.96 MB / 0.5797 GB, free: 71.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004583/1.191, allocations: 2.419 MB / 0.582 GB, free: 70.99 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.267e-05/1.191, allocations: 25.41 kB / 0.582 GB, free: 70.99 MB / 442.7 MB Notification: Performance of matching and sorting (n=615) (initialization): time 0.01348/1.205, allocations: 5.56 MB / 0.5875 GB, free: 69.05 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.894e-05/1.205, allocations: 44.38 kB / 0.5875 GB, free: 69.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001035/1.205, allocations: 88.38 kB / 0.5876 GB, free: 69.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002131/1.207, allocations: 0.5926 MB / 0.5882 GB, free: 68.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00458/1.212, allocations: 1.002 MB / 0.5892 GB, free: 68.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01285/1.225, allocations: 8.378 MB / 0.5973 GB, free: 62.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0047/1.229, allocations: 247.2 kB / 0.5976 GB, free: 62.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009111/1.23, allocations: 272.8 kB / 0.5978 GB, free: 62.88 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 410 * Number of states: 0 () * Number of discrete variables: 24 (revolutePiston.cylinderColor[3],revolutePiston.cylinderColor[2],revolutePiston.cylinderColor[1],bodyPiston.sphereColor[3],bodyPiston.sphereColor[2],bodyPiston.sphereColor[1],pistonRod.color[3],pistonRod.color[2],pistonRod.color[1],revoluteDisc.cylinderColor[3],revoluteDisc.cylinderColor[2],revoluteDisc.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],fixedTranslationDisc.color[3],fixedTranslationDisc.color[2],fixedTranslationDisc.color[1],revoluteDrive.cylinderColor[3],revoluteDrive.cylinderColor[2],revoluteDrive.cylinderColor[1],bodyDrive.sphereColor[3],bodyDrive.sphereColor[2],bodyDrive.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (548): * Single equations (assignments): 541 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,88.9%) 21,(1,100.0%) 9} * Non-linear torn systems: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0008205/1.231, allocations: 463.1 kB / 0.5983 GB, free: 62.5 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006945/1.232, allocations: 269.5 kB / 0.5985 GB, free: 62.35 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009386/1.241, allocations: 2.584 MB / 0.6011 GB, free: 61.27 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002397/1.241, allocations: 39.67 kB / 0.6011 GB, free: 61.23 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.186e-05/1.242, allocations: 4 kB / 0.6011 GB, free: 61.23 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.815e-05/1.242, allocations: 13.75 kB / 0.6011 GB, free: 61.23 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02782/1.269, allocations: 7.22 MB / 0.6082 GB, free: 55.19 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.263e-05/1.27, allocations: 8.031 kB / 0.6082 GB, free: 55.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002592/1.272, allocations: 240.3 kB / 0.6084 GB, free: 54.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003178/1.275, allocations: 440 kB / 0.6088 GB, free: 54.64 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003871/1.276, allocations: 35.75 kB / 0.6089 GB, free: 54.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01218/1.288, allocations: 7.228 MB / 0.6159 GB, free: 47.59 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.789e-06/1.288, allocations: 4 kB / 0.6159 GB, free: 47.59 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00687/1.295, allocations: 4.24 MB / 0.6201 GB, free: 43.59 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009729/1.296, allocations: 358.9 kB / 0.6204 GB, free: 43.24 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005054/1.296, allocations: 36 kB / 0.6204 GB, free: 43.21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001363/1.298, allocations: 85.5 kB / 0.6205 GB, free: 43.15 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002986/1.298, allocations: 125.3 kB / 0.6206 GB, free: 43.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001801/1.298, allocations: 55.75 kB / 0.6207 GB, free: 43.02 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003434/1.302, allocations: 1.87 MB / 0.6225 GB, free: 41.34 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.97e-07/1.302, allocations: 0 / 0.6225 GB, free: 41.34 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005086/1.307, allocations: 0.843 MB / 0.6233 GB, free: 40.51 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (revoluteDrive.phi,revoluteDrive.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (134): * Single equations (assignments): 127 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,88.9%) 17,(1,100.0%) 7} * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004766/1.307, allocations: 186.7 kB / 0.6235 GB, free: 40.33 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01057/1.318, allocations: 3.789 MB / 0.6272 GB, free: 36.84 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.271e-05/1.318, allocations: 0 / 0.6272 GB, free: 36.84 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004097/1.322, allocations: 1.458 MB / 0.6286 GB, free: 35.47 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004065/1.326, allocations: 406.6 kB / 0.629 GB, free: 35.15 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02069/1.347, allocations: 5.867 MB / 0.6348 GB, free: 29.82 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007996/1.355, allocations: 2.874 MB / 0.6376 GB, free: 27.57 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.008173/1.363, allocations: 1.338 MB / 0.6389 GB, free: 26.73 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001204/1.365, allocations: 195 kB / 0.6391 GB, free: 26.55 MB / 442.7 MB Notification: Performance of SimCode: time 2.25e-06/1.365, allocations: 0 / 0.6391 GB, free: 26.55 MB / 442.7 MB Notification: Performance of Templates: time 0.102/1.467, allocations: 29.5 MB / 0.6679 GB, free: 14.12 MB / 458.7 MB