Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialState,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_InitialState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.518/2.518, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.141e-05/4.149e-05, allocations: 4 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1276, allocations: 61.88 MB / 410.3 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4956/0.6233, allocations: 96.8 MB / 0.4953 GB, free: 7.156 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/0.6236, allocations: 64.69 kB / 0.4953 GB, free: 7.094 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1385/0.7622, allocations: 27.92 MB / 0.5226 GB, free: 11.09 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.7622, allocations: 0 / 0.5226 GB, free: 11.09 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001018/0.7623, allocations: 20 kB / 0.5226 GB, free: 11.07 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.003288/0.7656, allocations: 0.9487 MB / 0.5235 GB, free: 10.07 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.173e-05/0.7658, allocations: 12.03 kB / 0.5235 GB, free: 10.06 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000325/0.7661, allocations: 86.47 kB / 0.5236 GB, free: 9.969 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004091/0.7665, allocations: 94.97 kB / 0.5237 GB, free: 9.875 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002036/0.7686, allocations: 0.5432 MB / 0.5242 GB, free: 9.289 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.926e-05/0.7687, allocations: 37 kB / 0.5243 GB, free: 9.254 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001987/0.7689, allocations: 59.84 kB / 0.5243 GB, free: 9.195 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.7704, allocations: 0.5537 MB / 0.5249 GB, free: 8.586 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.994e-05/0.7705, allocations: 0 / 0.5249 GB, free: 8.586 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.015e-05/0.7706, allocations: 20 kB / 0.5249 GB, free: 8.566 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.045e-05/0.7707, allocations: 19.88 kB / 0.5249 GB, free: 8.547 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.7718, allocations: 360.9 kB / 0.5253 GB, free: 8.195 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006789/0.7786, allocations: 2.702 MB / 0.5279 GB, free: 5.391 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001434/0.7801, allocations: 472 kB / 0.5283 GB, free: 4.902 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005771/0.7808, allocations: 199.3 kB / 0.5285 GB, free: 4.699 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.617e-05/0.7808, allocations: 4 kB / 0.5285 GB, free: 4.695 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.748e-05/0.7809, allocations: 50.55 kB / 0.5286 GB, free: 4.637 MB / 442.7 MB Notification: Performance of pre-optimization done (n=43): time 3.206e-06/0.7809, allocations: 0 / 0.5286 GB, free: 4.637 MB / 442.7 MB Notification: Performance of matching and sorting (n=44): time 0.002599/0.7835, allocations: 0.8018 MB / 0.5294 GB, free: 3.824 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.7837, allocations: 132.5 kB / 0.5295 GB, free: 3.664 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/0.7849, allocations: 0.5429 MB / 0.53 GB, free: 3.113 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001342/0.785, allocations: 41.8 kB / 0.5301 GB, free: 3.066 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004178/0.7855, allocations: 356 kB / 0.5304 GB, free: 2.715 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003155/0.7858, allocations: 169.5 kB / 0.5306 GB, free: 2.547 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.849e-05/0.7859, allocations: 12 kB / 0.5306 GB, free: 2.535 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.7861, allocations: 330 kB / 0.5309 GB, free: 2.207 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006724/0.7867, allocations: 205.5 kB / 0.5311 GB, free: 2.004 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008118/0.7876, allocations: 361.8 kB / 0.5314 GB, free: 1.582 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007548/0.7883, allocations: 256.5 kB / 0.5317 GB, free: 1.336 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.7884, allocations: 0 / 0.5317 GB, free: 1.336 MB / 442.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002061/0.7904, allocations: 0.6593 MB / 0.5323 GB, free: 0.6719 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001604/0.7921, allocations: 1.751 MB / 0.534 GB, free: 14.79 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.603e-05/0.7922, allocations: 7.984 kB / 0.534 GB, free: 14.78 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.281e-05/0.7922, allocations: 8 kB / 0.534 GB, free: 14.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001479/0.7937, allocations: 155.8 kB / 0.5342 GB, free: 14.62 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.598e-05/0.7938, allocations: 15.92 kB / 0.5342 GB, free: 14.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/0.7949, allocations: 95.62 kB / 0.5343 GB, free: 14.51 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.779e-05/0.795, allocations: 24 kB / 0.5343 GB, free: 14.48 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.795, allocations: 4 kB / 0.5343 GB, free: 14.48 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001643/0.7967, allocations: 0.5649 MB / 0.5349 GB, free: 13.92 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.7967, allocations: 7.953 kB / 0.5349 GB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.7967, allocations: 8 kB / 0.5349 GB, free: 13.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/0.798, allocations: 164.1 kB / 0.5351 GB, free: 13.74 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.692e-05/0.7981, allocations: 4 kB / 0.5351 GB, free: 13.74 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/0.7992, allocations: 95.55 kB / 0.5351 GB, free: 13.64 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.045e-05/0.7992, allocations: 24 kB / 0.5352 GB, free: 13.62 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * 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.0002424/0.7995, allocations: 145.3 kB / 0.5353 GB, free: 13.47 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002416/0.7997, allocations: 75.06 kB / 0.5354 GB, free: 13.4 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002991/0.8001, allocations: 89.95 kB / 0.5355 GB, free: 13.3 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/0.8001, allocations: 11.98 kB / 0.5355 GB, free: 13.29 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.8001, allocations: 0 / 0.5355 GB, free: 13.29 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.8001, allocations: 0 / 0.5355 GB, free: 13.29 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00191/0.802, allocations: 0.8179 MB / 0.5363 GB, free: 12.42 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.8021, allocations: 4 kB / 0.5363 GB, free: 12.41 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001373/0.8035, allocations: 119.8 kB / 0.5364 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-05/0.8035, allocations: 7.984 kB / 0.5364 GB, free: 12.29 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.43e-05/0.8036, allocations: 8 kB / 0.5364 GB, free: 12.28 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.636e-06/0.8036, allocations: 8 kB / 0.5364 GB, free: 12.27 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.8036, allocations: 0 / 0.5364 GB, free: 12.27 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002179/0.8058, allocations: 0.9906 MB / 0.5374 GB, free: 11.25 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004282/0.8063, allocations: 196.3 kB / 0.5376 GB, free: 11.04 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/0.8064, allocations: 8 kB / 0.5376 GB, free: 11.04 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/0.8075, allocations: 67.94 kB / 0.5376 GB, free: 10.97 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001781/0.8077, allocations: 39.94 kB / 0.5377 GB, free: 10.93 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.426e-05/0.8078, allocations: 12 kB / 0.5377 GB, free: 10.92 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009128/0.8087, allocations: 435.1 kB / 0.5381 GB, free: 10.5 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.42e-07/0.8087, allocations: 0 / 0.5381 GB, free: 10.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001298/0.81, allocations: 200 kB / 0.5383 GB, free: 10.3 MB / 458.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 (44): * Single equations (assignments): 44 * 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.002575/0.8126, allocations: 1.686 MB / 0.5399 GB, free: 8.582 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002346/0.815, allocations: 0.8025 MB / 0.5407 GB, free: 7.777 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.8151, allocations: 0 / 0.5407 GB, free: 7.777 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000646/0.8157, allocations: 222.9 kB / 0.5409 GB, free: 7.562 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/0.8173, allocations: 169.7 kB / 0.5411 GB, free: 7.398 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004341/0.8216, allocations: 1.379 MB / 0.5425 GB, free: 5.969 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007206/0.8224, allocations: 0.9628 MB / 0.5434 GB, free: 4.977 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001281/0.8237, allocations: 203.1 kB / 0.5436 GB, free: 4.777 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005708/0.8243, allocations: 251.3 kB / 0.5438 GB, free: 4.535 MB / 458.7 MB Notification: Performance of SimCode: time 1.032e-06/0.8243, allocations: 0 / 0.5438 GB, free: 4.535 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05344/0.8778, allocations: 14.55 MB / 0.558 GB, free: 6.109 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000352/0.8782, allocations: 160.6 kB / 0.5582 GB, free: 5.883 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.19/4.068, allocations: 0 / 0.5582 GB, free: 5.883 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState_res.mat does not exist to compare? outputFormat=mat