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 2.025/2.025, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.122e-05/2.139e-05, allocations: 0 / 267.6 MB, free: 5.328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1063, allocations: 48.69 MB / 316.3 MB, free: 4.539 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4471/0.5534, allocations: 83.19 MB / 399.5 MB, free: 9.168 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/0.5538, allocations: 64.34 kB / 399.5 MB, free: 9.137 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09894/0.6527, allocations: 19.82 MB / 419.4 MB, free: 8.539 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.6528, allocations: 0 / 419.4 MB, free: 8.539 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.431e-05/0.6529, allocations: 23.94 kB / 419.4 MB, free: 8.516 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.002836/0.6557, allocations: 0.92 MB / 420.3 MB, free: 7.59 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.6558, allocations: 12.02 kB / 420.3 MB, free: 7.578 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002828/0.6561, allocations: 91.02 kB / 420.4 MB, free: 7.488 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001514/0.6576, allocations: 0.5344 MB / 421 MB, free: 6.977 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.016e-05/0.6577, allocations: 12 kB / 421 MB, free: 6.965 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/0.6578, allocations: 28 kB / 421 MB, free: 6.938 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009486/0.6588, allocations: 317.5 kB / 421.3 MB, free: 6.738 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.6598, allocations: 431 kB / 421.7 MB, free: 6.387 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.866e-05/0.6599, allocations: 4 kB / 421.7 MB, free: 6.383 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.492e-05/0.6599, allocations: 3.938 kB / 421.7 MB, free: 6.379 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.89e-05/0.66, allocations: 11.95 kB / 421.7 MB, free: 6.367 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005005/0.665, allocations: 1.853 MB / 423.6 MB, free: 4.777 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/0.6662, allocations: 448.5 kB / 424 MB, free: 4.449 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004319/0.6666, allocations: 184.5 kB / 424.2 MB, free: 4.324 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.161e-05/0.6667, allocations: 8 kB / 424.2 MB, free: 4.316 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.6668, allocations: 42.34 kB / 424.3 MB, free: 4.27 MB / 346.7 MB Notification: Performance of pre-optimization done (n=42): time 3.416e-06/0.6668, allocations: 0 / 424.3 MB, free: 4.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=43): time 0.002025/0.6688, allocations: 0.731 MB / 425 MB, free: 3.559 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.082e-05/0.6689, allocations: 162.2 kB / 425.2 MB, free: 3.363 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000836/0.6698, allocations: 455.6 kB / 425.6 MB, free: 2.91 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.937e-05/0.6699, allocations: 25.7 kB / 425.6 MB, free: 2.879 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003019/0.6702, allocations: 342.7 kB / 426 MB, free: 2.543 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002367/0.6704, allocations: 161.6 kB / 426.1 MB, free: 2.383 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.6705, allocations: 8.094 kB / 426.1 MB, free: 2.375 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.6707, allocations: 330.8 kB / 426.4 MB, free: 2.043 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005241/0.6712, allocations: 173.1 kB / 426.6 MB, free: 1.875 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006264/0.6719, allocations: 292.7 kB / 426.9 MB, free: 1.547 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005825/0.6725, allocations: 213.2 kB / 427.1 MB, free: 1.34 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.6725, allocations: 4.031 kB / 427.1 MB, free: 1.336 MB / 346.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001643/0.6741, allocations: 0.5271 MB / 427.6 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.6742, allocations: 8 kB / 427.6 MB, free: 0.793 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.6742, allocations: 4 kB / 427.6 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003351/0.6746, allocations: 61.06 kB / 427.7 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001809/0.6764, allocations: 191.8 kB / 427.9 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00205/0.6785, allocations: 1.447 MB / 429.3 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001179/0.6797, allocations: 79.78 kB / 429.4 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.761e-05/0.6798, allocations: 23.98 kB / 429.4 MB, free: 14.87 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.0002098/0.68, allocations: 120.8 kB / 429.6 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001255/0.6813, allocations: 432.7 kB / 430 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002065/0.6815, allocations: 71.23 kB / 430.1 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002829/0.6818, allocations: 73.17 kB / 430.1 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.6818, allocations: 4.094 kB / 430.1 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.6818, allocations: 7.922 kB / 430.1 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.6819, allocations: 4 kB / 430.1 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001751/0.6836, allocations: 0.7326 MB / 430.9 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.6837, allocations: 4 kB / 430.9 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001356/0.685, allocations: 111.9 kB / 431 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-05/0.6851, allocations: 4 kB / 431 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.99e-05/0.6851, allocations: 8 kB / 431 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.766e-06/0.6852, allocations: 4 kB / 431 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.6852, allocations: 4 kB / 431 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001979/0.6872, allocations: 0.9375 MB / 431.9 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004514/0.6877, allocations: 196.2 kB / 432.1 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/0.6878, allocations: 4 kB / 432.1 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/0.6889, allocations: 59.89 kB / 432.2 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000184/0.6891, allocations: 35.94 kB / 432.2 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-05/0.6892, allocations: 20 kB / 432.3 MB, free: 11.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000693/0.6899, allocations: 355.2 kB / 432.6 MB, free: 11.61 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.6899, allocations: 0 / 432.6 MB, free: 11.61 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009053/0.6908, allocations: 96 kB / 432.7 MB, free: 11.51 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.002349/0.6932, allocations: 1.64 MB / 434.3 MB, free: 9.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001609/0.6948, allocations: 0.534 MB / 434.9 MB, free: 9.297 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.6949, allocations: 8.062 kB / 434.9 MB, free: 9.289 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005683/0.6955, allocations: 203.8 kB / 435.1 MB, free: 9.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001477/0.6969, allocations: 149.7 kB / 435.2 MB, free: 8.945 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004257/0.7012, allocations: 1.319 MB / 436.5 MB, free: 7.574 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000686/0.702, allocations: 0.9414 MB / 437.5 MB, free: 6.605 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007117/0.7027, allocations: 243.3 kB / 437.7 MB, free: 6.367 MB / 362.7 MB Notification: Performance of SimCode: time 1.353e-06/0.7027, allocations: 0 / 437.7 MB, free: 6.367 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.967/3.67, allocations: 11.74 MB / 449.5 MB, free: 10.63 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