Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.05/2.05, allocations: 209.4 MB / 216.5 MB, free: 6.684 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.667e-05/2.686e-05, allocations: 0 / 267.6 MB, free: 4.98 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1069, allocations: 48.7 MB / 316.3 MB, free: 4.184 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4293/0.5363, allocations: 83.4 MB / 399.7 MB, free: 9.125 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/0.5366, allocations: 62.72 kB / 399.8 MB, free: 9.094 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1456/0.6823, allocations: 29.11 MB / 428.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6823, allocations: 3.938 kB / 428.9 MB, free: 15.67 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001002/0.6824, allocations: 20 kB / 428.9 MB, free: 15.65 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.003039/0.6855, allocations: 0.9389 MB / 429.9 MB, free: 14.67 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.674e-05/0.6856, allocations: 16.02 kB / 429.9 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000342/0.6859, allocations: 82.97 kB / 430 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001884/0.6878, allocations: 0.5499 MB / 430.5 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.63e-05/0.6879, allocations: 16 kB / 430.5 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/0.688, allocations: 35.89 kB / 430.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009832/0.689, allocations: 305.5 kB / 430.9 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.6901, allocations: 433.9 kB / 431.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/0.6902, allocations: 0 / 431.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.453e-05/0.6902, allocations: 0 / 431.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.081e-05/0.6903, allocations: 12 kB / 431.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005432/0.6957, allocations: 1.838 MB / 433.1 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.6969, allocations: 407.7 kB / 433.5 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004713/0.6974, allocations: 198.6 kB / 433.7 MB, free: 10.63 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.351e-05/0.6975, allocations: 9.25 kB / 433.7 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.6975, allocations: 38.56 kB / 433.8 MB, free: 10.58 MB / 362.7 MB Notification: Performance of pre-optimization done (n=44): time 3.647e-06/0.6975, allocations: 0 / 433.8 MB, free: 10.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=45): time 0.002154/0.6997, allocations: 0.7325 MB / 434.5 MB, free: 9.836 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.346e-05/0.6998, allocations: 106.8 kB / 434.6 MB, free: 9.707 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008698/0.7007, allocations: 459.5 kB / 435 MB, free: 9.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.798e-05/0.7008, allocations: 29.7 kB / 435.1 MB, free: 9.215 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000368/0.7012, allocations: 316.3 kB / 435.4 MB, free: 8.898 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002198/0.7014, allocations: 161.6 kB / 435.5 MB, free: 8.738 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.702e-05/0.7014, allocations: 0 / 435.5 MB, free: 8.738 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002123/0.7017, allocations: 391.7 kB / 435.9 MB, free: 8.348 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005356/0.7022, allocations: 189.1 kB / 436.1 MB, free: 8.164 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006112/0.7028, allocations: 283 kB / 436.4 MB, free: 7.852 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007086/0.7036, allocations: 221.1 kB / 436.6 MB, free: 7.637 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.7036, allocations: 4 kB / 436.6 MB, free: 7.633 MB / 362.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001658/0.7053, allocations: 0.5797 MB / 437.2 MB, free: 7.047 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/0.7053, allocations: 8 kB / 437.2 MB, free: 7.039 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.7053, allocations: 0 / 437.2 MB, free: 7.039 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.767e-05/0.7054, allocations: 8 kB / 437.2 MB, free: 7.031 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00185/0.7072, allocations: 195.9 kB / 437.4 MB, free: 6.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/0.7073, allocations: 4 kB / 437.4 MB, free: 6.836 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009561/0.7082, allocations: 71.64 kB / 437.5 MB, free: 6.766 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.856e-05/0.7083, allocations: 23.98 kB / 437.5 MB, free: 6.742 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 (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.0001883/0.7085, allocations: 128.7 kB / 437.6 MB, free: 6.609 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001265/0.7098, allocations: 432.6 kB / 438 MB, free: 6.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001904/0.71, allocations: 63.25 kB / 438.1 MB, free: 6.117 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002782/0.7103, allocations: 69.17 kB / 438.2 MB, free: 6.047 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/0.7103, allocations: 8 kB / 438.2 MB, free: 6.039 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.7103, allocations: 0 / 438.2 MB, free: 6.039 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.7104, allocations: 3.984 kB / 438.2 MB, free: 6.035 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002435/0.7128, allocations: 1.089 MB / 439.3 MB, free: 4.895 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.114e-06/0.7129, allocations: 48 / 439.3 MB, free: 4.895 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001323/0.7142, allocations: 115.9 kB / 439.4 MB, free: 4.781 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.3e-05/0.7143, allocations: 4 kB / 439.4 MB, free: 4.777 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.623e-05/0.7144, allocations: 15.98 kB / 439.4 MB, free: 4.762 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.932e-06/0.7144, allocations: 0 / 439.4 MB, free: 4.762 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/0.7144, allocations: 4 kB / 439.4 MB, free: 4.758 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001994/0.7164, allocations: 0.9771 MB / 440.4 MB, free: 3.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004153/0.7168, allocations: 196.2 kB / 440.6 MB, free: 3.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001413/0.717, allocations: 4 kB / 440.6 MB, free: 3.516 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009579/0.718, allocations: 55.94 kB / 440.6 MB, free: 3.461 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001783/0.7182, allocations: 35.94 kB / 440.7 MB, free: 3.426 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.942e-05/0.7182, allocations: 15.94 kB / 440.7 MB, free: 3.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006428/0.7189, allocations: 351.2 kB / 441 MB, free: 3.074 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.7189, allocations: 4 kB / 441 MB, free: 3.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009266/0.7198, allocations: 128 kB / 441.2 MB, free: 2.945 MB / 362.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.002664/0.7225, allocations: 1.854 MB / 443 MB, free: 1.043 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001268/0.7238, allocations: 436.5 kB / 443.4 MB, free: 0.6172 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.7238, allocations: 0 / 443.4 MB, free: 0.6172 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005868/0.7244, allocations: 220.6 kB / 443.7 MB, free: 412 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/0.7259, allocations: 142.2 kB / 443.8 MB, free: 268 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004041/0.73, allocations: 1.302 MB / 445.1 MB, free: 14.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006748/0.7307, allocations: 0.945 MB / 446 MB, free: 13.94 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007144/0.7315, allocations: 104.6 kB / 446.1 MB, free: 13.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006026/0.7321, allocations: 231.3 kB / 446.4 MB, free: 13.61 MB / 378.7 MB Notification: Performance of SimCode: time 1.002e-06/0.7321, allocations: 0 / 446.4 MB, free: 13.61 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06428/0.7964, allocations: 11.93 MB / 458.3 MB, free: 1.695 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002595/0.7967, allocations: 146.8 kB / 458.4 MB, free: 1.492 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.891/3.687, allocations: 0 / 458.4 MB, free: 1.492 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat does not exist to compare? outputFormat=mat