Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.627/2.627, allocations: 235.2 MB / 242.3 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.551e-05/2.562e-05, allocations: 3.984 kB / 299.6 MB, free: 216 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3789/0.3789, allocations: 54.86 MB / 354.4 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.179/0.558, allocations: 89.39 MB / 443.8 MB, free: 5.691 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/0.5584, allocations: 63.97 kB / 443.9 MB, free: 5.629 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4821/1.04, allocations: 27.38 MB / 471.3 MB, free: 96.92 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.944e-06/1.041, allocations: 0 / 471.3 MB, free: 96.92 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.141e-05/1.041, allocations: 20.34 kB / 471.3 MB, free: 96.91 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.002777/1.043, allocations: 0.9202 MB / 472.2 MB, free: 96.38 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/1.044, allocations: 9.594 kB / 472.2 MB, free: 96.38 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002397/1.044, allocations: 83.88 kB / 472.3 MB, free: 96.34 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001615/1.045, allocations: 0.5472 MB / 472.8 MB, free: 96.05 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.879e-05/1.045, allocations: 15.23 kB / 472.9 MB, free: 96.05 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/1.046, allocations: 44.42 kB / 472.9 MB, free: 96.05 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009386/1.047, allocations: 304.6 kB / 473.2 MB, free: 96.05 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009972/1.048, allocations: 420.3 kB / 473.6 MB, free: 95.95 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.841e-05/1.048, allocations: 3.75 kB / 473.6 MB, free: 95.95 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.648e-05/1.048, allocations: 0 / 473.6 MB, free: 95.95 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/1.048, allocations: 7.688 kB / 473.6 MB, free: 95.95 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005068/1.053, allocations: 1.839 MB / 475.5 MB, free: 95.25 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/1.054, allocations: 405.9 kB / 475.9 MB, free: 95.17 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004432/1.054, allocations: 187.6 kB / 476 MB, free: 95.15 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.289e-05/1.054, allocations: 15.89 kB / 476.1 MB, free: 95.15 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/1.054, allocations: 36.38 kB / 476.1 MB, free: 95.11 MB / 394.7 MB Notification: Performance of pre-optimization done (n=44): time 3.938e-06/1.054, allocations: 4 kB / 476.1 MB, free: 95.1 MB / 394.7 MB Notification: Performance of matching and sorting (n=45): time 0.001942/1.056, allocations: 0.7256 MB / 476.8 MB, free: 94.72 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/1.056, allocations: 118.4 kB / 476.9 MB, free: 94.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007512/1.057, allocations: 451.3 kB / 477.4 MB, free: 94.38 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.687e-05/1.057, allocations: 25.7 kB / 477.4 MB, free: 94.34 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002632/1.058, allocations: 315.9 kB / 477.7 MB, free: 94.09 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001767/1.058, allocations: 182.7 kB / 477.9 MB, free: 93.95 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.166e-05/1.058, allocations: 0 / 477.9 MB, free: 93.95 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/1.058, allocations: 376.1 kB / 478.3 MB, free: 93.61 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005116/1.058, allocations: 184.3 kB / 478.4 MB, free: 93.54 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005676/1.059, allocations: 287.6 kB / 478.7 MB, free: 93.36 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006865/1.06, allocations: 230.5 kB / 478.9 MB, free: 93.28 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/1.06, allocations: 6.969 kB / 478.9 MB, free: 93.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001601/1.061, allocations: 0.5656 MB / 479.5 MB, free: 93.07 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002247/1.062, allocations: 1.055 MB / 480.6 MB, free: 91.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/1.062, allocations: 3.094 kB / 480.6 MB, free: 91.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.798e-05/1.062, allocations: 7.719 kB / 480.6 MB, free: 91.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002015/1.064, allocations: 188.9 kB / 480.8 MB, free: 91.94 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/1.064, allocations: 17.42 kB / 480.8 MB, free: 91.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/1.065, allocations: 70.55 kB / 480.8 MB, free: 91.92 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.093e-05/1.065, allocations: 20.88 kB / 480.9 MB, free: 91.91 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/1.065, allocations: 4.562 kB / 480.9 MB, free: 91.91 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001424/1.066, allocations: 484.9 kB / 481.3 MB, free: 91.76 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/1.066, allocations: 6.656 kB / 481.4 MB, free: 91.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/1.066, allocations: 7.469 kB / 481.4 MB, free: 91.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001957/1.068, allocations: 186.9 kB / 481.5 MB, free: 91.74 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.557e-05/1.068, allocations: 13.47 kB / 481.6 MB, free: 91.74 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/1.07, allocations: 76.38 kB / 481.6 MB, free: 91.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.907e-05/1.07, allocations: 21.38 kB / 481.7 MB, free: 91.71 MB / 394.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 (69): * Single equations (assignments): 68 * Array equations: 1 * 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.0002235/1.07, allocations: 119.2 kB / 481.8 MB, free: 91.59 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00133/1.071, allocations: 434.7 kB / 482.2 MB, free: 91.41 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002119/1.072, allocations: 69.16 kB / 482.3 MB, free: 91.38 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002746/1.072, allocations: 80.77 kB / 482.3 MB, free: 91.32 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/1.072, allocations: 3.062 kB / 482.3 MB, free: 91.32 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/1.072, allocations: 4 kB / 482.3 MB, free: 91.32 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/1.072, allocations: 6.859 kB / 482.4 MB, free: 91.32 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002364/1.074, allocations: 1.083 MB / 483.4 MB, free: 90.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/1.074, allocations: 0 / 483.4 MB, free: 90.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00148/1.076, allocations: 122.3 kB / 483.6 MB, free: 90.69 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.376e-05/1.076, allocations: 3.656 kB / 483.6 MB, free: 90.69 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.692e-05/1.076, allocations: 6.438 kB / 483.6 MB, free: 90.69 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.251e-06/1.076, allocations: 0 / 483.6 MB, free: 90.69 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-06/1.076, allocations: 3.25 kB / 483.6 MB, free: 90.69 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001859/1.078, allocations: 0.984 MB / 484.6 MB, free: 90.06 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003754/1.078, allocations: 184.8 kB / 484.7 MB, free: 89.91 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001604/1.078, allocations: 10.45 kB / 484.7 MB, free: 89.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/1.08, allocations: 49.06 kB / 484.8 MB, free: 89.9 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001948/1.08, allocations: 35.61 kB / 484.8 MB, free: 89.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.379e-05/1.08, allocations: 18.16 kB / 484.8 MB, free: 89.89 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006458/1.081, allocations: 350.6 kB / 485.2 MB, free: 89.72 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.61e-07/1.081, allocations: 0 / 485.2 MB, free: 89.72 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001536/1.082, allocations: 190.3 kB / 485.4 MB, free: 89.71 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (45): * Single equations (assignments): 45 * 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.002351/1.084, allocations: 1.864 MB / 487.2 MB, free: 88.18 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001934/1.086, allocations: 0.7216 MB / 488 MB, free: 87.5 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/1.086, allocations: 0 / 488 MB, free: 87.5 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005554/1.087, allocations: 226.3 kB / 488.2 MB, free: 87.29 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/1.089, allocations: 146.6 kB / 488.3 MB, free: 87.18 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003697/1.092, allocations: 1.288 MB / 489.6 MB, free: 86.04 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004769/1.093, allocations: 0.9587 MB / 490.6 MB, free: 85.17 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00128/1.094, allocations: 194.6 kB / 490.8 MB, free: 85.04 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005562/1.095, allocations: 222.8 kB / 491 MB, free: 84.84 MB / 394.7 MB Notification: Performance of SimCode: time 2.144e-06/1.095, allocations: 0 / 491 MB, free: 84.84 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0747/1.169, allocations: 13.29 MB / 0.4925 GB, free: 72.59 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003079/1.17, allocations: 143.3 kB / 0.4926 GB, free: 72.39 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.299/4.469, allocations: 4.031 kB / 0.4926 GB, free: 72.39 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat does not exist to compare? outputFormat=mat