Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialState,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Blocks_Continuous_InitialState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.494/2.494, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.928e-05/2.946e-05, allocations: 0 / 299.5 MB, free: 6.523 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3796/0.3797, allocations: 54.85 MB / 354.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2212/0.601, allocations: 89.28 MB / 443.6 MB, free: 8.93 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/0.6013, allocations: 75.91 kB / 443.7 MB, free: 8.855 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.136/0.7373, allocations: 26.06 MB / 469.8 MB, free: 14.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.7373, allocations: 0 / 469.8 MB, free: 14.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.682e-05/0.7374, allocations: 23.94 kB / 469.8 MB, free: 14.69 MB / 410.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.002716/0.7402, allocations: 0.9037 MB / 470.7 MB, free: 13.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.7402, allocations: 8.031 kB / 470.7 MB, free: 13.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002619/0.7405, allocations: 82.97 kB / 470.8 MB, free: 13.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001491/0.742, allocations: 0.5188 MB / 471.3 MB, free: 13.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.899e-05/0.7421, allocations: 16 kB / 471.3 MB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/0.7422, allocations: 35.91 kB / 471.3 MB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009898/0.7432, allocations: 313.4 kB / 471.6 MB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.7443, allocations: 413.2 kB / 472 MB, free: 12.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.216e-05/0.7444, allocations: 11.94 kB / 472.1 MB, free: 12.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.106e-05/0.7444, allocations: 3.938 kB / 472.1 MB, free: 12.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.7445, allocations: 8 kB / 472.1 MB, free: 12.28 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005576/0.75, allocations: 1.884 MB / 474 MB, free: 10.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00129/0.7514, allocations: 460.8 kB / 474.4 MB, free: 9.852 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000486/0.7519, allocations: 174.5 kB / 474.6 MB, free: 9.672 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.711e-05/0.752, allocations: 4 kB / 474.6 MB, free: 9.668 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.052e-05/0.7521, allocations: 38.56 kB / 474.6 MB, free: 9.621 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 3.106e-06/0.7521, allocations: 4 kB / 474.6 MB, free: 9.617 MB / 410.7 MB Notification: Performance of matching and sorting (n=43): time 0.002108/0.7542, allocations: 0.7266 MB / 475.3 MB, free: 8.879 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.16e-05/0.7543, allocations: 136.5 kB / 475.5 MB, free: 8.715 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008369/0.7551, allocations: 451.5 kB / 475.9 MB, free: 8.266 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.318e-05/0.7552, allocations: 25.7 kB / 475.9 MB, free: 8.234 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003293/0.7556, allocations: 320.2 kB / 476.3 MB, free: 7.918 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002084/0.7558, allocations: 165.7 kB / 476.4 MB, free: 7.754 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-05/0.7558, allocations: 0 / 476.4 MB, free: 7.754 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002222/0.7561, allocations: 378.8 kB / 476.8 MB, free: 7.375 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005215/0.7566, allocations: 185.1 kB / 477 MB, free: 7.195 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006215/0.7572, allocations: 291.9 kB / 477.3 MB, free: 6.871 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005818/0.7578, allocations: 217.3 kB / 477.5 MB, free: 6.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.7579, allocations: 4.031 kB / 477.5 MB, free: 6.656 MB / 410.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001515/0.7594, allocations: 0.5607 MB / 478 MB, free: 6.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004869/0.7599, allocations: 1.047 MB / 479.1 MB, free: 4.961 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.7599, allocations: 7.938 kB / 479.1 MB, free: 4.953 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-05/0.76, allocations: 4 kB / 479.1 MB, free: 4.949 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/0.7613, allocations: 151.8 kB / 479.2 MB, free: 4.801 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.644e-05/0.7613, allocations: 7.938 kB / 479.2 MB, free: 4.793 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009927/0.7623, allocations: 79.62 kB / 479.3 MB, free: 4.715 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.443e-05/0.7624, allocations: 23.94 kB / 479.3 MB, free: 4.691 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.7624, allocations: 13.5 kB / 479.4 MB, free: 4.68 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001315/0.7638, allocations: 467.4 kB / 479.8 MB, free: 4.223 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.7638, allocations: 4 kB / 479.8 MB, free: 4.219 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.7638, allocations: 4 kB / 479.8 MB, free: 4.215 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.765, allocations: 148.1 kB / 480 MB, free: 4.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.765, allocations: 7.938 kB / 480 MB, free: 4.062 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009326/0.766, allocations: 83.47 kB / 480.1 MB, free: 3.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.894e-05/0.766, allocations: 16 kB / 480.1 MB, free: 3.965 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 (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.0002008/0.7663, allocations: 117.5 kB / 480.2 MB, free: 3.844 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001177/0.7674, allocations: 434.4 kB / 480.6 MB, free: 3.414 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001935/0.7677, allocations: 71.16 kB / 480.7 MB, free: 3.344 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002625/0.7679, allocations: 73.17 kB / 480.8 MB, free: 3.266 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.7679, allocations: 4 kB / 480.8 MB, free: 3.262 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.768, allocations: 0 / 480.8 MB, free: 3.262 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/0.768, allocations: 15.94 kB / 480.8 MB, free: 3.246 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/0.7696, allocations: 0.7171 MB / 481.5 MB, free: 2.484 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.7697, allocations: 0 / 481.5 MB, free: 2.484 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001319/0.771, allocations: 115.9 kB / 481.6 MB, free: 2.371 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.097e-05/0.771, allocations: 4 kB / 481.6 MB, free: 2.367 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.691e-05/0.7711, allocations: 8 kB / 481.6 MB, free: 2.359 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.107e-05/0.7711, allocations: 11.92 kB / 481.6 MB, free: 2.348 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.7711, allocations: 3.953 kB / 481.6 MB, free: 2.344 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001866/0.773, allocations: 0.9298 MB / 482.6 MB, free: 1.383 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003874/0.7734, allocations: 196.3 kB / 482.8 MB, free: 1.172 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/0.7736, allocations: 11.95 kB / 482.8 MB, free: 1.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/0.7746, allocations: 55.94 kB / 482.8 MB, free: 1.105 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001742/0.7748, allocations: 35.94 kB / 482.9 MB, free: 1.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.928e-05/0.7748, allocations: 16 kB / 482.9 MB, free: 1.055 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006479/0.7755, allocations: 351.2 kB / 483.2 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.7755, allocations: 0 / 483.2 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001175/0.7767, allocations: 160 kB / 483.4 MB, free: 0.5625 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.002427/0.7791, allocations: 1.635 MB / 485 MB, free: 14.89 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001992/0.7812, allocations: 0.723 MB / 485.7 MB, free: 14.16 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.7812, allocations: 0 / 485.7 MB, free: 14.16 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000564/0.7818, allocations: 205.2 kB / 485.9 MB, free: 13.96 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001423/0.7832, allocations: 159.2 kB / 486.1 MB, free: 13.81 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00389/0.7871, allocations: 1.27 MB / 487.4 MB, free: 12.49 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000705/0.7879, allocations: 0.9506 MB / 488.3 MB, free: 11.52 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001221/0.7891, allocations: 186.4 kB / 488.5 MB, free: 11.33 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005332/0.7896, allocations: 227.4 kB / 488.7 MB, free: 11.11 MB / 426.7 MB Notification: Performance of SimCode: time 1.072e-06/0.7897, allocations: 0 / 488.7 MB, free: 11.11 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3886/1.178, allocations: 12.52 MB / 0.4895 GB, free: 119.6 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002575/1.179, allocations: 135.6 kB / 0.4896 GB, free: 119.4 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.164/4.343, allocations: 0 / 0.4896 GB, free: 119.4 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState_res.mat does not exist to compare? outputFormat=mat