Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialState,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Blocks_Continuous_InitialState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.085/2.085, allocations: 209.4 MB / 216.5 MB, free: 6.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.375e-05/2.382e-05, allocations: 4 kB / 267.6 MB, free: 4.977 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1051, allocations: 48.71 MB / 316.3 MB, free: 4.172 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4317/0.5368, allocations: 83.29 MB / 399.6 MB, free: 9.25 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002276/0.5371, allocations: 69.84 kB / 399.7 MB, free: 9.215 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1409/0.6781, allocations: 27.79 MB / 427.5 MB, free: 1.094 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.6782, allocations: 4.438 kB / 427.5 MB, free: 1.09 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.876e-05/0.6783, allocations: 23.94 kB / 427.5 MB, free: 1.066 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.003059/0.6813, allocations: 0.919 MB / 428.4 MB, free: 104 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.698e-05/0.6814, allocations: 16.02 kB / 428.4 MB, free: 88 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003721/0.6818, allocations: 83.06 kB / 428.5 MB, free: 4 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001662/0.6835, allocations: 0.5305 MB / 429 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.298e-05/0.6836, allocations: 12 kB / 429.1 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/0.6837, allocations: 32 kB / 429.1 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009885/0.6847, allocations: 313.5 kB / 429.4 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.6858, allocations: 441.9 kB / 429.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.846e-05/0.6859, allocations: 3.906 kB / 429.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.46e-05/0.686, allocations: 0 / 429.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.588e-05/0.686, allocations: 12 kB / 429.8 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005768/0.6918, allocations: 1.888 MB / 431.7 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00128/0.6931, allocations: 444.5 kB / 432.2 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004664/0.6936, allocations: 186.6 kB / 432.3 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.58e-05/0.6937, allocations: 8.031 kB / 432.3 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.006e-05/0.6938, allocations: 42.55 kB / 432.4 MB, free: 11.94 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 5.67e-06/0.6938, allocations: 0 / 432.4 MB, free: 11.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.002247/0.696, allocations: 0.7328 MB / 433.1 MB, free: 11.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.6962, allocations: 158.2 kB / 433.3 MB, free: 11.01 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000881/0.6971, allocations: 455.6 kB / 433.7 MB, free: 10.55 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.643e-05/0.6972, allocations: 25.7 kB / 433.7 MB, free: 10.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003503/0.6976, allocations: 320.2 kB / 434.1 MB, free: 10.21 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002407/0.6978, allocations: 165.5 kB / 434.2 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.451e-05/0.6979, allocations: 0 / 434.2 MB, free: 10.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002264/0.6981, allocations: 382.7 kB / 434.6 MB, free: 9.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000538/0.6987, allocations: 189.1 kB / 434.8 MB, free: 9.477 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006764/0.6993, allocations: 300.7 kB / 435.1 MB, free: 9.141 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006012/0.7, allocations: 222.2 kB / 435.3 MB, free: 8.926 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.7, allocations: 0 / 435.3 MB, free: 8.926 MB / 362.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001634/0.7016, allocations: 0.5569 MB / 435.8 MB, free: 8.363 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.323e-05/0.7017, allocations: 8 kB / 435.9 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.7017, allocations: 8 kB / 435.9 MB, free: 8.348 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.72e-05/0.7018, allocations: 7.938 kB / 435.9 MB, free: 8.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/0.7031, allocations: 152.1 kB / 436 MB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.199e-05/0.7032, allocations: 7.984 kB / 436 MB, free: 8.184 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.7042, allocations: 79.62 kB / 436.1 MB, free: 8.105 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.322e-05/0.7043, allocations: 20 kB / 436.1 MB, free: 8.086 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.0002032/0.7045, allocations: 112.8 kB / 436.2 MB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001348/0.7059, allocations: 436.9 kB / 436.7 MB, free: 7.535 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001918/0.7061, allocations: 67.16 kB / 436.7 MB, free: 7.469 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002843/0.7064, allocations: 73.17 kB / 436.8 MB, free: 7.395 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.7064, allocations: 8 kB / 436.8 MB, free: 7.387 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.7065, allocations: 4 kB / 436.8 MB, free: 7.383 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/0.7065, allocations: 3.984 kB / 436.8 MB, free: 7.379 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001737/0.7082, allocations: 0.7249 MB / 437.5 MB, free: 6.609 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.7083, allocations: 0 / 437.5 MB, free: 6.609 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00134/0.7096, allocations: 115.9 kB / 437.7 MB, free: 6.496 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.459e-05/0.7097, allocations: 4 kB / 437.7 MB, free: 6.492 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-05/0.7097, allocations: 11.98 kB / 437.7 MB, free: 6.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.7097, allocations: 0 / 437.7 MB, free: 6.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.7098, allocations: 4 kB / 437.7 MB, free: 6.477 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001999/0.7118, allocations: 0.9414 MB / 438.6 MB, free: 5.504 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004026/0.7122, allocations: 196.2 kB / 438.8 MB, free: 5.293 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00015/0.7124, allocations: 7.984 kB / 438.8 MB, free: 5.285 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/0.7134, allocations: 63.89 kB / 438.9 MB, free: 5.223 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001701/0.7136, allocations: 35.95 kB / 438.9 MB, free: 5.188 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-05/0.7137, allocations: 12.12 kB / 438.9 MB, free: 5.176 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006647/0.7144, allocations: 355.2 kB / 439.3 MB, free: 4.836 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7144, allocations: 0 / 439.3 MB, free: 4.836 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008482/0.7152, allocations: 99.98 kB / 439.4 MB, free: 4.738 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.00227/0.7175, allocations: 1.643 MB / 441 MB, free: 3.055 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001212/0.7188, allocations: 439.7 kB / 441.4 MB, free: 2.625 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.7188, allocations: 0 / 441.4 MB, free: 2.625 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005791/0.7194, allocations: 207.8 kB / 441.6 MB, free: 2.422 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/0.7207, allocations: 146.5 kB / 441.8 MB, free: 2.281 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003883/0.7246, allocations: 1.263 MB / 443 MB, free: 0.9688 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000752/0.7254, allocations: 0.9462 MB / 444 MB, free: 0 / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006918/0.7261, allocations: 96.56 kB / 444.1 MB, free: 15.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005547/0.7267, allocations: 243.3 kB / 444.3 MB, free: 15.67 MB / 378.7 MB Notification: Performance of SimCode: time 1.493e-06/0.7267, allocations: 0 / 444.3 MB, free: 15.67 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06439/0.7911, allocations: 11.33 MB / 455.7 MB, free: 4.352 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000304/0.7915, allocations: 141.5 kB / 455.8 MB, free: 4.152 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.828/3.619, allocations: 0 / 455.8 MB, free: 4.152 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState_res.mat does not exist to compare? outputFormat=mat