Notification: Performance of loadModel(Modelica): time 0.984/0.984, allocations: 111.2 MB / 118.4 MB, free: 15.58 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.552e-05/2.56e-05, allocations: 4 kB / 145.9 MB, free: 4.051 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.123, allocations: 25.16 MB / 171.1 MB, free: 1.762 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06005/0.1831, allocations: 34.15 MB / 205.2 MB, free: 3.359 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/0.1835, allocations: 63.97 kB / 205.3 MB, free: 3.297 MB / 170.7 MB Notification: Performance of FrontEnd: time 0.02793/0.2114, allocations: 4.992 MB / 210.3 MB, free: 14.28 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.402e-05/0.2115, allocations: 4 kB / 210.3 MB, free: 14.28 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.00214/0.2136, allocations: 0.5879 MB / 210.9 MB, free: 13.64 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.716e-05/0.2137, allocations: 8.031 kB / 210.9 MB, free: 13.64 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001651/0.2139, allocations: 31.62 kB / 210.9 MB, free: 13.61 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006065/0.2145, allocations: 266.5 kB / 211.2 MB, free: 13.3 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.923e-05/0.2146, allocations: 11.98 kB / 211.2 MB, free: 13.29 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001577/0.2148, allocations: 16 kB / 211.2 MB, free: 13.28 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001356/0.2161, allocations: 365 kB / 211.6 MB, free: 12.92 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.2173, allocations: 319.6 kB / 211.9 MB, free: 12.61 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.06e-05/0.2174, allocations: 4 kB / 211.9 MB, free: 12.6 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.989e-05/0.2175, allocations: 3.953 kB / 211.9 MB, free: 12.6 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.809e-05/0.2175, allocations: 8 kB / 211.9 MB, free: 12.59 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00432/0.2218, allocations: 1.053 MB / 212.9 MB, free: 11.47 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007639/0.2227, allocations: 250.8 kB / 213.2 MB, free: 11.21 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005363/0.2232, allocations: 164.8 kB / 213.3 MB, free: 11.05 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.576e-05/0.2233, allocations: 7.984 kB / 213.3 MB, free: 11.04 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/0.2234, allocations: 43.44 kB / 213.4 MB, free: 10.99 MB / 186.7 MB Notification: Performance of pre-optimization done (n=37): time 4.057e-06/0.2234, allocations: 0 / 213.4 MB, free: 10.99 MB / 186.7 MB Notification: Performance of matching and sorting (n=43): time 0.006071/0.2295, allocations: 1.396 MB / 214.8 MB, free: 9.488 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.2296, allocations: 55.41 kB / 214.8 MB, free: 9.422 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003507/0.2299, allocations: 183 kB / 215 MB, free: 9.238 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001113/0.2301, allocations: 41.69 kB / 215.1 MB, free: 9.191 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.2302, allocations: 148.7 kB / 215.2 MB, free: 9.043 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002301/0.2305, allocations: 138.1 kB / 215.3 MB, free: 8.906 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.959e-05/0.2306, allocations: 0 / 215.3 MB, free: 8.906 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.00023/0.2308, allocations: 338.8 kB / 215.7 MB, free: 8.566 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000667/0.2315, allocations: 181.1 kB / 215.8 MB, free: 8.387 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007423/0.2323, allocations: 255.8 kB / 216.1 MB, free: 8.113 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007841/0.2331, allocations: 152.7 kB / 216.2 MB, free: 7.965 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.2331, allocations: 0 / 216.2 MB, free: 7.965 MB / 186.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.003096/0.2362, allocations: 0.6184 MB / 216.9 MB, free: 7.332 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.95e-05/0.2363, allocations: 4 kB / 216.9 MB, free: 7.328 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.2363, allocations: 3.953 kB / 216.9 MB, free: 7.324 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001834/0.2381, allocations: 0.5053 MB / 217.4 MB, free: 6.812 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007382/0.2389, allocations: 63.91 kB / 217.4 MB, free: 6.75 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002628/0.2416, allocations: 1.425 MB / 218.9 MB, free: 5.273 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/0.2428, allocations: 87.98 kB / 218.9 MB, free: 5.188 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.2429, allocations: 23.94 kB / 219 MB, free: 5.164 MB / 186.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: brake.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic f = f(a_relfric)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: brake1.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic f = f(a_relfric)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 16 (brake.free,$PRE.brake.startForward,brake.startForward,$PRE.brake.startBackward,brake.startBackward,brake.locked,$PRE.brake.mode,brake.mode,brake1.free,$PRE.brake1.startForward,brake1.startForward,$PRE.brake1.startBackward,brake1.startBackward,brake1.locked,$PRE.brake1.mode,brake1.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 45 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 7,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003577/0.2433, allocations: 141.5 kB / 219.1 MB, free: 5.02 MB / 186.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00269/0.246, allocations: 0.5221 MB / 219.6 MB, free: 4.484 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001632/0.2462, allocations: 31.66 kB / 219.7 MB, free: 4.453 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001924/0.2464, allocations: 42.72 kB / 219.7 MB, free: 4.414 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.2464, allocations: 4 kB / 219.7 MB, free: 4.41 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.2464, allocations: 0 / 219.7 MB, free: 4.41 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.2465, allocations: 3.984 kB / 219.7 MB, free: 4.406 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005684/0.2522, allocations: 1.248 MB / 221 MB, free: 3.09 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.2522, allocations: 0 / 221 MB, free: 3.09 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006936/0.2529, allocations: 64.06 kB / 221 MB, free: 3.027 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001644/0.2546, allocations: 481.3 kB / 221.5 MB, free: 2.551 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-05/0.2547, allocations: 16 kB / 221.5 MB, free: 2.535 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002343/0.257, allocations: 1.366 MB / 222.9 MB, free: 1.117 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.018e-05/0.2571, allocations: 8.156 kB / 222.9 MB, free: 1.109 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003501/0.2606, allocations: 0.9225 MB / 223.8 MB, free: 124 kB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000414/0.2611, allocations: 153 kB / 224 MB, free: 15.95 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001682/0.2613, allocations: 12 kB / 224 MB, free: 15.94 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007499/0.262, allocations: 43.95 kB / 224 MB, free: 15.89 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004001/0.2624, allocations: 99.58 kB / 224.1 MB, free: 15.8 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/0.2626, allocations: 23.97 kB / 224.1 MB, free: 15.78 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0002766/0.2629, allocations: 145.6 kB / 224.3 MB, free: 15.64 MB / 202.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.2629, allocations: 0 / 224.3 MB, free: 15.64 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0009738/0.2639, allocations: 87.94 kB / 224.4 MB, free: 15.55 MB / 202.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (mass1.s,mass1.v,mass2.s,mass2.v) * Number of discrete variables: 10 (brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode,brake1.free,brake1.startForward,brake1.startBackward,brake1.locked,brake1.mode) * Number of discrete states: 6 (brake1.mode,brake1.startForward,brake1.startBackward,brake.mode,brake.startForward,brake.startBackward) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.004179/0.2681, allocations: 1.8 MB / 226.2 MB, free: 13.69 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.001663/0.2698, allocations: 454 kB / 226.6 MB, free: 13.24 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.2698, allocations: 0 / 226.6 MB, free: 13.24 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001067/0.2709, allocations: 251.8 kB / 226.8 MB, free: 13 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007863/0.2717, allocations: 32.66 kB / 226.9 MB, free: 12.96 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0044/0.2761, allocations: 0.8993 MB / 227.8 MB, free: 12.02 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004424/0.2766, allocations: 0.7839 MB / 228.6 MB, free: 11.21 MB / 202.7 MB Notification: Performance of simCode: alias equations: time 0.0002381/0.2769, allocations: 26.98 kB / 228.6 MB, free: 11.18 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002229/0.2771, allocations: 87.39 kB / 228.7 MB, free: 11.09 MB / 202.7 MB Notification: Performance of SimCode: time 1.463e-06/0.2771, allocations: 3.938 kB / 228.7 MB, free: 11.09 MB / 202.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05628/0.3334, allocations: 8.896 MB / 237.6 MB, free: 2.238 MB / 202.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.005079/0.3386, allocations: 128.5 kB / 237.7 MB, free: 2.051 MB / 202.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.227/3.566, allocations: 0 / 237.7 MB, free: 2.051 MB / 202.7 MB