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.994/1.994, allocations: 209.3 MB / 221.9 MB, free: 1.922 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.066e-05/5.089e-05, allocations: 0 / 273.1 MB, free: 0.6523 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1082, allocations: 48.7 MB / 321.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4198/0.528, allocations: 83.6 MB / 405.4 MB, free: 6.34 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/0.5283, allocations: 63.95 kB / 405.5 MB, free: 6.277 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1006/0.6289, allocations: 19.96 MB / 425.4 MB, free: 2.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.298e-06/0.629, allocations: 4 kB / 425.4 MB, free: 2.266 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.258e-05/0.6291, allocations: 19.94 kB / 425.5 MB, free: 2.246 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.002734/0.6318, allocations: 0.9229 MB / 426.4 MB, free: 1.277 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.6319, allocations: 8.031 kB / 426.4 MB, free: 1.27 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001678/0.632, allocations: 74.53 kB / 426.5 MB, free: 1.188 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002283/0.6323, allocations: 87.02 kB / 426.6 MB, free: 1.102 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/0.6338, allocations: 0.5305 MB / 427.1 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.052e-05/0.6339, allocations: 36.78 kB / 427.1 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/0.6341, allocations: 52 kB / 427.2 MB, free: 456 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/0.6353, allocations: 483.5 kB / 427.6 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.172e-05/0.6354, allocations: 11.94 kB / 427.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.81e-05/0.6355, allocations: 16 kB / 427.7 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.6355, allocations: 12 kB / 427.7 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.6366, allocations: 338.1 kB / 428 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005511/0.6421, allocations: 1.939 MB / 430 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001338/0.6435, allocations: 468.1 kB / 430.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005273/0.644, allocations: 195 kB / 430.6 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.101e-05/0.6441, allocations: 11.86 kB / 430.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.774e-05/0.6442, allocations: 42.56 kB / 430.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 3.316e-06/0.6442, allocations: 0 / 430.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.002271/0.6465, allocations: 0.7629 MB / 431.4 MB, free: 12.04 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/0.6466, allocations: 174.2 kB / 431.6 MB, free: 11.83 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009883/0.6476, allocations: 499.7 kB / 432.1 MB, free: 11.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.318e-05/0.6477, allocations: 37.7 kB / 432.1 MB, free: 11.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003705/0.6481, allocations: 342.8 kB / 432.4 MB, free: 10.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002254/0.6484, allocations: 169.5 kB / 432.6 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-05/0.6484, allocations: 8 kB / 432.6 MB, free: 10.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.6486, allocations: 342.7 kB / 433 MB, free: 10.44 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005751/0.6492, allocations: 189.1 kB / 433.1 MB, free: 10.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006851/0.6499, allocations: 301.9 kB / 433.4 MB, free: 9.922 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006389/0.6505, allocations: 220.9 kB / 433.6 MB, free: 9.711 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.6505, allocations: 0 / 433.6 MB, free: 9.711 MB / 362.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.00177/0.6523, allocations: 0.5856 MB / 434.2 MB, free: 9.117 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.6524, allocations: 8 kB / 434.2 MB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.6524, allocations: 4 kB / 434.2 MB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003436/0.6527, allocations: 60.75 kB / 434.3 MB, free: 9.043 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001745/0.6545, allocations: 188.1 kB / 434.5 MB, free: 8.859 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001975/0.6565, allocations: 1.495 MB / 436 MB, free: 7.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/0.6578, allocations: 99.77 kB / 436.1 MB, free: 7.133 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.296e-05/0.6579, allocations: 27.89 kB / 436.1 MB, free: 7.105 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.0002179/0.6581, allocations: 124.9 kB / 436.2 MB, free: 6.977 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002241/0.6583, allocations: 75.16 kB / 436.3 MB, free: 6.902 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002708/0.6586, allocations: 81.42 kB / 436.4 MB, free: 6.816 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.6586, allocations: 4 kB / 436.4 MB, free: 6.812 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.6586, allocations: 3.938 kB / 436.4 MB, free: 6.809 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.6587, allocations: 7.969 kB / 436.4 MB, free: 6.801 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001735/0.6604, allocations: 0.7985 MB / 437.2 MB, free: 5.945 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.6604, allocations: 0 / 437.2 MB, free: 5.945 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001303/0.6617, allocations: 115.9 kB / 437.3 MB, free: 5.832 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.077e-05/0.6618, allocations: 4 kB / 437.3 MB, free: 5.828 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.721e-05/0.6618, allocations: 12 kB / 437.3 MB, free: 5.816 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.305e-06/0.6619, allocations: 4 kB / 437.3 MB, free: 5.812 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.6619, allocations: 3.938 kB / 437.3 MB, free: 5.809 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002008/0.6639, allocations: 0.9688 MB / 438.3 MB, free: 4.805 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000395/0.6643, allocations: 196.2 kB / 438.5 MB, free: 4.594 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/0.6645, allocations: 15.95 kB / 438.5 MB, free: 4.578 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/0.6655, allocations: 67.94 kB / 438.6 MB, free: 4.512 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/0.6657, allocations: 35.94 kB / 438.6 MB, free: 4.477 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-05/0.6657, allocations: 15.98 kB / 438.6 MB, free: 4.461 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007213/0.6665, allocations: 395.2 kB / 439 MB, free: 4.078 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6665, allocations: 0 / 439 MB, free: 4.078 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007417/0.6672, allocations: 116 kB / 439.1 MB, free: 3.965 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.00264/0.6699, allocations: 1.678 MB / 440.8 MB, free: 2.254 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001793/0.6717, allocations: 0.5656 MB / 441.4 MB, free: 1.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.6718, allocations: 4 kB / 441.4 MB, free: 1.676 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000637/0.6724, allocations: 213.2 kB / 441.6 MB, free: 1.469 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001389/0.6738, allocations: 158.1 kB / 441.7 MB, free: 1.316 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004071/0.6779, allocations: 1.357 MB / 443.1 MB, free: 15.9 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007151/0.6787, allocations: 0.9489 MB / 444 MB, free: 14.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006829/0.6794, allocations: 239.4 kB / 444.3 MB, free: 14.69 MB / 378.7 MB Notification: Performance of SimCode: time 1.473e-06/0.6794, allocations: 0 / 444.3 MB, free: 14.69 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.743/3.423, allocations: 11.86 MB / 456.1 MB, free: 2.832 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