Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_SteadyState,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Blocks_Continuous_SteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.859/1.859, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.338e-05/4.351e-05, allocations: 3.938 kB / 273.1 MB, free: 0.6523 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1012, allocations: 48.7 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3989/0.5002, allocations: 83.61 MB / 405.5 MB, free: 6.219 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/0.5005, allocations: 66.72 kB / 405.5 MB, free: 6.156 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09952/0.6, allocations: 19.95 MB / 425.5 MB, free: 2.156 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.689e-06/0.6001, allocations: 0 / 425.5 MB, free: 2.156 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.25e-05/0.6002, allocations: 19.94 kB / 425.5 MB, free: 2.137 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.002928/0.6031, allocations: 0.9229 MB / 426.4 MB, free: 1.168 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.6032, allocations: 8.031 kB / 426.4 MB, free: 1.16 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001609/0.6033, allocations: 82.47 kB / 426.5 MB, free: 1.07 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002608/0.6036, allocations: 87.02 kB / 426.6 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001527/0.6052, allocations: 0.5266 MB / 427.1 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.294e-05/0.6052, allocations: 36.78 kB / 427.2 MB, free: 392 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001436/0.6054, allocations: 51.94 kB / 427.2 MB, free: 340 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/0.6066, allocations: 482 kB / 427.7 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/0.6067, allocations: 3.938 kB / 427.7 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-05/0.6068, allocations: 20 kB / 427.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.9e-05/0.6068, allocations: 12 kB / 427.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009933/0.6078, allocations: 336.8 kB / 428 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005322/0.6131, allocations: 1.939 MB / 430 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001323/0.6145, allocations: 456 kB / 430.4 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005276/0.6151, allocations: 199 kB / 430.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.523e-05/0.6152, allocations: 4 kB / 430.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/0.6152, allocations: 46.42 kB / 430.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 6.292e-06/0.6152, allocations: 96 / 430.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.002202/0.6174, allocations: 0.767 MB / 431.4 MB, free: 11.94 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.75e-05/0.6176, allocations: 158.2 kB / 431.6 MB, free: 11.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009544/0.6185, allocations: 0.4958 MB / 432.1 MB, free: 11.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.773e-05/0.6186, allocations: 37.7 kB / 432.1 MB, free: 11.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003062/0.619, allocations: 350.8 kB / 432.5 MB, free: 10.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002131/0.6192, allocations: 161.6 kB / 432.6 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.775e-05/0.6192, allocations: 12 kB / 432.6 MB, free: 10.69 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.6194, allocations: 334.8 kB / 433 MB, free: 10.35 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005604/0.62, allocations: 189.1 kB / 433.1 MB, free: 10.17 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006672/0.6206, allocations: 296.7 kB / 433.4 MB, free: 9.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006114/0.6213, allocations: 224.7 kB / 433.7 MB, free: 9.625 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.6213, allocations: 4 kB / 433.7 MB, free: 9.621 MB / 362.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001693/0.623, allocations: 0.5738 MB / 434.2 MB, free: 9.039 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.623, allocations: 4 kB / 434.2 MB, free: 9.035 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.6231, allocations: 4 kB / 434.2 MB, free: 9.031 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003295/0.6234, allocations: 57.12 kB / 434.3 MB, free: 8.973 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001758/0.6252, allocations: 203.8 kB / 434.5 MB, free: 8.773 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001865/0.6271, allocations: 1.487 MB / 436 MB, free: 7.152 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/0.6283, allocations: 91.77 kB / 436.1 MB, free: 7.062 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.527e-05/0.6283, allocations: 23.95 kB / 436.1 MB, free: 7.039 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 (67): * Single equations (assignments): 66 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002218/0.6286, allocations: 140.8 kB / 436.2 MB, free: 6.895 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002025/0.6288, allocations: 67.16 kB / 436.3 MB, free: 6.828 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002461/0.629, allocations: 81.42 kB / 436.4 MB, free: 6.742 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.6291, allocations: 4 kB / 436.4 MB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.6291, allocations: 7.938 kB / 436.4 MB, free: 6.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.6291, allocations: 3.984 kB / 436.4 MB, free: 6.727 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001756/0.6309, allocations: 0.7946 MB / 437.2 MB, free: 5.875 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.6309, allocations: 0 / 437.2 MB, free: 5.875 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001334/0.6322, allocations: 115.9 kB / 437.3 MB, free: 5.762 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.12e-05/0.6323, allocations: 4 kB / 437.3 MB, free: 5.758 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.768e-05/0.6323, allocations: 8 kB / 437.3 MB, free: 5.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.461e-06/0.6324, allocations: 4 kB / 437.3 MB, free: 5.746 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.6324, allocations: 3.938 kB / 437.3 MB, free: 5.742 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001994/0.6344, allocations: 0.9765 MB / 438.3 MB, free: 4.727 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003841/0.6348, allocations: 196.3 kB / 438.5 MB, free: 4.516 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/0.6349, allocations: 15.95 kB / 438.5 MB, free: 4.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.636, allocations: 63.94 kB / 438.6 MB, free: 4.438 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/0.6362, allocations: 39.94 kB / 438.6 MB, free: 4.398 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-05/0.6362, allocations: 8 kB / 438.6 MB, free: 4.391 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007325/0.637, allocations: 407.2 kB / 439 MB, free: 3.996 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.637, allocations: 0 / 439 MB, free: 3.996 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000826/0.6378, allocations: 116 kB / 439.1 MB, free: 3.883 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.002374/0.6402, allocations: 1.675 MB / 440.8 MB, free: 2.176 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001673/0.6419, allocations: 0.5498 MB / 441.3 MB, free: 1.617 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.6419, allocations: 0.625 kB / 441.3 MB, free: 1.617 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005886/0.6425, allocations: 219.1 kB / 441.6 MB, free: 1.406 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001368/0.6439, allocations: 154.1 kB / 441.7 MB, free: 1.258 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003974/0.6479, allocations: 1.361 MB / 443.1 MB, free: 15.84 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006619/0.6486, allocations: 0.9529 MB / 444 MB, free: 14.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006282/0.6493, allocations: 231.4 kB / 444.3 MB, free: 14.64 MB / 378.7 MB Notification: Performance of SimCode: time 1.092e-06/0.6493, allocations: 0 / 444.3 MB, free: 14.64 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.796/3.446, allocations: 11.82 MB / 456.1 MB, free: 2.824 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.Continuous_SteadyState_res.mat does not exist to compare? outputFormat=mat