Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_SteadyState,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Blocks_Continuous_SteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.533/2.533, allocations: 235 MB / 247.6 MB, free: 14.4 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.4e-05/4.402e-05, allocations: 4 kB / 305 MB, free: 5.559 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4506/0.4507, allocations: 54.85 MB / 359.9 MB, free: 2.305 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1936/0.6443, allocations: 89.82 MB / 449.7 MB, free: 7.047 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004821/0.6449, allocations: 63.97 kB / 449.7 MB, free: 6.984 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1048/0.7497, allocations: 19.11 MB / 468.8 MB, free: 3.859 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.7497, allocations: 0 / 468.8 MB, free: 3.859 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.976e-05/0.7499, allocations: 20 kB / 468.9 MB, free: 3.84 MB / 394.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.002841/0.7527, allocations: 0.9036 MB / 469.8 MB, free: 2.891 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.7528, allocations: 12.03 kB / 469.8 MB, free: 2.879 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001728/0.753, allocations: 78.52 kB / 469.9 MB, free: 2.793 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002649/0.7532, allocations: 83.06 kB / 469.9 MB, free: 2.711 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/0.7547, allocations: 0.511 MB / 470.4 MB, free: 2.156 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.576e-05/0.7548, allocations: 40.73 kB / 470.5 MB, free: 2.113 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/0.755, allocations: 55.84 kB / 470.5 MB, free: 2.059 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/0.7563, allocations: 469.1 kB / 471 MB, free: 1.578 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.754e-05/0.7563, allocations: 3.938 kB / 471 MB, free: 1.574 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.447e-05/0.7564, allocations: 20 kB / 471 MB, free: 1.555 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.7564, allocations: 8 kB / 471 MB, free: 1.547 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.7575, allocations: 337 kB / 471.4 MB, free: 1.219 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005586/0.7631, allocations: 1.925 MB / 473.3 MB, free: 15.22 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001372/0.7645, allocations: 460.8 kB / 473.7 MB, free: 14.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005364/0.7651, allocations: 195.5 kB / 473.9 MB, free: 14.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.486e-05/0.7652, allocations: 7.984 kB / 473.9 MB, free: 14.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.627e-05/0.7653, allocations: 39.06 kB / 474 MB, free: 14.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 3.186e-06/0.7653, allocations: 3.938 kB / 474 MB, free: 14.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=43): time 0.002234/0.7675, allocations: 0.7656 MB / 474.7 MB, free: 13.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.393e-05/0.7676, allocations: 136.6 kB / 474.9 MB, free: 13.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009763/0.7686, allocations: 0.4918 MB / 475.4 MB, free: 13.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.182e-05/0.7687, allocations: 37.7 kB / 475.4 MB, free: 13 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003218/0.769, allocations: 342.8 kB / 475.7 MB, free: 12.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002304/0.7693, allocations: 169.5 kB / 475.9 MB, free: 12.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.911e-05/0.7693, allocations: 8 kB / 475.9 MB, free: 12.49 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.7695, allocations: 334.8 kB / 476.2 MB, free: 12.15 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005906/0.7701, allocations: 189.1 kB / 476.4 MB, free: 11.97 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007005/0.7708, allocations: 287.9 kB / 476.7 MB, free: 11.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006553/0.7715, allocations: 231.6 kB / 476.9 MB, free: 11.42 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.7715, allocations: 0 / 476.9 MB, free: 11.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001812/0.7734, allocations: 0.5816 MB / 477.5 MB, free: 10.83 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005074/0.7739, allocations: 1.053 MB / 478.6 MB, free: 9.699 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.7739, allocations: 1.031 kB / 478.6 MB, free: 9.699 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003392/0.7743, allocations: 60.81 kB / 478.6 MB, free: 9.637 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001812/0.7761, allocations: 195.7 kB / 478.8 MB, free: 9.445 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001981/0.7781, allocations: 1.499 MB / 480.3 MB, free: 7.816 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/0.7793, allocations: 91.59 kB / 480.4 MB, free: 7.727 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.61e-05/0.7794, allocations: 20 kB / 480.4 MB, free: 7.707 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.7794, allocations: 8 kB / 480.4 MB, free: 7.699 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001639/0.7811, allocations: 0.5278 MB / 481 MB, free: 7.168 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.7811, allocations: 4 kB / 481 MB, free: 7.164 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002526/0.7813, allocations: 60.77 kB / 481 MB, free: 7.102 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001683/0.783, allocations: 188.1 kB / 481.2 MB, free: 6.918 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.705e-05/0.7831, allocations: 12.59 kB / 481.2 MB, free: 6.906 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006637/0.7837, allocations: 75.64 kB / 481.3 MB, free: 6.832 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.213e-05/0.7838, allocations: 20 kB / 481.3 MB, free: 6.812 MB / 410.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.0002224/0.7841, allocations: 130.5 kB / 481.4 MB, free: 6.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002681/0.7843, allocations: 71.16 kB / 481.5 MB, free: 6.609 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002506/0.7846, allocations: 77.42 kB / 481.6 MB, free: 6.531 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.817e-05/0.7846, allocations: 11.95 kB / 481.6 MB, free: 6.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.7846, allocations: 5.031 kB / 481.6 MB, free: 6.516 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.7847, allocations: 3.984 kB / 481.6 MB, free: 6.512 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001794/0.7865, allocations: 0.7831 MB / 482.4 MB, free: 5.672 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.7865, allocations: 0 / 482.4 MB, free: 5.672 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001365/0.7879, allocations: 115.9 kB / 482.5 MB, free: 5.559 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-05/0.7879, allocations: 7.953 kB / 482.5 MB, free: 5.551 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-05/0.788, allocations: 15.98 kB / 482.5 MB, free: 5.535 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.715e-06/0.788, allocations: 7.938 kB / 482.5 MB, free: 5.527 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.788, allocations: 0 / 482.5 MB, free: 5.527 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002106/0.7901, allocations: 0.961 MB / 483.5 MB, free: 4.535 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003884/0.7905, allocations: 192.2 kB / 483.7 MB, free: 4.328 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001445/0.7907, allocations: 17.39 kB / 483.7 MB, free: 4.312 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/0.7918, allocations: 63.94 kB / 483.8 MB, free: 4.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001667/0.792, allocations: 35.95 kB / 483.8 MB, free: 4.215 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.237e-05/0.792, allocations: 11.98 kB / 483.8 MB, free: 4.203 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007996/0.7928, allocations: 403.2 kB / 484.2 MB, free: 3.812 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.515e-06/0.7929, allocations: 0 / 484.2 MB, free: 3.812 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001238/0.7941, allocations: 191.9 kB / 484.4 MB, free: 3.625 MB / 410.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.002709/0.7968, allocations: 1.668 MB / 486.1 MB, free: 1.918 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002809/0.7997, allocations: 0.9247 MB / 487 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/0.7997, allocations: 1.25 kB / 487 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006796/0.8004, allocations: 207.8 kB / 487.2 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/0.802, allocations: 166 kB / 487.3 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004884/0.8069, allocations: 1.354 MB / 488.7 MB, free: 15.19 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008407/0.8078, allocations: 0.9455 MB / 489.6 MB, free: 14.21 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008288/0.8086, allocations: 235.4 kB / 489.9 MB, free: 13.98 MB / 426.7 MB Notification: Performance of SimCode: time 1.283e-06/0.8087, allocations: 4 kB / 489.9 MB, free: 13.98 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.203/4.012, allocations: 11.78 MB / 0.4899 GB, free: 2.219 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Continuous_SteadyState_res.mat does not exist to compare? outputFormat=mat