Notification: Performance of FrontEnd - loaded program: time 1.962e-05/1.973e-05, allocations: 4 kB / 361.8 MB, free: 14.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2209, allocations: 44.51 MB / 406.3 MB, free: 83.13 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3241/0.545, allocations: 103.2 MB / 0.4975 GB, free: 41.61 MB / 334.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000404/0.5455, allocations: 89.92 kB / 0.4976 GB, free: 41.61 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.9798/1.525, allocations: 178.7 MB / 0.6721 GB, free: 47.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.029e-06/1.525, allocations: 0 / 0.6721 GB, free: 47.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0007072/1.526, allocations: 188.1 kB / 0.6723 GB, free: 47.79 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2751 * Number of variables: 2751 Notification: Performance of Generate backend data structure: time 0.02783/1.554, allocations: 9.22 MB / 0.6813 GB, free: 44.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/1.554, allocations: 6.906 kB / 0.6813 GB, free: 44.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1316/1.686, allocations: 16.66 MB / 0.6975 GB, free: 43.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05402/1.74, allocations: 14.57 MB / 0.7118 GB, free: 42.49 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007487/1.74, allocations: 358.9 kB / 0.7121 GB, free: 42.47 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003364/1.744, allocations: 0.5192 MB / 0.7126 GB, free: 42.45 MB / 398.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02509/1.769, allocations: 11.71 MB / 0.7241 GB, free: 42.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03614/1.805, allocations: 16.54 MB / 0.7402 GB, free: 31.28 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004921/1.806, allocations: 101 kB / 0.7403 GB, free: 31.22 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002407/1.808, allocations: 43.38 kB / 0.7403 GB, free: 31.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002596/1.811, allocations: 1.594 MB / 0.7419 GB, free: 29.85 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7039/2.515, allocations: 78.17 MB / 0.8182 GB, free: 38.31 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00823/2.523, allocations: 5.429 MB / 0.8235 GB, free: 37.64 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006118/2.529, allocations: 3.884 MB / 0.8273 GB, free: 37.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003111/2.532, allocations: 2.856 MB / 0.8301 GB, free: 35.23 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.198e-05/2.532, allocations: 70.34 kB / 0.8302 GB, free: 35.19 MB / 430.1 MB Notification: Performance of pre-optimization done (n=314): time 1.01e-05/2.532, allocations: 0 / 0.8302 GB, free: 35.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=415): time 0.1528/2.685, allocations: 40.65 MB / 0.8699 GB, free: 30.27 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001369/2.685, allocations: 410.3 kB / 0.8703 GB, free: 29.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01687/2.702, allocations: 5.917 MB / 0.8761 GB, free: 29.33 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009397/2.703, allocations: 28.52 kB / 0.8761 GB, free: 29.3 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.006521/2.71, allocations: 5.875 MB / 0.8818 GB, free: 25.88 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00234/2.712, allocations: 1.453 MB / 0.8832 GB, free: 24.78 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001073/2.713, allocations: 3.344 kB / 0.8832 GB, free: 24.78 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0008956/2.714, allocations: 0.7059 MB / 0.8839 GB, free: 24.3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01041/2.725, allocations: 3.985 MB / 0.8878 GB, free: 22.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01543/2.74, allocations: 9.083 MB / 0.8967 GB, free: 14.26 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01658/2.757, allocations: 5.958 MB / 0.9025 GB, free: 12.18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002117/2.757, allocations: 49.16 kB / 0.9026 GB, free: 12.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=1244) (initialization): time 0.05862/2.816, allocations: 16.03 MB / 0.9182 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002258/2.816, allocations: 87.23 kB / 0.9183 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003605/2.816, allocations: 178.9 kB / 0.9185 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03254/2.849, allocations: 4.796 MB / 0.9232 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0114/2.86, allocations: 2.018 MB / 0.9251 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07251/2.933, allocations: 23.71 MB / 0.9483 GB, free: 8.836 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01464/2.947, allocations: 377.2 kB / 0.9486 GB, free: 8.555 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002893/2.95, allocations: 0.5286 MB / 0.9492 GB, free: 8.035 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 815 * Number of states: 0 () * Number of discrete variables: 70 (jointRRP.jointUSP.prismatic.positiveBranch,jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.jointUSP.sphereColor[1],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.cylinderColor[1],cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],Mid.color[3],Mid.color[2],Mid.color[1],Crank2.color[3],Crank2.color[2],Crank2.color[1],Crank2.body.sphereColor[3],Crank2.body.sphereColor[2],Crank2.body.sphereColor[1],Crank1.color[3],Crank1.color[2],Crank1.color[1],Crank1.body.sphereColor[3],Crank1.body.sphereColor[2],Crank1.body.sphereColor[1],Crank3.color[3],Crank3.color[2],Crank3.color[1],Crank3.body.sphereColor[3],Crank3.body.sphereColor[2],Crank3.body.sphereColor[1],Crank4.color[3],Crank4.color[2],Crank4.color[1],Crank4.body.sphereColor[3],Crank4.body.sphereColor[2],Crank4.body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],Bearing.cylinderColor[3],Bearing.cylinderColor[2],Bearing.cylinderColor[1],Rod2.color[3],Rod2.color[2],Rod2.color[1],Rod2.body.sphereColor[3],Rod2.body.sphereColor[2],Rod2.body.sphereColor[1],Piston.color[3],Piston.color[2],Piston.color[1],Piston.body.sphereColor[3],Piston.body.sphereColor[2],Piston.body.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1092): * Single equations (assignments): 1087 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 124} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00325/2.954, allocations: 0.5768 MB / 0.9497 GB, free: 7.465 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002519/2.956, allocations: 0.686 MB / 0.9504 GB, free: 6.773 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2197/3.176, allocations: 10.65 MB / 0.9608 GB, free: 95.32 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.554e-05/3.176, allocations: 45.92 kB / 0.9608 GB, free: 95.31 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.294e-05/3.176, allocations: 23.38 kB / 0.9609 GB, free: 95.31 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.419e-05/3.176, allocations: 19.17 kB / 0.9609 GB, free: 95.31 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05649/3.233, allocations: 22.13 MB / 0.9825 GB, free: 93.96 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.2e-05/3.233, allocations: 10.84 kB / 0.9825 GB, free: 93.96 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003336/3.236, allocations: 0.5307 MB / 0.983 GB, free: 93.96 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01836/3.254, allocations: 4.039 MB / 0.987 GB, free: 93.94 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008086/3.255, allocations: 19.44 kB / 0.987 GB, free: 93.93 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04293/3.298, allocations: 20.29 MB / 1.007 GB, free: 92.62 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.847e-05/3.298, allocations: 14.12 kB / 1.007 GB, free: 92.62 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5772/3.876, allocations: 135.4 MB / 1.139 GB, free: 87.64 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004178/3.88, allocations: 1.343 MB / 1.14 GB, free: 87.54 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001752/3.882, allocations: 13.81 kB / 1.14 GB, free: 87.54 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004784/3.886, allocations: 183.7 kB / 1.141 GB, free: 87.54 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001213/3.888, allocations: 292.8 kB / 1.141 GB, free: 87.54 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004554/3.888, allocations: 109.1 kB / 1.141 GB, free: 87.54 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00894/3.897, allocations: 4.13 MB / 1.145 GB, free: 87.32 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.1e-07/3.897, allocations: 0 / 1.145 GB, free: 87.32 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01605/3.913, allocations: 2.726 MB / 1.148 GB, free: 87.32 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 2 (Inertia.phi,Inertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (291): * Single equations (assignments): 287 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 108} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001165/3.914, allocations: 205.9 kB / 1.148 GB, free: 87.24 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01789/3.932, allocations: 10.04 MB / 1.158 GB, free: 86.98 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/3.932, allocations: 11.11 kB / 1.158 GB, free: 86.98 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007956/3.94, allocations: 4.247 MB / 1.162 GB, free: 86.75 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005972/3.946, allocations: 0.9141 MB / 1.163 GB, free: 86.71 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05121/3.998, allocations: 20.99 MB / 1.183 GB, free: 79.58 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0146/4.012, allocations: 6.725 MB / 1.19 GB, free: 77.53 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.01191/4.024, allocations: 3.093 MB / 1.193 GB, free: 77.46 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002416/4.027, allocations: 442.1 kB / 1.193 GB, free: 77.45 MB / 462.1 MB Notification: Performance of SimCode: time 1.364e-06/4.027, allocations: 0 / 1.193 GB, free: 77.45 MB / 462.1 MB Notification: Performance of Templates: time 0.5613/4.588, allocations: 120.3 MB / 1.311 GB, free: 81.39 MB / 462.1 MB