Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialState,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Blocks_Continuous_InitialState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.938/1.938, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.022e-05/5.042e-05, allocations: 8 kB / 273.1 MB, free: 0.6562 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1075, allocations: 48.7 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4052/0.5127, allocations: 83.73 MB / 405.6 MB, free: 6.074 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/0.5131, allocations: 66.52 kB / 405.6 MB, free: 6.012 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1402/0.6533, allocations: 27.97 MB / 433.6 MB, free: 9.969 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.6534, allocations: 448 / 433.6 MB, free: 9.969 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.925e-05/0.6535, allocations: 23.88 kB / 433.6 MB, free: 9.945 MB / 362.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.002974/0.6564, allocations: 0.919 MB / 434.5 MB, free: 8.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/0.6565, allocations: 8.031 kB / 434.5 MB, free: 8.973 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001895/0.6567, allocations: 82.53 kB / 434.6 MB, free: 8.883 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003171/0.6571, allocations: 83.06 kB / 434.7 MB, free: 8.801 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001683/0.6588, allocations: 0.5383 MB / 435.2 MB, free: 8.223 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.208e-05/0.6589, allocations: 28.78 kB / 435.3 MB, free: 8.195 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001691/0.659, allocations: 48 kB / 435.3 MB, free: 8.148 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/0.6604, allocations: 495.5 kB / 435.8 MB, free: 7.633 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.298e-05/0.6604, allocations: 7.859 kB / 435.8 MB, free: 7.625 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.363e-05/0.6605, allocations: 16 kB / 435.8 MB, free: 7.609 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.829e-05/0.6606, allocations: 12 kB / 435.8 MB, free: 7.598 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.6616, allocations: 338 kB / 436.2 MB, free: 7.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005836/0.6675, allocations: 1.982 MB / 438.1 MB, free: 5.211 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001349/0.6689, allocations: 468 kB / 438.6 MB, free: 4.727 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005125/0.6694, allocations: 202.6 kB / 438.8 MB, free: 4.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.763e-05/0.6695, allocations: 4.281 kB / 438.8 MB, free: 4.516 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/0.6696, allocations: 38.56 kB / 438.8 MB, free: 4.469 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 3.487e-06/0.6696, allocations: 3.938 kB / 438.8 MB, free: 4.465 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.002271/0.6719, allocations: 0.7513 MB / 439.6 MB, free: 3.703 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.805e-05/0.672, allocations: 174.2 kB / 439.8 MB, free: 3.496 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000976/0.673, allocations: 0.4918 MB / 440.3 MB, free: 3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001145/0.6732, allocations: 37.7 kB / 440.3 MB, free: 2.957 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003015/0.6735, allocations: 338.9 kB / 440.6 MB, free: 2.625 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002325/0.6737, allocations: 169.5 kB / 440.8 MB, free: 2.457 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.115e-05/0.6738, allocations: 19.94 kB / 440.8 MB, free: 2.438 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.6739, allocations: 330.8 kB / 441.1 MB, free: 2.105 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005933/0.6745, allocations: 197.1 kB / 441.3 MB, free: 1.914 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007438/0.6753, allocations: 313.8 kB / 441.6 MB, free: 1.566 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006542/0.676, allocations: 224.9 kB / 441.8 MB, free: 1.352 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.676, allocations: 0 / 441.8 MB, free: 1.352 MB / 362.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001567/0.6776, allocations: 0.5651 MB / 442.4 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.808e-05/0.6776, allocations: 8 kB / 442.4 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.6776, allocations: 4 kB / 442.4 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.606e-05/0.6777, allocations: 4 kB / 442.4 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/0.679, allocations: 152.1 kB / 442.6 MB, free: 0.6172 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.273e-05/0.679, allocations: 8 kB / 442.6 MB, free: 0.6094 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/0.6801, allocations: 91.56 kB / 442.7 MB, free: 0.5195 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.668e-05/0.6802, allocations: 20 kB / 442.7 MB, free: 0.5 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.0002059/0.6804, allocations: 136.8 kB / 442.8 MB, free: 368 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002165/0.6806, allocations: 67.16 kB / 442.9 MB, free: 300 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002782/0.6809, allocations: 85.41 kB / 443 MB, free: 212 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.178e-06/0.6809, allocations: 4 kB / 443 MB, free: 208 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.681, allocations: 8 kB / 443 MB, free: 200 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.681, allocations: 0 / 443 MB, free: 200 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001778/0.6828, allocations: 0.7946 MB / 443.8 MB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.6828, allocations: 0 / 443.8 MB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001407/0.6842, allocations: 115.9 kB / 443.9 MB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.798e-06/0.6843, allocations: 4 kB / 443.9 MB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-05/0.6844, allocations: 19.98 kB / 443.9 MB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.042e-06/0.6844, allocations: 0 / 443.9 MB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.6844, allocations: 0 / 443.9 MB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0021/0.6865, allocations: 0.9726 MB / 444.9 MB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004374/0.687, allocations: 196.2 kB / 445.1 MB, free: 13.99 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001568/0.6871, allocations: 19.94 kB / 445.1 MB, free: 13.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/0.6882, allocations: 67.94 kB / 445.2 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/0.6884, allocations: 39.8 kB / 445.2 MB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.157e-05/0.6885, allocations: 8 kB / 445.2 MB, free: 13.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007758/0.6893, allocations: 403.2 kB / 445.6 MB, free: 13.47 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6893, allocations: 0 / 445.6 MB, free: 13.47 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008032/0.6901, allocations: 116 kB / 445.7 MB, free: 13.36 MB / 378.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.002542/0.6927, allocations: 1.671 MB / 447.4 MB, free: 11.65 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001362/0.6941, allocations: 464 kB / 447.8 MB, free: 11.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.6941, allocations: 0 / 447.8 MB, free: 11.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006125/0.6947, allocations: 224.5 kB / 448.1 MB, free: 10.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/0.6962, allocations: 162.7 kB / 448.2 MB, free: 10.83 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004202/0.7004, allocations: 1.346 MB / 449.6 MB, free: 9.418 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006721/0.7012, allocations: 0.9423 MB / 450.5 MB, free: 8.449 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006878/0.7019, allocations: 239.4 kB / 450.7 MB, free: 8.219 MB / 378.7 MB Notification: Performance of SimCode: time 3.326e-06/0.7019, allocations: 0 / 450.7 MB, free: 8.219 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.595/3.297, allocations: 10.76 MB / 461.5 MB, free: 13.46 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.Continuous_InitialState_res.mat does not exist to compare? outputFormat=mat