Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.535/2.535, allocations: 235 MB / 247.6 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.731e-05/4.737e-05, allocations: 4 kB / 305 MB, free: 5.566 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5327/0.5328, allocations: 54.86 MB / 359.9 MB, free: 2.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1852/0.718, allocations: 89.56 MB / 449.4 MB, free: 7.297 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003253/0.7184, allocations: 63.97 kB / 449.5 MB, free: 7.234 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07156/0.79, allocations: 13.7 MB / 463.2 MB, free: 9.539 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.033e-06/0.7901, allocations: 4 kB / 463.2 MB, free: 9.535 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.625e-05/0.7902, allocations: 23.94 kB / 463.2 MB, free: 9.512 MB / 394.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.003122/0.7933, allocations: 0.8959 MB / 464.1 MB, free: 8.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/0.7934, allocations: 8.031 kB / 464.1 MB, free: 8.562 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002234/0.7936, allocations: 82.52 kB / 464.2 MB, free: 8.473 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003117/0.7939, allocations: 82.97 kB / 464.3 MB, free: 8.391 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001675/0.7956, allocations: 0.5149 MB / 464.8 MB, free: 7.832 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.186e-05/0.7957, allocations: 40.72 kB / 464.8 MB, free: 7.793 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000158/0.7959, allocations: 59.84 kB / 464.9 MB, free: 7.734 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001335/0.7973, allocations: 470.5 kB / 465.3 MB, free: 7.246 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.312e-05/0.7973, allocations: 4 kB / 465.3 MB, free: 7.242 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.753e-05/0.7974, allocations: 20 kB / 465.4 MB, free: 7.223 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/0.7975, allocations: 8 kB / 465.4 MB, free: 7.215 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.7985, allocations: 336.9 kB / 465.7 MB, free: 6.887 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006068/0.8046, allocations: 1.963 MB / 467.7 MB, free: 4.848 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/0.8062, allocations: 465.8 kB / 468.1 MB, free: 4.367 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005616/0.8068, allocations: 193.6 kB / 468.3 MB, free: 4.172 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.861e-05/0.8068, allocations: 8 kB / 468.3 MB, free: 4.164 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/0.8069, allocations: 38.56 kB / 468.3 MB, free: 4.117 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 3.637e-06/0.8069, allocations: 0 / 468.3 MB, free: 4.117 MB / 394.7 MB Notification: Performance of matching and sorting (n=43): time 0.002447/0.8094, allocations: 0.7561 MB / 469.1 MB, free: 3.352 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.8095, allocations: 136.5 kB / 469.2 MB, free: 3.188 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.8106, allocations: 0.4997 MB / 469.7 MB, free: 2.684 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001404/0.8108, allocations: 33.7 kB / 469.8 MB, free: 2.645 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003229/0.8111, allocations: 342.8 kB / 470.1 MB, free: 2.309 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002466/0.8114, allocations: 165.5 kB / 470.3 MB, free: 2.145 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.75e-05/0.8115, allocations: 16 kB / 470.3 MB, free: 2.129 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.8116, allocations: 330.8 kB / 470.6 MB, free: 1.797 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006119/0.8122, allocations: 193.1 kB / 470.8 MB, free: 1.609 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007916/0.8131, allocations: 303.7 kB / 471.1 MB, free: 1.27 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006934/0.8138, allocations: 229.2 kB / 471.3 MB, free: 1.047 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.8138, allocations: 0.9375 kB / 471.3 MB, free: 1.047 MB / 394.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001653/0.8155, allocations: 0.5601 MB / 471.9 MB, free: 496 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005848/0.8161, allocations: 1.049 MB / 472.9 MB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/0.8161, allocations: 3.984 kB / 472.9 MB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.431e-05/0.8161, allocations: 23.86 kB / 473 MB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001413/0.8176, allocations: 143.9 kB / 473.1 MB, free: 15.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.373e-05/0.8176, allocations: 11.94 kB / 473.1 MB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/0.8187, allocations: 87.62 kB / 473.2 MB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.341e-05/0.8188, allocations: 20 kB / 473.2 MB, free: 15.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.8188, allocations: 4 kB / 473.2 MB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001529/0.8204, allocations: 0.5125 MB / 473.7 MB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.8204, allocations: 4.031 kB / 473.7 MB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.8205, allocations: 8 kB / 473.7 MB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/0.8217, allocations: 139.8 kB / 473.9 MB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.859e-05/0.8218, allocations: 11.94 kB / 473.9 MB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006686/0.8225, allocations: 67.66 kB / 474 MB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.838e-05/0.8225, allocations: 16 kB / 474 MB, free: 14.31 MB / 410.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.0002601/0.8228, allocations: 136.8 kB / 474.1 MB, free: 14.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003242/0.8232, allocations: 73.48 kB / 474.2 MB, free: 14.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002989/0.8235, allocations: 85.42 kB / 474.3 MB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.8235, allocations: 4 kB / 474.3 MB, free: 14.01 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/0.8235, allocations: 4 kB / 474.3 MB, free: 14.01 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.8235, allocations: 4 kB / 474.3 MB, free: 14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002001/0.8255, allocations: 0.7906 MB / 475.1 MB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/0.8256, allocations: 0 / 475.1 MB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001481/0.8271, allocations: 115.9 kB / 475.2 MB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.652e-05/0.8272, allocations: 4 kB / 475.2 MB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001044/0.8273, allocations: 12 kB / 475.2 MB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.408e-05/0.8273, allocations: 7.984 kB / 475.2 MB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.8273, allocations: 3.938 kB / 475.2 MB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002222/0.8296, allocations: 0.9656 MB / 476.2 MB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004925/0.8301, allocations: 192.3 kB / 476.4 MB, free: 11.81 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001484/0.8303, allocations: 8 kB / 476.4 MB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.8314, allocations: 67.94 kB / 476.4 MB, free: 11.74 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001731/0.8316, allocations: 39.89 kB / 476.5 MB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.351e-05/0.8316, allocations: 12 kB / 476.5 MB, free: 11.69 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008298/0.8325, allocations: 395.2 kB / 476.9 MB, free: 11.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.8325, allocations: 0 / 476.9 MB, free: 11.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001224/0.8337, allocations: 199.9 kB / 477.1 MB, free: 11.11 MB / 410.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.00265/0.8364, allocations: 1.683 MB / 478.7 MB, free: 9.391 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002183/0.8387, allocations: 0.7219 MB / 479.5 MB, free: 8.668 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.8387, allocations: 0 / 479.5 MB, free: 8.668 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006498/0.8394, allocations: 213.1 kB / 479.7 MB, free: 8.461 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001501/0.8409, allocations: 163.2 kB / 479.8 MB, free: 8.312 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004331/0.8453, allocations: 1.346 MB / 481.2 MB, free: 6.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007037/0.846, allocations: 0.9493 MB / 482.1 MB, free: 5.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007797/0.8468, allocations: 235.3 kB / 482.4 MB, free: 5.703 MB / 410.7 MB Notification: Performance of SimCode: time 1.452e-06/0.8469, allocations: 0 / 482.4 MB, free: 5.703 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.806/3.653, allocations: 10.64 MB / 493 MB, free: 11.07 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Continuous_res.mat does not exist to compare? outputFormat=mat