Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.994/1.994, allocations: 209.4 MB / 216.9 MB, free: 6.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.737e-05/2.752e-05, allocations: 4 kB / 267.6 MB, free: 5.324 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1206, allocations: 48.7 MB / 316.3 MB, free: 4.527 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4514/0.5721, allocations: 82.92 MB / 399.2 MB, free: 9.441 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.5724, allocations: 66.72 kB / 399.3 MB, free: 9.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09987/0.6723, allocations: 14.47 MB / 413.8 MB, free: 13.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.6723, allocations: 0 / 413.8 MB, free: 13.32 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.461e-05/0.6724, allocations: 16 kB / 413.8 MB, free: 13.3 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.003241/0.6757, allocations: 0.9257 MB / 414.7 MB, free: 12.38 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.6758, allocations: 8.031 kB / 414.7 MB, free: 12.37 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004578/0.6762, allocations: 94.91 kB / 414.8 MB, free: 12.28 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001841/0.6781, allocations: 0.525 MB / 415.3 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.76e-05/0.6782, allocations: 16 kB / 415.3 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/0.6784, allocations: 39.53 kB / 415.4 MB, free: 11.72 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009872/0.6794, allocations: 308.7 kB / 415.7 MB, free: 11.53 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.6806, allocations: 437.7 kB / 416.1 MB, free: 11.17 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.914e-05/0.6806, allocations: 3.938 kB / 416.1 MB, free: 11.17 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.887e-05/0.6807, allocations: 0 / 416.1 MB, free: 11.17 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.667e-05/0.6807, allocations: 15.95 kB / 416.1 MB, free: 11.15 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006019/0.6868, allocations: 1.885 MB / 418 MB, free: 9.531 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/0.6881, allocations: 452.4 kB / 418.5 MB, free: 9.199 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005008/0.6887, allocations: 183.9 kB / 418.6 MB, free: 9.07 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.656e-05/0.6888, allocations: 8 kB / 418.6 MB, free: 9.062 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.641e-05/0.6888, allocations: 41 kB / 418.7 MB, free: 9.02 MB / 346.7 MB Notification: Performance of pre-optimization done (n=42): time 3.927e-06/0.6888, allocations: 0 / 418.7 MB, free: 9.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=43): time 0.002263/0.6911, allocations: 0.7281 MB / 419.4 MB, free: 8.379 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.6913, allocations: 162.3 kB / 419.6 MB, free: 8.184 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000899/0.6922, allocations: 455.1 kB / 420 MB, free: 7.828 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001668/0.6924, allocations: 25.7 kB / 420 MB, free: 7.797 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002734/0.6927, allocations: 342.8 kB / 420.4 MB, free: 7.562 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002447/0.6929, allocations: 163.3 kB / 420.5 MB, free: 7.422 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-05/0.693, allocations: 3.938 kB / 420.5 MB, free: 7.418 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.6931, allocations: 332.8 kB / 420.9 MB, free: 7.094 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005254/0.6937, allocations: 182.8 kB / 421 MB, free: 6.984 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006134/0.6943, allocations: 296.9 kB / 421.3 MB, free: 6.734 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005706/0.6949, allocations: 219 kB / 421.5 MB, free: 6.594 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.6949, allocations: 0 / 421.5 MB, free: 6.594 MB / 346.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.00144/0.6964, allocations: 0.5173 MB / 422.1 MB, free: 6.203 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/0.6964, allocations: 4 kB / 422.1 MB, free: 6.199 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.6965, allocations: 4 kB / 422.1 MB, free: 6.195 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.181e-05/0.6965, allocations: 4 kB / 422.1 MB, free: 6.191 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001355/0.6979, allocations: 155.5 kB / 422.2 MB, free: 6.043 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-05/0.6979, allocations: 4 kB / 422.2 MB, free: 6.039 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/0.6991, allocations: 83.53 kB / 422.3 MB, free: 5.957 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.6992, allocations: 22.94 kB / 422.3 MB, free: 5.941 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 68 * 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.0002188/0.6995, allocations: 112.8 kB / 422.4 MB, free: 5.824 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001288/0.7008, allocations: 437 kB / 422.9 MB, free: 5.492 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001979/0.701, allocations: 71.09 kB / 422.9 MB, free: 5.422 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000262/0.7013, allocations: 71.55 kB / 423 MB, free: 5.375 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/0.7013, allocations: 11.98 kB / 423 MB, free: 5.363 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.7013, allocations: 0 / 423 MB, free: 5.363 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.7013, allocations: 4.078 kB / 423 MB, free: 5.359 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001747/0.7031, allocations: 0.7441 MB / 423.8 MB, free: 4.648 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.7031, allocations: 0 / 423.8 MB, free: 4.648 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001331/0.7045, allocations: 107.9 kB / 423.9 MB, free: 4.543 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.627e-05/0.7045, allocations: 8 kB / 423.9 MB, free: 4.535 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.27e-05/0.7046, allocations: 11.98 kB / 423.9 MB, free: 4.523 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.879e-06/0.7047, allocations: 4 kB / 423.9 MB, free: 4.52 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.7047, allocations: 0 / 423.9 MB, free: 4.52 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001999/0.7067, allocations: 0.9342 MB / 424.8 MB, free: 3.551 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004988/0.7072, allocations: 188.3 kB / 425 MB, free: 3.348 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/0.7074, allocations: 11.98 kB / 425 MB, free: 3.336 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/0.7085, allocations: 59.94 kB / 425.1 MB, free: 3.277 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001907/0.7087, allocations: 39.89 kB / 425.1 MB, free: 3.238 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.626e-05/0.7088, allocations: 12 kB / 425.1 MB, free: 3.227 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007026/0.7095, allocations: 355.2 kB / 425.5 MB, free: 2.887 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.7095, allocations: 0 / 425.5 MB, free: 2.887 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001004/0.7106, allocations: 99.94 kB / 425.6 MB, free: 2.789 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 43 * 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.00244/0.713, allocations: 1.636 MB / 427.2 MB, free: 1.121 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001295/0.7144, allocations: 443.8 kB / 427.7 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.7144, allocations: 0 / 427.7 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005931/0.715, allocations: 203.8 kB / 427.9 MB, free: 500 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/0.7166, allocations: 154.2 kB / 428 MB, free: 348 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004505/0.7212, allocations: 1.311 MB / 429.3 MB, free: 14.97 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007074/0.7219, allocations: 0.9489 MB / 430.3 MB, free: 14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000767/0.7227, allocations: 235.4 kB / 430.5 MB, free: 13.77 MB / 362.7 MB Notification: Performance of SimCode: time 1.563e-06/0.7228, allocations: 0 / 430.5 MB, free: 13.77 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.798/3.52, allocations: 10.62 MB / 441.1 MB, free: 3.152 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.Continuous_res.mat does not exist to compare? outputFormat=mat