Notification: Performance of FrontEnd - loaded program: time 2.112e-05/2.126e-05, allocations: 0 / 350.5 MB, free: 9.527 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2101, allocations: 44.52 MB / 395 MB, free: 83.27 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1131/0.3233, allocations: 92.35 MB / 487.3 MB, free: 8.027 MB / 334.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/0.3236, allocations: 87.89 kB / 487.4 MB, free: 7.941 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.4657/0.7893, allocations: 95 MB / 0.5688 GB, free: 42.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.667e-06/0.7893, allocations: 0 / 0.5688 GB, free: 42.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002258/0.7896, allocations: 96 kB / 0.5689 GB, free: 42.09 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1848 * Number of variables: 1848 Notification: Performance of Generate backend data structure: time 0.01947/0.809, allocations: 5.562 MB / 0.5743 GB, free: 36.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.8091, allocations: 12.03 kB / 0.5743 GB, free: 36.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02171/0.8308, allocations: 2.317 MB / 0.5766 GB, free: 34.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02474/0.8556, allocations: 4.917 MB / 0.5814 GB, free: 29.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005464/0.8562, allocations: 218.5 kB / 0.5816 GB, free: 28.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002905/0.8591, allocations: 304 kB / 0.5819 GB, free: 28.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02572/0.8849, allocations: 7.748 MB / 0.5894 GB, free: 20.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02245/0.9074, allocations: 11.53 MB / 0.6007 GB, free: 8.207 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002087/0.9076, allocations: 75.25 kB / 0.6008 GB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009071/0.9085, allocations: 32 kB / 0.6008 GB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001815/0.9104, allocations: 1.196 MB / 0.602 GB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2345/1.145, allocations: 54.85 MB / 0.6555 GB, free: 45.81 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006126/1.151, allocations: 4.362 MB / 0.6598 GB, free: 45.15 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004846/1.156, allocations: 3.104 MB / 0.6628 GB, free: 45.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001402/1.157, allocations: 0.6867 MB / 0.6635 GB, free: 44.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.286e-05/1.157, allocations: 57 kB / 0.6635 GB, free: 44.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=221): time 6.23e-06/1.157, allocations: 0 / 0.6635 GB, free: 44.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=252): time 0.0611/1.219, allocations: 22.31 MB / 0.6853 GB, free: 40.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/1.219, allocations: 152.3 kB / 0.6855 GB, free: 40.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006141/1.225, allocations: 3.354 MB / 0.6887 GB, free: 39.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005192/1.225, allocations: 25.7 kB / 0.6888 GB, free: 39.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002454/1.228, allocations: 3.644 MB / 0.6923 GB, free: 36.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001201/1.229, allocations: 0.9191 MB / 0.6932 GB, free: 35.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000642/1.23, allocations: 0 / 0.6932 GB, free: 35.96 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0004428/1.23, allocations: 0.617 MB / 0.6938 GB, free: 35.53 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005406/1.236, allocations: 2.882 MB / 0.6966 GB, free: 34.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007836/1.244, allocations: 7.05 MB / 0.7035 GB, free: 27.85 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008374/1.252, allocations: 4.444 MB / 0.7079 GB, free: 26.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001284/1.252, allocations: 43 kB / 0.7079 GB, free: 26.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=939) (initialization): time 0.02387/1.276, allocations: 10.05 MB / 0.7177 GB, free: 20.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001135/1.276, allocations: 72 kB / 0.7178 GB, free: 20.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001634/1.276, allocations: 148 kB / 0.7179 GB, free: 20.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003617/1.28, allocations: 1.136 MB / 0.719 GB, free: 19.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007849/1.288, allocations: 1.79 MB / 0.7208 GB, free: 18.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008257/1.296, allocations: 5.635 MB / 0.7263 GB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007146/1.303, allocations: 300.8 kB / 0.7266 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001252/1.305, allocations: 451.9 kB / 0.727 GB, free: 12.53 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 680 * Number of states: 0 () * Number of discrete variables: 39 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (900): * Single equations (assignments): 896 * 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%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001199/1.306, allocations: 478.2 kB / 0.7275 GB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007938/1.307, allocations: 375.1 kB / 0.7278 GB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0103/1.317, allocations: 5.291 MB / 0.733 GB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.137e-05/1.317, allocations: 28 kB / 0.733 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.477e-05/1.317, allocations: 4 kB / 0.733 GB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.399e-05/1.317, allocations: 9.609 kB / 0.733 GB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02782/1.345, allocations: 11.29 MB / 0.7441 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.339e-05/1.345, allocations: 4 kB / 0.7441 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00343/1.348, allocations: 0.5034 MB / 0.7445 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00322/1.352, allocations: 0.9294 MB / 0.7455 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003215/1.352, allocations: 15.84 kB / 0.7455 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01037/1.362, allocations: 5.337 MB / 0.7507 GB, free: 9.555 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.68e-05/1.362, allocations: 7.938 kB / 0.7507 GB, free: 9.547 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1081/1.471, allocations: 42.28 MB / 0.792 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002659/1.473, allocations: 0.8513 MB / 0.7928 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007949/1.474, allocations: 4 kB / 0.7928 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002908/1.477, allocations: 139.8 kB / 0.7929 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006087/1.478, allocations: 161.7 kB / 0.7931 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003415/1.478, allocations: 64 kB / 0.7932 GB, free: 15.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004738/1.483, allocations: 2.225 MB / 0.7953 GB, free: 13.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.86e-07/1.483, allocations: 0 / 0.7953 GB, free: 13.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.008985/1.492, allocations: 1.37 MB / 0.7967 GB, free: 11.68 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,position1.phi,position1.w,position2.phi,position2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (225): * Single equations (assignments): 221 * 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%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006361/1.492, allocations: 158.4 kB / 0.7968 GB, free: 11.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01387/1.506, allocations: 6.869 MB / 0.8035 GB, free: 4.676 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.922e-06/1.506, allocations: 0 / 0.8035 GB, free: 4.676 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005381/1.512, allocations: 2.633 MB / 0.8061 GB, free: 2.039 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003327/1.515, allocations: 345.5 kB / 0.8064 GB, free: 1.703 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4174/1.933, allocations: 11.64 MB / 0.8178 GB, free: 132.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006486/1.939, allocations: 3.981 MB / 0.8217 GB, free: 131.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.008667/1.948, allocations: 2.36 MB / 0.824 GB, free: 131.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00188/1.95, allocations: 300.3 kB / 0.8243 GB, free: 131.5 MB / 446.1 MB Notification: Performance of SimCode: time 1.759e-06/1.95, allocations: 0 / 0.8243 GB, free: 131.5 MB / 446.1 MB Notification: Performance of Templates: time 0.1382/2.088, allocations: 47.12 MB / 0.8703 GB, free: 116.3 MB / 446.1 MB