Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.335/2.335, allocations: 235.1 MB / 242.2 MB, free: 15.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.3e-05/2.309e-05, allocations: 0 / 299.5 MB, free: 6.473 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4643/0.4644, allocations: 54.85 MB / 354.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.173/0.6374, allocations: 89.38 MB / 443.7 MB, free: 8.812 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003332/0.6378, allocations: 71.97 kB / 443.8 MB, free: 8.742 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1662/0.8041, allocations: 27.4 MB / 471.2 MB, free: 13.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.8041, allocations: 0 / 471.2 MB, free: 13.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.781e-05/0.8042, allocations: 31.81 kB / 471.2 MB, free: 13.24 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.002866/0.8071, allocations: 0.9035 MB / 472.1 MB, free: 12.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.932e-05/0.8072, allocations: 12.03 kB / 472.1 MB, free: 12.28 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003316/0.8075, allocations: 79.06 kB / 472.2 MB, free: 12.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00176/0.8093, allocations: 0.5538 MB / 472.8 MB, free: 11.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.603e-05/0.8094, allocations: 15.98 kB / 472.8 MB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.8095, allocations: 31.91 kB / 472.8 MB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009691/0.8105, allocations: 309.5 kB / 473.1 MB, free: 11.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.8116, allocations: 421.1 kB / 473.5 MB, free: 10.81 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/0.8116, allocations: 0 / 473.5 MB, free: 10.81 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.74e-05/0.8117, allocations: 0 / 473.5 MB, free: 10.81 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/0.8117, allocations: 12 kB / 473.5 MB, free: 10.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005241/0.8169, allocations: 1.841 MB / 475.4 MB, free: 8.895 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.8181, allocations: 411.8 kB / 475.8 MB, free: 8.461 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004707/0.8186, allocations: 190.6 kB / 476 MB, free: 8.266 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.079e-05/0.8187, allocations: 4.438 kB / 476 MB, free: 8.262 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.8187, allocations: 42.55 kB / 476 MB, free: 8.211 MB / 410.7 MB Notification: Performance of pre-optimization done (n=44): time 3.136e-06/0.8187, allocations: 0 / 476 MB, free: 8.211 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.002123/0.8209, allocations: 0.7347 MB / 476.7 MB, free: 7.465 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.307e-05/0.821, allocations: 110.8 kB / 476.8 MB, free: 7.332 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008471/0.8218, allocations: 455.5 kB / 477.3 MB, free: 6.879 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.61e-05/0.8219, allocations: 25.7 kB / 477.3 MB, free: 6.848 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00033/0.8223, allocations: 316.3 kB / 477.6 MB, free: 6.531 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002285/0.8225, allocations: 169.5 kB / 477.8 MB, free: 6.363 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.554e-05/0.8226, allocations: 0 / 477.8 MB, free: 6.363 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002126/0.8228, allocations: 382.8 kB / 478.2 MB, free: 5.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005284/0.8233, allocations: 185.1 kB / 478.3 MB, free: 5.801 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000604/0.824, allocations: 283 kB / 478.6 MB, free: 5.488 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000761/0.8247, allocations: 224 kB / 478.8 MB, free: 5.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.8248, allocations: 4 kB / 478.8 MB, free: 5.266 MB / 410.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001667/0.8264, allocations: 0.5795 MB / 479.4 MB, free: 4.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004876/0.8269, allocations: 1.047 MB / 480.5 MB, free: 3.551 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.827, allocations: 3.953 kB / 480.5 MB, free: 3.547 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.695e-05/0.827, allocations: 12 kB / 480.5 MB, free: 3.535 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001909/0.8289, allocations: 191.8 kB / 480.7 MB, free: 3.348 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.825e-05/0.829, allocations: 4 kB / 480.7 MB, free: 3.344 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009886/0.83, allocations: 75.62 kB / 480.8 MB, free: 3.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.969e-05/0.8301, allocations: 27.88 kB / 480.8 MB, free: 3.242 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.8301, allocations: 4 kB / 480.8 MB, free: 3.238 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001458/0.8316, allocations: 488.4 kB / 481.3 MB, free: 2.762 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.8316, allocations: 4 kB / 481.3 MB, free: 2.758 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.8316, allocations: 7.938 kB / 481.3 MB, free: 2.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001791/0.8334, allocations: 192.1 kB / 481.5 MB, free: 2.562 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.577e-05/0.8334, allocations: 11.98 kB / 481.5 MB, free: 2.551 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.8346, allocations: 67.64 kB / 481.5 MB, free: 2.484 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.028e-05/0.8347, allocations: 23.98 kB / 481.6 MB, free: 2.461 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 (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.0002188/0.8349, allocations: 124.8 kB / 481.7 MB, free: 2.332 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001238/0.8362, allocations: 433.7 kB / 482.1 MB, free: 1.902 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/0.8364, allocations: 67.16 kB / 482.2 MB, free: 1.836 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003109/0.8367, allocations: 73.17 kB / 482.2 MB, free: 1.758 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.12e-05/0.8368, allocations: 8 kB / 482.2 MB, free: 1.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.8368, allocations: 0 / 482.2 MB, free: 1.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.535e-05/0.8368, allocations: 3.984 kB / 482.3 MB, free: 1.746 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00249/0.8393, allocations: 1.081 MB / 483.3 MB, free: 0.6133 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/0.8394, allocations: 4 kB / 483.3 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001347/0.8407, allocations: 111.9 kB / 483.4 MB, free: 0.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-05/0.8408, allocations: 4 kB / 483.5 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.29e-05/0.8409, allocations: 11.98 kB / 483.5 MB, free: 496 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/0.8409, allocations: 4 kB / 483.5 MB, free: 492 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.528e-06/0.8409, allocations: 7.891 kB / 483.5 MB, free: 484 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001985/0.8429, allocations: 0.9762 MB / 484.5 MB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003912/0.8433, allocations: 184.3 kB / 484.6 MB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/0.8435, allocations: 11.98 kB / 484.6 MB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009722/0.8445, allocations: 47.95 kB / 484.7 MB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002049/0.8447, allocations: 35.94 kB / 484.7 MB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.364e-05/0.8447, allocations: 23.92 kB / 484.7 MB, free: 15.13 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006502/0.8454, allocations: 351.2 kB / 485.1 MB, free: 14.79 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.8454, allocations: 0 / 485.1 MB, free: 14.79 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001213/0.8466, allocations: 199.9 kB / 485.3 MB, free: 14.6 MB / 426.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.002656/0.8493, allocations: 1.852 MB / 487.1 MB, free: 12.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002066/0.8514, allocations: 0.7259 MB / 487.9 MB, free: 11.97 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.8514, allocations: 0 / 487.9 MB, free: 11.97 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005906/0.852, allocations: 215.8 kB / 488.1 MB, free: 11.76 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001412/0.8535, allocations: 155.7 kB / 488.2 MB, free: 11.61 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003933/0.8574, allocations: 1.3 MB / 489.5 MB, free: 10.26 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007415/0.8582, allocations: 0.9503 MB / 490.5 MB, free: 9.285 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00125/0.8595, allocations: 190.7 kB / 490.7 MB, free: 9.098 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005871/0.8601, allocations: 227.4 kB / 490.9 MB, free: 8.875 MB / 426.7 MB Notification: Performance of SimCode: time 1.293e-06/0.8601, allocations: 4 kB / 490.9 MB, free: 8.871 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3773/1.237, allocations: 13.26 MB / 0.4923 GB, free: 118.8 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000262/1.238, allocations: 137.1 kB / 0.4925 GB, free: 118.7 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.148/4.386, allocations: 0 / 0.4925 GB, free: 118.7 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat does not exist to compare? outputFormat=mat