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 2.039/2.039, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.649e-05/3.663e-05, allocations: 0 / 273.1 MB, free: 0.6602 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1091, allocations: 48.7 MB / 321.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4198/0.529, allocations: 83.34 MB / 405.2 MB, free: 6.5 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/0.5293, allocations: 59.98 kB / 405.2 MB, free: 6.441 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07244/0.6018, allocations: 14.57 MB / 419.8 MB, free: 7.855 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.6018, allocations: 8 kB / 419.8 MB, free: 7.848 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.43e-05/0.6019, allocations: 16 kB / 419.8 MB, free: 7.832 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.002855/0.6048, allocations: 0.9191 MB / 420.7 MB, free: 6.863 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.6049, allocations: 12.03 kB / 420.7 MB, free: 6.852 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001585/0.605, allocations: 82.52 kB / 420.8 MB, free: 6.762 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002647/0.6053, allocations: 86.92 kB / 420.9 MB, free: 6.676 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001647/0.607, allocations: 0.5267 MB / 421.4 MB, free: 6.109 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.666e-05/0.6071, allocations: 32.78 kB / 421.5 MB, free: 6.078 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/0.6072, allocations: 51.91 kB / 421.5 MB, free: 6.027 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/0.6086, allocations: 0.4917 MB / 422 MB, free: 5.508 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/0.6086, allocations: 0 / 422 MB, free: 5.508 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.102e-05/0.6087, allocations: 16 kB / 422 MB, free: 5.492 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/0.6087, allocations: 11.94 kB / 422 MB, free: 5.48 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.6098, allocations: 350 kB / 422.4 MB, free: 5.137 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005795/0.6156, allocations: 1.971 MB / 424.4 MB, free: 3.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/0.617, allocations: 468 kB / 424.8 MB, free: 2.605 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005237/0.6175, allocations: 186.6 kB / 425 MB, free: 2.414 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.906e-05/0.6176, allocations: 12 kB / 425 MB, free: 2.402 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.343e-05/0.6177, allocations: 39 kB / 425 MB, free: 2.355 MB / 346.7 MB Notification: Performance of pre-optimization done (n=42): time 4.088e-06/0.6177, allocations: 0 / 425 MB, free: 2.355 MB / 346.7 MB Notification: Performance of matching and sorting (n=43): time 0.002402/0.6201, allocations: 0.7666 MB / 425.8 MB, free: 1.578 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001369/0.6203, allocations: 166.2 kB / 426 MB, free: 1.379 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/0.6215, allocations: 499.7 kB / 426.5 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001821/0.6217, allocations: 37.7 kB / 426.5 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003511/0.622, allocations: 342.8 kB / 426.8 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002865/0.6223, allocations: 169.5 kB / 427 MB, free: 348 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.108e-05/0.6224, allocations: 11.94 kB / 427 MB, free: 336 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001962/0.6226, allocations: 338.9 kB / 427.3 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006279/0.6233, allocations: 201.1 kB / 427.5 MB, free: 15.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007236/0.624, allocations: 301.9 kB / 427.8 MB, free: 15.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006719/0.6247, allocations: 236.7 kB / 428.1 MB, free: 15.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.6247, allocations: 0 / 428.1 MB, free: 15.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001627/0.6263, allocations: 0.5574 MB / 428.6 MB, free: 14.67 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.6264, allocations: 8 kB / 428.6 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.6264, allocations: 0 / 428.6 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.858e-05/0.6265, allocations: 8 kB / 428.6 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/0.6277, allocations: 152.1 kB / 428.8 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.075e-05/0.6278, allocations: 8 kB / 428.8 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/0.6289, allocations: 91.53 kB / 428.9 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.93e-05/0.629, allocations: 20 kB / 428.9 MB, free: 14.39 MB / 362.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.000208/0.6292, allocations: 140.8 kB / 429 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000217/0.6294, allocations: 71.14 kB / 429.1 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002767/0.6297, allocations: 85.42 kB / 429.2 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.6297, allocations: 7.938 kB / 429.2 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.6297, allocations: 0 / 429.2 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.6298, allocations: 4.047 kB / 429.2 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001824/0.6316, allocations: 0.7946 MB / 430 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.6316, allocations: 0 / 430 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001327/0.633, allocations: 115.9 kB / 430.1 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.319e-05/0.633, allocations: 4 kB / 430.1 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.36e-05/0.6331, allocations: 15.98 kB / 430.1 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.756e-06/0.6331, allocations: 4 kB / 430.1 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.6331, allocations: 0 / 430.1 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002191/0.6353, allocations: 0.9804 MB / 431.1 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004902/0.6359, allocations: 192.2 kB / 431.3 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001477/0.636, allocations: 19.98 kB / 431.3 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/0.6371, allocations: 63.94 kB / 431.4 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001881/0.6374, allocations: 39.89 kB / 431.4 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.235e-05/0.6374, allocations: 12 kB / 431.4 MB, free: 11.72 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008193/0.6383, allocations: 403.2 kB / 431.8 MB, free: 11.33 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6383, allocations: 0 / 431.8 MB, free: 11.33 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008495/0.6391, allocations: 120 kB / 431.9 MB, free: 11.21 MB / 362.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.002558/0.6417, allocations: 1.655 MB / 433.6 MB, free: 9.527 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001421/0.6432, allocations: 475.4 kB / 434.1 MB, free: 9.066 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.6432, allocations: 0 / 434.1 MB, free: 9.066 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006218/0.6438, allocations: 219.8 kB / 434.3 MB, free: 8.852 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/0.6453, allocations: 151.5 kB / 434.4 MB, free: 8.711 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00421/0.6495, allocations: 1.352 MB / 435.8 MB, free: 7.301 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007412/0.6503, allocations: 0.945 MB / 436.7 MB, free: 6.332 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006849/0.651, allocations: 239.3 kB / 437 MB, free: 6.098 MB / 362.7 MB Notification: Performance of SimCode: time 1.343e-06/0.651, allocations: 0 / 437 MB, free: 6.098 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.567/3.218, allocations: 10.76 MB / 447.7 MB, free: 11.34 MB / 378.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