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 1.954/1.954, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.717e-05/3.757e-05, allocations: 4 kB / 273.2 MB, free: 164 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1041, allocations: 48.7 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4112/0.5154, allocations: 83.73 MB / 405.6 MB, free: 5.773 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/0.5157, allocations: 63.97 kB / 405.6 MB, free: 5.711 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1421/0.6578, allocations: 27.96 MB / 433.6 MB, free: 9.668 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.6579, allocations: 0 / 433.6 MB, free: 9.668 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.143e-05/0.658, allocations: 20.38 kB / 433.6 MB, free: 9.648 MB / 362.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.002958/0.6609, allocations: 0.9268 MB / 434.6 MB, free: 8.676 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.661, allocations: 8.031 kB / 434.6 MB, free: 8.668 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001963/0.6612, allocations: 82.52 kB / 434.6 MB, free: 8.578 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003143/0.6615, allocations: 87.06 kB / 434.7 MB, free: 8.492 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001732/0.6633, allocations: 0.5305 MB / 435.3 MB, free: 7.922 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.581e-05/0.6634, allocations: 32.78 kB / 435.3 MB, free: 7.891 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/0.6635, allocations: 51.98 kB / 435.3 MB, free: 7.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.6649, allocations: 487.5 kB / 435.8 MB, free: 7.332 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.141e-05/0.665, allocations: 7.859 kB / 435.8 MB, free: 7.324 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.49e-05/0.6651, allocations: 20 kB / 435.8 MB, free: 7.305 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.051e-05/0.6651, allocations: 8 kB / 435.9 MB, free: 7.297 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.6662, allocations: 338.1 kB / 436.2 MB, free: 6.969 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00592/0.6721, allocations: 1.974 MB / 438.2 MB, free: 4.918 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/0.6736, allocations: 467.9 kB / 438.6 MB, free: 4.434 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005226/0.6741, allocations: 194.6 kB / 438.8 MB, free: 4.234 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.371e-05/0.6742, allocations: 8.281 kB / 438.8 MB, free: 4.227 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.385e-05/0.6742, allocations: 46.56 kB / 438.9 MB, free: 4.172 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 6.452e-06/0.6743, allocations: 0 / 438.9 MB, free: 4.172 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.002355/0.6766, allocations: 0.7632 MB / 439.6 MB, free: 3.398 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/0.6768, allocations: 162.2 kB / 439.8 MB, free: 3.203 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/0.6778, allocations: 0.4996 MB / 440.3 MB, free: 2.699 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001121/0.678, allocations: 37.7 kB / 440.3 MB, free: 2.656 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003606/0.6783, allocations: 316.4 kB / 440.6 MB, free: 2.344 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002744/0.6786, allocations: 169.5 kB / 440.8 MB, free: 2.176 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.106e-05/0.6787, allocations: 12 kB / 440.8 MB, free: 2.164 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002159/0.6789, allocations: 386.7 kB / 441.2 MB, free: 1.777 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006132/0.6795, allocations: 197.1 kB / 441.4 MB, free: 1.586 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007141/0.6803, allocations: 309.8 kB / 441.7 MB, free: 1.242 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006718/0.6809, allocations: 228.7 kB / 441.9 MB, free: 1.023 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.681, allocations: 0 / 441.9 MB, free: 1.023 MB / 362.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001797/0.6828, allocations: 0.6153 MB / 442.5 MB, free: 412 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/0.6828, allocations: 4 kB / 442.5 MB, free: 408 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.6829, allocations: 4 kB / 442.5 MB, free: 404 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.961e-05/0.6829, allocations: 8 kB / 442.5 MB, free: 396 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/0.6842, allocations: 156 kB / 442.7 MB, free: 240 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.788e-05/0.6842, allocations: 11.97 kB / 442.7 MB, free: 228 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/0.6854, allocations: 99.47 kB / 442.8 MB, free: 128 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-05/0.6854, allocations: 20 kB / 442.8 MB, free: 108 kB / 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.0002345/0.6857, allocations: 132.8 kB / 442.9 MB, free: 15.97 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002216/0.6859, allocations: 71.16 kB / 443 MB, free: 15.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002825/0.6862, allocations: 81.42 kB / 443.1 MB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/0.6862, allocations: 4 kB / 443.1 MB, free: 15.81 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.6863, allocations: 4 kB / 443.1 MB, free: 15.81 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.938e-06/0.6863, allocations: 3.984 kB / 443.1 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001864/0.6881, allocations: 0.7946 MB / 443.9 MB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.6882, allocations: 0 / 443.9 MB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001372/0.6896, allocations: 115.9 kB / 444 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.404e-05/0.6896, allocations: 4 kB / 444 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-05/0.6897, allocations: 8 kB / 444 MB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.767e-06/0.6897, allocations: 4 kB / 444 MB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.6897, allocations: 0 / 444 MB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002264/0.692, allocations: 0.9803 MB / 445 MB, free: 13.81 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004506/0.6925, allocations: 192.3 kB / 445.2 MB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001491/0.6927, allocations: 23.89 kB / 445.2 MB, free: 13.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/0.6938, allocations: 63.94 kB / 445.3 MB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000177/0.694, allocations: 43.8 kB / 445.3 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.242e-05/0.694, allocations: 11.98 kB / 445.3 MB, free: 13.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008266/0.6949, allocations: 395.2 kB / 445.7 MB, free: 13.08 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.6949, allocations: 4 kB / 445.7 MB, free: 13.08 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000817/0.6957, allocations: 120 kB / 445.8 MB, free: 12.96 MB / 378.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.002602/0.6983, allocations: 1.663 MB / 447.5 MB, free: 11.26 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001446/0.6998, allocations: 463.8 kB / 448 MB, free: 10.81 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.6998, allocations: 0 / 448 MB, free: 10.81 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006191/0.7005, allocations: 212.5 kB / 448.2 MB, free: 10.61 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001444/0.7019, allocations: 158.7 kB / 448.3 MB, free: 10.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004186/0.7061, allocations: 1.317 MB / 449.6 MB, free: 9.082 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007502/0.7069, allocations: 0.9462 MB / 450.6 MB, free: 8.109 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007126/0.7077, allocations: 104.5 kB / 450.7 MB, free: 8.004 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005589/0.7082, allocations: 239.3 kB / 450.9 MB, free: 7.773 MB / 378.7 MB Notification: Performance of SimCode: time 1.332e-06/0.7083, allocations: 0 / 450.9 MB, free: 7.773 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04768/0.756, allocations: 12.29 MB / 463.2 MB, free: 11.57 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000361/0.7564, allocations: 153.1 kB / 463.4 MB, free: 11.34 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.9/3.656, allocations: 3.938 kB / 463.4 MB, free: 11.34 MB / 394.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