Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialState,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Blocks_Continuous_InitialState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.874/1.874, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.682e-05/3.687e-05, allocations: 4 kB / 273.1 MB, free: 0.6445 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09684/0.09691, allocations: 48.7 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4036/0.5006, allocations: 83.74 MB / 405.6 MB, free: 6.07 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/0.5009, allocations: 70.98 kB / 405.7 MB, free: 6.004 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1488/0.6497, allocations: 27.96 MB / 433.6 MB, free: 9.961 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.6498, allocations: 0 / 433.6 MB, free: 9.961 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001308/0.6499, allocations: 24.31 kB / 433.6 MB, free: 9.938 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.004511/0.6544, allocations: 0.9229 MB / 434.6 MB, free: 8.969 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.002e-05/0.6545, allocations: 12.03 kB / 434.6 MB, free: 8.957 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003161/0.6549, allocations: 74.53 kB / 434.6 MB, free: 8.875 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004453/0.6553, allocations: 83.06 kB / 434.7 MB, free: 8.793 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002357/0.6577, allocations: 0.5343 MB / 435.3 MB, free: 8.219 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-05/0.6579, allocations: 40.77 kB / 435.3 MB, free: 8.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002328/0.6581, allocations: 44 kB / 435.3 MB, free: 8.137 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/0.6599, allocations: 486 kB / 435.8 MB, free: 7.629 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.235e-05/0.66, allocations: 11.8 kB / 435.8 MB, free: 7.617 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001142/0.6601, allocations: 24 kB / 435.9 MB, free: 7.594 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.278e-05/0.6602, allocations: 8 kB / 435.9 MB, free: 7.586 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/0.6616, allocations: 333 kB / 436.2 MB, free: 7.262 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008164/0.6698, allocations: 1.971 MB / 438.2 MB, free: 5.215 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001822/0.6717, allocations: 464.1 kB / 438.6 MB, free: 4.734 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007072/0.6725, allocations: 190.6 kB / 438.8 MB, free: 4.539 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.559e-05/0.6726, allocations: 11.98 kB / 438.8 MB, free: 4.527 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.145e-05/0.6726, allocations: 42.83 kB / 438.9 MB, free: 4.477 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 6.693e-06/0.6727, allocations: 0 / 438.9 MB, free: 4.477 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.002992/0.6757, allocations: 0.7631 MB / 439.6 MB, free: 3.703 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/0.6758, allocations: 158.2 kB / 439.8 MB, free: 3.512 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/0.6772, allocations: 0.4998 MB / 440.3 MB, free: 3.008 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001138/0.6773, allocations: 37.7 kB / 440.3 MB, free: 2.965 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000395/0.6777, allocations: 334.8 kB / 440.6 MB, free: 2.637 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002912/0.6781, allocations: 169.5 kB / 440.8 MB, free: 2.469 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.021e-05/0.6781, allocations: 12 kB / 440.8 MB, free: 2.457 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.6784, allocations: 338.8 kB / 441.1 MB, free: 2.117 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008349/0.6792, allocations: 193.1 kB / 441.3 MB, free: 1.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001001/0.6802, allocations: 308.7 kB / 441.6 MB, free: 1.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009195/0.6812, allocations: 228.7 kB / 441.9 MB, free: 1.371 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.6812, allocations: 0 / 441.9 MB, free: 1.371 MB / 362.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002258/0.6835, allocations: 0.5614 MB / 442.4 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.336e-05/0.6836, allocations: 4 kB / 442.4 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.6836, allocations: 4 kB / 442.4 MB, free: 0.7969 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.495e-05/0.6836, allocations: 8 kB / 442.4 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001842/0.6855, allocations: 148 kB / 442.6 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.369e-05/0.6856, allocations: 11.92 kB / 442.6 MB, free: 0.6328 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001559/0.6871, allocations: 95.56 kB / 442.7 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001504/0.6873, allocations: 24 kB / 442.7 MB, free: 0.5156 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.0002802/0.6876, allocations: 128.8 kB / 442.8 MB, free: 392 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003456/0.688, allocations: 71.16 kB / 442.9 MB, free: 320 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003348/0.6883, allocations: 81.42 kB / 443 MB, free: 232 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.6884, allocations: 4 kB / 443 MB, free: 228 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.6884, allocations: 0 / 443 MB, free: 228 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.929e-05/0.6884, allocations: 7.922 kB / 443 MB, free: 220 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00249/0.6909, allocations: 0.7946 MB / 443.8 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.691, allocations: 0 / 443.8 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001796/0.6928, allocations: 111.9 kB / 443.9 MB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.645e-05/0.6928, allocations: 8 kB / 443.9 MB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/0.693, allocations: 12 kB / 443.9 MB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.328e-05/0.693, allocations: 7.938 kB / 443.9 MB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.693, allocations: 3.984 kB / 443.9 MB, free: 15.22 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00288/0.6959, allocations: 0.9649 MB / 444.9 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005718/0.6965, allocations: 192.3 kB / 445.1 MB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001957/0.6967, allocations: 19.89 kB / 445.1 MB, free: 14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001522/0.6983, allocations: 71.94 kB / 445.2 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002131/0.6985, allocations: 35.94 kB / 445.2 MB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-05/0.6986, allocations: 15.98 kB / 445.2 MB, free: 13.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001081/0.6997, allocations: 391.2 kB / 445.6 MB, free: 13.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.6997, allocations: 0 / 445.6 MB, free: 13.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001285/0.701, allocations: 124 kB / 445.7 MB, free: 13.38 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.003739/0.7048, allocations: 1.674 MB / 447.4 MB, free: 11.67 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001949/0.7068, allocations: 453 kB / 447.8 MB, free: 11.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/0.7068, allocations: 0 / 447.8 MB, free: 11.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008877/0.7077, allocations: 223.3 kB / 448.1 MB, free: 11.01 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00205/0.7098, allocations: 150.2 kB / 448.2 MB, free: 10.87 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004616/0.7145, allocations: 1.35 MB / 449.6 MB, free: 9.461 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006963/0.7152, allocations: 0.9501 MB / 450.5 MB, free: 8.488 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006961/0.716, allocations: 235.4 kB / 450.7 MB, free: 8.262 MB / 378.7 MB Notification: Performance of SimCode: time 1.343e-06/0.716, allocations: 0 / 450.7 MB, free: 8.262 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.614/3.33, allocations: 10.72 MB / 461.5 MB, free: 13.55 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.Continuous_InitialState_res.mat does not exist to compare? outputFormat=mat