Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.018/2.018, allocations: 209.3 MB / 221.5 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.564e-05/4.578e-05, allocations: 4 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1289, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4766/0.6055, allocations: 83.34 MB / 405.2 MB, free: 6.156 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/0.6058, allocations: 63.97 kB / 405.3 MB, free: 6.094 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1076/0.7134, allocations: 14.57 MB / 419.8 MB, free: 7.512 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.7135, allocations: 0 / 419.8 MB, free: 7.512 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001064/0.7136, allocations: 23.94 kB / 419.9 MB, free: 7.488 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.003669/0.7173, allocations: 0.9152 MB / 420.8 MB, free: 6.523 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.768e-05/0.7174, allocations: 12.03 kB / 420.8 MB, free: 6.512 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000198/0.7176, allocations: 78.53 kB / 420.9 MB, free: 6.426 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003289/0.7179, allocations: 90.92 kB / 421 MB, free: 6.336 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002015/0.72, allocations: 0.5228 MB / 421.5 MB, free: 5.773 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.049e-05/0.7201, allocations: 36.78 kB / 421.5 MB, free: 5.738 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001978/0.7203, allocations: 55.89 kB / 421.6 MB, free: 5.684 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/0.7221, allocations: 486 kB / 422.1 MB, free: 5.18 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.65e-05/0.7221, allocations: 7.938 kB / 422.1 MB, free: 5.172 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/0.7223, allocations: 16 kB / 422.1 MB, free: 5.156 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.438e-05/0.7223, allocations: 15.92 kB / 422.1 MB, free: 5.141 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001504/0.7238, allocations: 336.9 kB / 422.4 MB, free: 4.809 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006562/0.7304, allocations: 1.971 MB / 424.4 MB, free: 2.766 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/0.7318, allocations: 460 kB / 424.8 MB, free: 2.289 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000512/0.7324, allocations: 194.6 kB / 425 MB, free: 2.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.338e-05/0.7324, allocations: 4 kB / 425 MB, free: 2.086 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/0.7325, allocations: 42.55 kB / 425.1 MB, free: 2.035 MB / 346.7 MB Notification: Performance of pre-optimization done (n=42): time 3.978e-06/0.7325, allocations: 0 / 425.1 MB, free: 2.035 MB / 346.7 MB Notification: Performance of matching and sorting (n=43): time 0.002238/0.7348, allocations: 0.7672 MB / 425.8 MB, free: 1.258 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.7349, allocations: 162.2 kB / 426 MB, free: 1.062 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.736, allocations: 0.4958 MB / 426.5 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001108/0.7361, allocations: 37.7 kB / 426.5 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003487/0.7365, allocations: 324.4 kB / 426.9 MB, free: 204 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002231/0.7367, allocations: 169.5 kB / 427 MB, free: 32 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.074e-05/0.7368, allocations: 8 kB / 427 MB, free: 24 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002387/0.737, allocations: 390.8 kB / 427.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006001/0.7376, allocations: 197.1 kB / 427.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000703/0.7383, allocations: 300.7 kB / 427.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006528/0.739, allocations: 228.7 kB / 428.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.739, allocations: 4 kB / 428.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001756/0.7408, allocations: 0.6037 MB / 428.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.7408, allocations: 4 kB / 428.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.7409, allocations: 4 kB / 428.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.506e-05/0.7409, allocations: 4 kB / 428.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/0.7422, allocations: 152.1 kB / 428.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.954e-05/0.7422, allocations: 4 kB / 428.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/0.7434, allocations: 95.61 kB / 429 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.995e-05/0.7435, allocations: 16 kB / 429 MB, free: 14 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.0002145/0.7437, allocations: 140.8 kB / 429.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002418/0.7439, allocations: 67.16 kB / 429.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002973/0.7442, allocations: 85.42 kB / 429.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.7443, allocations: 19.97 kB / 429.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.7443, allocations: 0 / 429.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.7443, allocations: 3.984 kB / 429.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001964/0.7463, allocations: 0.7946 MB / 430.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/0.7463, allocations: 4 kB / 430.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001405/0.7478, allocations: 115.9 kB / 430.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.077e-05/0.7478, allocations: 3.938 kB / 430.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-05/0.7479, allocations: 16 kB / 430.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/0.7479, allocations: 0 / 430.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.7479, allocations: 4 kB / 430.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002137/0.7501, allocations: 0.9726 MB / 431.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004233/0.7505, allocations: 196.2 kB / 431.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/0.7507, allocations: 12 kB / 431.4 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/0.7518, allocations: 67.94 kB / 431.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001732/0.752, allocations: 39.89 kB / 431.5 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.134e-05/0.752, allocations: 12 kB / 431.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007819/0.7528, allocations: 399.2 kB / 431.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7528, allocations: 0 / 431.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008258/0.7537, allocations: 124 kB / 432 MB, free: 10.83 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.002561/0.7562, allocations: 1.659 MB / 433.7 MB, free: 9.133 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001344/0.7576, allocations: 460.2 kB / 434.2 MB, free: 8.684 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.7576, allocations: 0 / 434.2 MB, free: 8.684 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006021/0.7582, allocations: 211.8 kB / 434.4 MB, free: 8.477 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001419/0.7597, allocations: 158.1 kB / 434.5 MB, free: 8.332 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004023/0.7637, allocations: 1.316 MB / 435.8 MB, free: 6.961 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007051/0.7645, allocations: 0.945 MB / 436.8 MB, free: 5.992 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006741/0.7652, allocations: 100.6 kB / 436.9 MB, free: 5.891 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005491/0.7657, allocations: 239.3 kB / 437.1 MB, free: 5.656 MB / 362.7 MB Notification: Performance of SimCode: time 1.092e-06/0.7657, allocations: 0 / 437.1 MB, free: 5.656 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04586/0.8116, allocations: 12.25 MB / 449.4 MB, free: 9.484 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003181/0.812, allocations: 134.1 kB / 449.5 MB, free: 9.262 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.009/3.821, allocations: 3.984 kB / 449.5 MB, free: 9.258 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_res.mat does not exist to compare? outputFormat=mat