Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialState,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Blocks_Continuous_InitialState",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.569/2.569, allocations: 235.2 MB / 242.3 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.564e-05/2.562e-05, allocations: 4 kB / 299.6 MB, free: 216 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4052/0.4053, allocations: 54.85 MB / 354.4 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1803/0.5856, allocations: 89.29 MB / 443.7 MB, free: 5.797 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/0.5859, allocations: 63.97 kB / 443.8 MB, free: 5.734 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4786/1.065, allocations: 26.06 MB / 469.8 MB, free: 97.34 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.743e-06/1.065, allocations: 0 / 469.8 MB, free: 97.34 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.89e-05/1.065, allocations: 22.62 kB / 469.9 MB, free: 97.33 MB / 394.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.002776/1.067, allocations: 0.8989 MB / 470.8 MB, free: 96.81 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/1.068, allocations: 9.469 kB / 470.8 MB, free: 96.81 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002472/1.068, allocations: 89.38 kB / 470.9 MB, free: 96.77 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001441/1.069, allocations: 0.5149 MB / 471.4 MB, free: 96.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.495e-05/1.069, allocations: 17.94 kB / 471.4 MB, free: 96.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/1.069, allocations: 35.48 kB / 471.4 MB, free: 96.49 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001019/1.07, allocations: 316.3 kB / 471.7 MB, free: 96.49 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/1.072, allocations: 423.3 kB / 472.2 MB, free: 96.39 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.951e-05/1.072, allocations: 6.797 kB / 472.2 MB, free: 96.39 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.806e-05/1.072, allocations: 2.938 kB / 472.2 MB, free: 96.39 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/1.072, allocations: 7.25 kB / 472.2 MB, free: 96.39 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005223/1.077, allocations: 1.874 MB / 474 MB, free: 95.69 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/1.078, allocations: 448.7 kB / 474.5 MB, free: 95.62 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004382/1.079, allocations: 189.9 kB / 474.7 MB, free: 95.59 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.931e-05/1.079, allocations: 9.078 kB / 474.7 MB, free: 95.59 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/1.079, allocations: 38.06 kB / 474.7 MB, free: 95.55 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 3.928e-06/1.079, allocations: 0 / 474.7 MB, free: 95.55 MB / 394.7 MB Notification: Performance of matching and sorting (n=43): time 0.001948/1.081, allocations: 0.721 MB / 475.4 MB, free: 95.26 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/1.081, allocations: 151.5 kB / 475.6 MB, free: 95.09 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007357/1.081, allocations: 450.8 kB / 476 MB, free: 94.87 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.652e-05/1.082, allocations: 25.7 kB / 476 MB, free: 94.84 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002655/1.082, allocations: 328.1 kB / 476.4 MB, free: 94.58 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001732/1.082, allocations: 163.8 kB / 476.5 MB, free: 94.45 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.038e-05/1.082, allocations: 0 / 476.5 MB, free: 94.45 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001535/1.082, allocations: 379.3 kB / 476.9 MB, free: 94.11 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004982/1.083, allocations: 181.1 kB / 477.1 MB, free: 94.05 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005704/1.083, allocations: 288 kB / 477.4 MB, free: 93.86 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005579/1.084, allocations: 217.3 kB / 477.6 MB, free: 93.79 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/1.084, allocations: 0 / 477.6 MB, free: 93.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001464/1.085, allocations: 0.5667 MB / 478.1 MB, free: 93.57 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002171/1.086, allocations: 1.047 MB / 479.2 MB, free: 92.46 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/1.086, allocations: 3.844 kB / 479.2 MB, free: 92.46 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.225e-05/1.086, allocations: 13.95 kB / 479.2 MB, free: 92.45 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/1.087, allocations: 146.1 kB / 479.3 MB, free: 92.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/1.087, allocations: 7.641 kB / 479.3 MB, free: 92.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/1.088, allocations: 80.89 kB / 479.4 MB, free: 92.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.519e-05/1.088, allocations: 19.22 kB / 479.4 MB, free: 92.42 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/1.088, allocations: 7.844 kB / 479.5 MB, free: 92.42 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001251/1.09, allocations: 477.6 kB / 479.9 MB, free: 92.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/1.09, allocations: 3.938 kB / 479.9 MB, free: 92.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/1.09, allocations: 3.938 kB / 479.9 MB, free: 92.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001321/1.091, allocations: 143.3 kB / 480.1 MB, free: 92.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/1.091, allocations: 10.98 kB / 480.1 MB, free: 92.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/1.092, allocations: 72.11 kB / 480.1 MB, free: 92.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.476e-05/1.092, allocations: 25.19 kB / 480.2 MB, free: 92.23 MB / 394.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.0002001/1.092, allocations: 112.8 kB / 480.3 MB, free: 92.11 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001175/1.094, allocations: 434.4 kB / 480.7 MB, free: 91.93 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001878/1.094, allocations: 70.72 kB / 480.8 MB, free: 91.89 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002482/1.094, allocations: 74.44 kB / 480.8 MB, free: 91.84 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/1.094, allocations: 3.062 kB / 480.9 MB, free: 91.84 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/1.094, allocations: 3.25 kB / 480.9 MB, free: 91.84 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/1.094, allocations: 3.516 kB / 480.9 MB, free: 91.84 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001503/1.096, allocations: 0.7233 MB / 481.6 MB, free: 91.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/1.096, allocations: 3.938 kB / 481.6 MB, free: 91.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001443/1.097, allocations: 111 kB / 481.7 MB, free: 91.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.968e-06/1.097, allocations: 3.469 kB / 481.7 MB, free: 91.4 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.17e-05/1.097, allocations: 15.28 kB / 481.7 MB, free: 91.39 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/1.097, allocations: 2.969 kB / 481.7 MB, free: 91.39 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/1.097, allocations: 0 / 481.7 MB, free: 91.39 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001684/1.099, allocations: 0.9436 MB / 482.7 MB, free: 90.81 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003435/1.099, allocations: 188.6 kB / 482.8 MB, free: 90.66 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001651/1.099, allocations: 10.03 kB / 482.9 MB, free: 90.65 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/1.101, allocations: 53.55 kB / 482.9 MB, free: 90.65 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/1.101, allocations: 44.62 kB / 482.9 MB, free: 90.64 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.409e-05/1.101, allocations: 11.88 kB / 483 MB, free: 90.64 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005918/1.101, allocations: 353.4 kB / 483.3 MB, free: 90.47 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.62e-07/1.101, allocations: 0 / 483.3 MB, free: 90.47 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001142/1.103, allocations: 160.5 kB / 483.5 MB, free: 90.46 MB / 394.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.001984/1.105, allocations: 1.635 MB / 485.1 MB, free: 89.23 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001853/1.106, allocations: 0.7234 MB / 485.8 MB, free: 88.97 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/1.106, allocations: 0 / 485.8 MB, free: 88.97 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005241/1.107, allocations: 210.9 kB / 486 MB, free: 88.89 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/1.109, allocations: 149.4 kB / 486.2 MB, free: 88.86 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003787/1.112, allocations: 1.276 MB / 487.4 MB, free: 87.83 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004686/1.113, allocations: 0.9458 MB / 488.4 MB, free: 86.96 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001226/1.114, allocations: 192.4 kB / 488.6 MB, free: 86.84 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000539/1.115, allocations: 228.8 kB / 488.8 MB, free: 86.63 MB / 394.7 MB Notification: Performance of SimCode: time 1.172e-06/1.115, allocations: 0 / 488.8 MB, free: 86.63 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0622/1.177, allocations: 12.53 MB / 0.4896 GB, free: 75.64 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000219/1.177, allocations: 154 kB / 0.4897 GB, free: 75.44 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.19/4.367, allocations: 0 / 0.4897 GB, free: 75.44 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Blocks.Continuous_InitialState_res.mat does not exist to compare? outputFormat=mat