Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.873/1.873, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.863e-05/2.862e-05, allocations: 0 / 273.1 MB, free: 0.6445 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0999/0.09995, allocations: 48.69 MB / 321.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4247/0.5247, allocations: 83.35 MB / 405.2 MB, free: 6.574 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/0.525, allocations: 67.91 kB / 405.3 MB, free: 6.508 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07194/0.597, allocations: 14.57 MB / 419.8 MB, free: 7.926 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5971, allocations: 0 / 419.8 MB, free: 7.926 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.187e-05/0.5971, allocations: 23.94 kB / 419.8 MB, free: 7.902 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.002912/0.6001, allocations: 0.9154 MB / 420.8 MB, free: 6.938 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.6001, allocations: 8.031 kB / 420.8 MB, free: 6.93 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001652/0.6003, allocations: 86.5 kB / 420.8 MB, free: 6.836 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002877/0.6006, allocations: 94.92 kB / 420.9 MB, free: 6.742 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001539/0.6022, allocations: 0.5266 MB / 421.5 MB, free: 6.176 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.569e-05/0.6022, allocations: 32.78 kB / 421.5 MB, free: 6.145 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001421/0.6024, allocations: 51.91 kB / 421.6 MB, free: 6.094 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.6037, allocations: 490 kB / 422 MB, free: 5.586 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.672e-05/0.6037, allocations: 0 / 422 MB, free: 5.586 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.976e-05/0.6038, allocations: 19.94 kB / 422 MB, free: 5.566 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.079e-05/0.6038, allocations: 8 kB / 422.1 MB, free: 5.559 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/0.6048, allocations: 336.9 kB / 422.4 MB, free: 5.227 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005569/0.6104, allocations: 1.971 MB / 424.4 MB, free: 3.184 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/0.6118, allocations: 460 kB / 424.8 MB, free: 2.707 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005085/0.6123, allocations: 198.6 kB / 425 MB, free: 2.504 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.577e-05/0.6124, allocations: 4 kB / 425 MB, free: 2.5 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.6125, allocations: 42.56 kB / 425 MB, free: 2.449 MB / 346.7 MB Notification: Performance of pre-optimization done (n=42): time 5.26e-06/0.6125, allocations: 3.984 kB / 425 MB, free: 2.445 MB / 346.7 MB Notification: Performance of matching and sorting (n=43): time 0.002227/0.6147, allocations: 0.7593 MB / 425.8 MB, free: 1.676 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/0.6149, allocations: 178.1 kB / 426 MB, free: 1.465 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009654/0.6158, allocations: 499.7 kB / 426.5 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.055e-05/0.6159, allocations: 37.7 kB / 426.5 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003093/0.6162, allocations: 342.8 kB / 426.8 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002133/0.6165, allocations: 169.5 kB / 427 MB, free: 436 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.144e-05/0.6165, allocations: 8 kB / 427 MB, free: 428 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.6167, allocations: 334.8 kB / 427.3 MB, free: 84 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005994/0.6173, allocations: 205 kB / 427.5 MB, free: 15.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006977/0.618, allocations: 304.7 kB / 427.8 MB, free: 15.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006412/0.6187, allocations: 228.7 kB / 428.1 MB, free: 15.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.6187, allocations: 0 / 428.1 MB, free: 15.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0016/0.6203, allocations: 0.5536 MB / 428.6 MB, free: 14.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.6204, allocations: 8 kB / 428.6 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.6204, allocations: 4 kB / 428.6 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.645e-05/0.6204, allocations: 7.984 kB / 428.6 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/0.6217, allocations: 148.1 kB / 428.8 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.021e-05/0.6217, allocations: 8 kB / 428.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/0.6228, allocations: 91.53 kB / 428.9 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.425e-05/0.6229, allocations: 20 kB / 428.9 MB, free: 14.48 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.0002195/0.6231, allocations: 140.8 kB / 429 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002116/0.6234, allocations: 71.14 kB / 429.1 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000264/0.6236, allocations: 85.36 kB / 429.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.6237, allocations: 4 kB / 429.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.6237, allocations: 8 kB / 429.2 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.998e-06/0.6237, allocations: 3.984 kB / 429.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001727/0.6254, allocations: 0.7829 MB / 430 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.6255, allocations: 0 / 430 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001355/0.6268, allocations: 119.9 kB / 430.1 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.111e-05/0.6268, allocations: 4 kB / 430.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.75e-05/0.6269, allocations: 11.98 kB / 430.1 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.627, allocations: 4 kB / 430.1 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.627, allocations: 0 / 430.1 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/0.629, allocations: 0.9765 MB / 431.1 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003855/0.6294, allocations: 192.2 kB / 431.3 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001413/0.6296, allocations: 19.98 kB / 431.3 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/0.6307, allocations: 63.94 kB / 431.4 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/0.6309, allocations: 43.89 kB / 431.4 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.905e-05/0.6309, allocations: 8 kB / 431.4 MB, free: 11.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007895/0.6317, allocations: 403.2 kB / 431.8 MB, free: 11.45 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.6318, allocations: 0 / 431.8 MB, free: 11.45 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000811/0.6326, allocations: 116 kB / 431.9 MB, free: 11.33 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.002538/0.6351, allocations: 1.659 MB / 433.6 MB, free: 9.637 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001371/0.6366, allocations: 468.2 kB / 434 MB, free: 9.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.6366, allocations: 0 / 434 MB, free: 9.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006054/0.6372, allocations: 215.5 kB / 434.3 MB, free: 8.973 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001426/0.6386, allocations: 163.8 kB / 434.4 MB, free: 8.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004022/0.6427, allocations: 1.357 MB / 435.8 MB, free: 7.402 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007081/0.6434, allocations: 0.945 MB / 436.7 MB, free: 6.434 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006382/0.6441, allocations: 239.3 kB / 436.9 MB, free: 6.199 MB / 362.7 MB Notification: Performance of SimCode: time 8.42e-07/0.6441, allocations: 0 / 436.9 MB, free: 6.199 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.581/3.225, allocations: 10.71 MB / 447.7 MB, free: 11.5 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.Continuous_res.mat does not exist to compare? outputFormat=mat