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.038/2.038, allocations: 209.3 MB / 221.5 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.09e-05/4.102e-05, allocations: 0 / 273.1 MB, free: 168 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1086, allocations: 48.71 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.448/0.5567, allocations: 83.82 MB / 405.7 MB, free: 5.68 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002883/0.557, allocations: 67.97 kB / 405.7 MB, free: 5.613 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.154/0.711, allocations: 29.3 MB / 435 MB, free: 8.238 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.7111, allocations: 4 kB / 435 MB, free: 8.234 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001022/0.7112, allocations: 19.98 kB / 435.1 MB, free: 8.215 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.003515/0.7147, allocations: 0.9352 MB / 436 MB, free: 7.234 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.599e-05/0.7148, allocations: 8.031 kB / 436 MB, free: 7.227 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002592/0.7151, allocations: 74.53 kB / 436.1 MB, free: 7.145 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003482/0.7155, allocations: 86.97 kB / 436.2 MB, free: 7.059 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002088/0.7176, allocations: 0.5577 MB / 436.7 MB, free: 6.461 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.799e-05/0.7177, allocations: 36.78 kB / 436.8 MB, free: 6.426 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001591/0.7178, allocations: 51.91 kB / 436.8 MB, free: 6.375 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.7191, allocations: 487.5 kB / 437.3 MB, free: 5.867 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.749e-05/0.7192, allocations: 8 kB / 437.3 MB, free: 5.859 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.892e-05/0.7193, allocations: 16 kB / 437.3 MB, free: 5.844 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.7193, allocations: 8 kB / 437.3 MB, free: 5.836 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/0.7203, allocations: 334.1 kB / 437.6 MB, free: 5.512 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005768/0.7261, allocations: 1.928 MB / 439.6 MB, free: 3.508 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001208/0.7274, allocations: 419.8 kB / 440 MB, free: 3.066 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005396/0.728, allocations: 207.9 kB / 440.2 MB, free: 2.855 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.82e-05/0.728, allocations: 12 kB / 440.2 MB, free: 2.844 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.7281, allocations: 30.56 kB / 440.2 MB, free: 2.805 MB / 362.7 MB Notification: Performance of pre-optimization done (n=44): time 3.887e-06/0.7281, allocations: 7.938 kB / 440.2 MB, free: 2.797 MB / 362.7 MB Notification: Performance of matching and sorting (n=45): time 0.002336/0.7305, allocations: 0.7614 MB / 441 MB, free: 2.023 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.358e-05/0.7306, allocations: 110.9 kB / 441.1 MB, free: 1.891 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009935/0.7316, allocations: 0.4996 MB / 441.6 MB, free: 1.387 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.966e-05/0.7317, allocations: 33.7 kB / 441.6 MB, free: 1.348 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003502/0.732, allocations: 320.4 kB / 441.9 MB, free: 1.027 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002364/0.7323, allocations: 177.5 kB / 442.1 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.954e-05/0.7324, allocations: 15.94 kB / 442.1 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002087/0.7326, allocations: 382.7 kB / 442.5 MB, free: 464 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006238/0.7332, allocations: 197.1 kB / 442.7 MB, free: 268 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006962/0.7339, allocations: 304.1 kB / 443 MB, free: 15.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006624/0.7346, allocations: 227 kB / 443.2 MB, free: 15.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.7346, allocations: 0 / 443.2 MB, free: 15.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001767/0.7364, allocations: 0.6261 MB / 443.8 MB, free: 15.08 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.7365, allocations: 4 kB / 443.9 MB, free: 15.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/0.7365, allocations: 4 kB / 443.9 MB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.994e-05/0.7365, allocations: 8 kB / 443.9 MB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001937/0.7385, allocations: 191.9 kB / 444 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.21e-05/0.7385, allocations: 7.938 kB / 444.1 MB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.7396, allocations: 83.62 kB / 444.1 MB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.062e-05/0.7397, allocations: 24 kB / 444.2 MB, free: 14.77 MB / 378.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.0002028/0.7399, allocations: 136.8 kB / 444.3 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002249/0.7401, allocations: 71.16 kB / 444.4 MB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002899/0.7404, allocations: 81.42 kB / 444.4 MB, free: 14.47 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.7404, allocations: 7.984 kB / 444.5 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/0.7405, allocations: 4 kB / 444.5 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.7405, allocations: 0 / 444.5 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002702/0.7432, allocations: 1.162 MB / 445.6 MB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.7432, allocations: 0 / 445.6 MB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001349/0.7446, allocations: 111.9 kB / 445.7 MB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.404e-05/0.7446, allocations: 4 kB / 445.7 MB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.044e-05/0.7447, allocations: 15.98 kB / 445.7 MB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.7447, allocations: 0 / 445.7 MB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.7448, allocations: 4.094 kB / 445.8 MB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002127/0.7469, allocations: 1.016 MB / 446.8 MB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004294/0.7474, allocations: 196.2 kB / 447 MB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/0.7475, allocations: 16 kB / 447 MB, free: 11.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009989/0.7485, allocations: 55.94 kB / 447 MB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000177/0.7487, allocations: 39.94 kB / 447.1 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-05/0.7488, allocations: 15.94 kB / 447.1 MB, free: 11.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007905/0.7496, allocations: 399.2 kB / 447.5 MB, free: 11.31 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.7496, allocations: 0 / 447.5 MB, free: 11.31 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009102/0.7505, allocations: 147.9 kB / 447.6 MB, free: 11.17 MB / 378.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.002853/0.7534, allocations: 1.884 MB / 449.5 MB, free: 9.238 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001437/0.7549, allocations: 468.6 kB / 450 MB, free: 8.781 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.7549, allocations: 4.062 kB / 450 MB, free: 8.777 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006649/0.7556, allocations: 235.3 kB / 450.2 MB, free: 8.551 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001483/0.7571, allocations: 161.1 kB / 450.4 MB, free: 8.402 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004297/0.7614, allocations: 1.334 MB / 451.7 MB, free: 7.008 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007612/0.7622, allocations: 0.9528 MB / 452.6 MB, free: 6.027 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007239/0.763, allocations: 108.6 kB / 452.7 MB, free: 5.918 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006035/0.7636, allocations: 231.4 kB / 453 MB, free: 5.695 MB / 378.7 MB Notification: Performance of SimCode: time 9.61e-07/0.7636, allocations: 0 / 453 MB, free: 5.695 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05404/0.8177, allocations: 12.91 MB / 465.9 MB, free: 8.863 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003848/0.8181, allocations: 150.2 kB / 466 MB, free: 8.641 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.967/3.785, allocations: 0 / 466 MB, free: 8.641 MB / 394.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