Running command: "" <> buildModelFMU(ModelicaTest.Blocks.UnitDeduction,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Blocks_UnitDeduction",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(ModelicaTest): time 2.015/2.015, allocations: 209.3 MB / 216.3 MB, free: 6.781 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2258/2.24, allocations: 51.03 MB / 267.3 MB, free: 5.129 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/2.354, allocations: 48.69 MB / 316 MB, free: 4.344 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3487/2.702, allocations: 81.84 MB / 397.8 MB, free: 10.98 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/2.703, allocations: 76.38 kB / 397.9 MB, free: 10.94 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.07637/2.779, allocations: 14.64 MB / 412.5 MB, free: 14.7 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/2.779, allocations: 8 kB / 412.5 MB, free: 14.7 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003702/2.78, allocations: 83.06 kB / 412.6 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001481/2.781, allocations: 483.4 kB / 413.1 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.892e-05/2.781, allocations: 16 kB / 413.1 MB, free: 14.15 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002227/2.781, allocations: 38.91 kB / 413.1 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001113/2.783, allocations: 261.7 kB / 413.4 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/2.784, allocations: 399.5 kB / 413.8 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.807e-05/2.784, allocations: 0 / 413.8 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.676e-05/2.784, allocations: 0 / 413.8 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.157e-05/2.784, allocations: 12 kB / 413.8 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005687/2.79, allocations: 1.669 MB / 415.5 MB, free: 12.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009331/2.791, allocations: 324.2 kB / 415.8 MB, free: 12 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003395/2.791, allocations: 124.8 kB / 415.9 MB, free: 11.92 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.204e-05/2.791, allocations: 4 kB / 415.9 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/2.791, allocations: 42.22 kB / 415.9 MB, free: 11.87 MB / 346.7 MB Notification: Performance of pre-optimization done (n=38): time 2.955e-06/2.791, allocations: 0 / 415.9 MB, free: 11.87 MB / 346.7 MB Notification: Performance of matching and sorting (n=38): time 0.001068/2.792, allocations: 312.5 kB / 416.3 MB, free: 11.62 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.431e-05/2.792, allocations: 132.5 kB / 416.4 MB, free: 11.46 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007538/2.793, allocations: 368 kB / 416.7 MB, free: 11.17 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001126/2.793, allocations: 30.19 kB / 416.8 MB, free: 11.14 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002212/2.793, allocations: 232.5 kB / 417 MB, free: 10.93 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002335/2.794, allocations: 145.5 kB / 417.1 MB, free: 10.81 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/2.794, allocations: 7.875 kB / 417.1 MB, free: 10.8 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002267/2.794, allocations: 363 kB / 417.5 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004339/2.794, allocations: 118.3 kB / 417.6 MB, free: 10.39 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009139/2.795, allocations: 255.9 kB / 417.9 MB, free: 10.15 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/2.796, allocations: 154.2 kB / 418 MB, free: 10.05 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.195e-05/2.797, allocations: 0 / 418 MB, free: 10.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001988/2.799, allocations: 432.2 kB / 418.4 MB, free: 9.727 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/2.799, allocations: 4 kB / 418.4 MB, free: 9.723 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/2.799, allocations: 4 kB / 418.4 MB, free: 9.719 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.603e-05/2.799, allocations: 4.438 kB / 418.5 MB, free: 9.715 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/2.8, allocations: 131.9 kB / 418.6 MB, free: 9.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.965e-05/2.8, allocations: 15.83 kB / 418.6 MB, free: 9.574 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007831/2.801, allocations: 55.58 kB / 418.7 MB, free: 9.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.98e-05/2.801, allocations: 19.69 kB / 418.7 MB, free: 9.504 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 (63): * Single equations (assignments): 63 * 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.0001851/2.801, allocations: 118 kB / 418.8 MB, free: 9.383 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001784/2.801, allocations: 60.08 kB / 418.8 MB, free: 9.324 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002359/2.801, allocations: 50.22 kB / 418.9 MB, free: 9.293 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/2.801, allocations: 11.94 kB / 418.9 MB, free: 9.281 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/2.801, allocations: 0 / 418.9 MB, free: 9.281 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/2.801, allocations: 7.984 kB / 418.9 MB, free: 9.273 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/2.803, allocations: 484.9 kB / 419.4 MB, free: 8.773 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/2.803, allocations: 0 / 419.4 MB, free: 8.773 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/2.804, allocations: 91.89 kB / 419.5 MB, free: 8.684 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.366e-05/2.804, allocations: 4 kB / 419.5 MB, free: 8.68 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.291e-05/2.804, allocations: 15.98 kB / 419.5 MB, free: 8.664 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.223e-06/2.804, allocations: 3.906 kB / 419.5 MB, free: 8.66 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/2.804, allocations: 0 / 419.5 MB, free: 8.66 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001511/2.805, allocations: 0.6496 MB / 420.1 MB, free: 7.984 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00213/2.808, allocations: 1.189 MB / 421.3 MB, free: 6.77 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003821/2.808, allocations: 160.3 kB / 421.5 MB, free: 6.594 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/2.808, allocations: 11.98 kB / 421.5 MB, free: 6.582 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007694/2.809, allocations: 27.98 kB / 421.5 MB, free: 6.555 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/2.809, allocations: 27.95 kB / 421.6 MB, free: 6.527 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.391e-05/2.809, allocations: 11.98 kB / 421.6 MB, free: 6.516 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.000576/2.81, allocations: 283 kB / 421.8 MB, free: 6.242 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001674/2.811, allocations: 119.5 kB / 422 MB, free: 6.125 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 16 (integrator.y,inertia.phi,inertia.w,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,PI.x,PID.I.y,PID.D.x,PID1.I.y,PID1.D.x,Wsec.y,Vsec.y,Asec.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.0002062/2.812, allocations: 103.2 kB / 422.1 MB, free: 6.016 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009836/2.813, allocations: 315.8 kB / 422.4 MB, free: 5.707 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/2.813, allocations: 0.875 kB / 422.4 MB, free: 5.707 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004068/2.813, allocations: 151.9 kB / 422.5 MB, free: 5.559 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001399/2.814, allocations: 120.8 kB / 422.6 MB, free: 5.445 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002943/2.817, allocations: 0.9566 MB / 423.6 MB, free: 4.457 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001077/2.818, allocations: 0.9705 MB / 424.6 MB, free: 3.465 MB / 346.7 MB Notification: Performance of SimCode: time 1.113e-06/2.819, allocations: 0 / 424.6 MB, free: 3.465 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Blocks.UnitDeduction_res.mat does not exist to compare? outputFormat=mat