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.102/2.102, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.245e-05/4.25e-05, allocations: 4 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1097, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4532/0.563, allocations: 83.84 MB / 405.7 MB, free: 5.785 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/0.5633, allocations: 59.98 kB / 405.8 MB, free: 5.727 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1482/0.7116, allocations: 29.3 MB / 435.1 MB, free: 8.348 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.7116, allocations: 0 / 435.1 MB, free: 8.348 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.104e-05/0.7117, allocations: 19.94 kB / 435.1 MB, free: 8.328 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.003006/0.7147, allocations: 0.9313 MB / 436 MB, free: 7.352 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.7148, allocations: 8.031 kB / 436 MB, free: 7.344 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001762/0.715, allocations: 82.52 kB / 436.1 MB, free: 7.254 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002637/0.7153, allocations: 86.97 kB / 436.2 MB, free: 7.168 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001906/0.7172, allocations: 0.5538 MB / 436.8 MB, free: 6.574 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.46e-05/0.7173, allocations: 36.78 kB / 436.8 MB, free: 6.539 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001555/0.7174, allocations: 51.91 kB / 436.8 MB, free: 6.488 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/0.7187, allocations: 481.9 kB / 437.3 MB, free: 5.984 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.66e-05/0.7187, allocations: 0 / 437.3 MB, free: 5.984 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.978e-05/0.7188, allocations: 20 kB / 437.3 MB, free: 5.965 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/0.7189, allocations: 12 kB / 437.3 MB, free: 5.953 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.7199, allocations: 332.9 kB / 437.7 MB, free: 5.629 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005546/0.7255, allocations: 1.932 MB / 439.6 MB, free: 3.621 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.7267, allocations: 415.8 kB / 440 MB, free: 3.184 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000509/0.7272, allocations: 199.9 kB / 440.2 MB, free: 2.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.574e-05/0.7273, allocations: 8 kB / 440.2 MB, free: 2.973 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/0.7273, allocations: 42.55 kB / 440.2 MB, free: 2.922 MB / 362.7 MB Notification: Performance of pre-optimization done (n=44): time 3.106e-06/0.7273, allocations: 0 / 440.2 MB, free: 2.922 MB / 362.7 MB Notification: Performance of matching and sorting (n=45): time 0.002142/0.7295, allocations: 0.7575 MB / 441 MB, free: 2.152 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.861e-05/0.7296, allocations: 110.8 kB / 441.1 MB, free: 2.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009386/0.7305, allocations: 0.4997 MB / 441.6 MB, free: 1.516 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.139e-05/0.7306, allocations: 37.7 kB / 441.7 MB, free: 1.473 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003421/0.731, allocations: 320.4 kB / 442 MB, free: 1.152 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002325/0.7312, allocations: 173.5 kB / 442.1 MB, free: 0.9805 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-05/0.7313, allocations: 15.94 kB / 442.1 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002153/0.7315, allocations: 382.7 kB / 442.5 MB, free: 0.582 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000594/0.7321, allocations: 197.1 kB / 442.7 MB, free: 400 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006982/0.7328, allocations: 295 kB / 443 MB, free: 72 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006798/0.7335, allocations: 231.1 kB / 443.2 MB, free: 15.85 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.7336, allocations: 0 / 443.2 MB, free: 15.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001739/0.7353, allocations: 0.6183 MB / 443.8 MB, free: 15.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/0.7354, allocations: 8 kB / 443.9 MB, free: 15.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.7354, allocations: 4 kB / 443.9 MB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.564e-05/0.7354, allocations: 4 kB / 443.9 MB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001924/0.7374, allocations: 191.8 kB / 444 MB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.399e-05/0.7374, allocations: 11.98 kB / 444.1 MB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/0.7385, allocations: 75.64 kB / 444.1 MB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-05/0.7386, allocations: 23.98 kB / 444.2 MB, free: 14.91 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.0002133/0.7388, allocations: 140.8 kB / 444.3 MB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002137/0.739, allocations: 71.16 kB / 444.4 MB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002973/0.7393, allocations: 81.42 kB / 444.4 MB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.7393, allocations: 4 kB / 444.4 MB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.7394, allocations: 0 / 444.4 MB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.7394, allocations: 7.984 kB / 444.5 MB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002743/0.7421, allocations: 1.159 MB / 445.6 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.796e-06/0.7422, allocations: 4 kB / 445.6 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001354/0.7435, allocations: 111.9 kB / 445.7 MB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.119e-05/0.7436, allocations: 4.062 kB / 445.7 MB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.458e-05/0.7437, allocations: 23.98 kB / 445.8 MB, free: 13.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-05/0.7437, allocations: 4 kB / 445.8 MB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.7437, allocations: 7.875 kB / 445.8 MB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002168/0.7459, allocations: 1.008 MB / 446.8 MB, free: 12.17 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000401/0.7463, allocations: 192.2 kB / 447 MB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/0.7465, allocations: 15.98 kB / 447 MB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/0.7475, allocations: 59.95 kB / 447 MB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00017/0.7477, allocations: 35.94 kB / 447.1 MB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.317e-05/0.7477, allocations: 23.86 kB / 447.1 MB, free: 11.83 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007929/0.7485, allocations: 395.2 kB / 447.5 MB, free: 11.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.7486, allocations: 0 / 447.5 MB, free: 11.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009449/0.7495, allocations: 147.9 kB / 447.6 MB, free: 11.3 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.002875/0.7524, allocations: 1.887 MB / 449.5 MB, free: 9.371 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001466/0.7539, allocations: 455.9 kB / 450 MB, free: 8.926 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.754, allocations: 0.625 kB / 450 MB, free: 8.926 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000662/0.7546, allocations: 227.8 kB / 450.2 MB, free: 8.703 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00146/0.7561, allocations: 149.3 kB / 450.3 MB, free: 8.566 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004033/0.7602, allocations: 1.339 MB / 451.7 MB, free: 7.172 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006998/0.7609, allocations: 0.9528 MB / 452.6 MB, free: 6.195 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006825/0.7616, allocations: 100.7 kB / 452.7 MB, free: 6.094 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005735/0.7622, allocations: 239.3 kB / 453 MB, free: 5.863 MB / 378.7 MB Notification: Performance of SimCode: time 1.122e-06/0.7622, allocations: 0 / 453 MB, free: 5.863 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05042/0.8126, allocations: 12.85 MB / 465.8 MB, free: 9.086 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003276/0.8131, allocations: 160.8 kB / 466 MB, free: 8.852 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.198/4.011, allocations: 0 / 466 MB, free: 8.852 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