Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.99/1.99, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.737e-05/4.759e-05, allocations: 4 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1075, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.444/0.5516, allocations: 83.33 MB / 405.2 MB, free: 6.254 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/0.5519, allocations: 71.2 kB / 405.3 MB, free: 6.188 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07301/0.6249, allocations: 14.56 MB / 419.8 MB, free: 7.609 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.625, allocations: 0 / 419.8 MB, free: 7.609 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.008e-05/0.6251, allocations: 16 kB / 419.8 MB, free: 7.594 MB / 346.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.002969/0.6281, allocations: 0.9191 MB / 420.8 MB, free: 6.625 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.938e-05/0.6281, allocations: 16.02 kB / 420.8 MB, free: 6.609 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001912/0.6283, allocations: 74.53 kB / 420.8 MB, free: 6.527 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000322/0.6287, allocations: 90.92 kB / 420.9 MB, free: 6.438 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001654/0.6303, allocations: 0.5344 MB / 421.5 MB, free: 5.863 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.885e-05/0.6304, allocations: 36.78 kB / 421.5 MB, free: 5.828 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/0.6306, allocations: 55.89 kB / 421.6 MB, free: 5.773 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.6318, allocations: 487.5 kB / 422 MB, free: 5.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/0.6319, allocations: 0 / 422 MB, free: 5.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-05/0.632, allocations: 16 kB / 422 MB, free: 5.254 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.632, allocations: 15.94 kB / 422.1 MB, free: 5.238 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.633, allocations: 338.1 kB / 422.4 MB, free: 4.906 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005742/0.6388, allocations: 1.975 MB / 424.4 MB, free: 2.855 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/0.6402, allocations: 471.9 kB / 424.8 MB, free: 2.367 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005057/0.6407, allocations: 190.6 kB / 425 MB, free: 2.172 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.385e-05/0.6408, allocations: 8 kB / 425 MB, free: 2.164 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/0.6408, allocations: 43 kB / 425.1 MB, free: 2.113 MB / 346.7 MB Notification: Performance of pre-optimization done (n=42): time 3.317e-06/0.6409, allocations: 0 / 425.1 MB, free: 2.113 MB / 346.7 MB Notification: Performance of matching and sorting (n=43): time 0.002301/0.6432, allocations: 0.7669 MB / 425.8 MB, free: 1.336 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.584e-05/0.6433, allocations: 162.2 kB / 426 MB, free: 1.141 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009889/0.6443, allocations: 0.4958 MB / 426.5 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.336e-05/0.6444, allocations: 33.7 kB / 426.5 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003405/0.6448, allocations: 320.4 kB / 426.8 MB, free: 292 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002232/0.645, allocations: 169.5 kB / 427 MB, free: 120 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.145e-05/0.6451, allocations: 12 kB / 427 MB, free: 108 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002266/0.6453, allocations: 386.7 kB / 427.4 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006143/0.6459, allocations: 201 kB / 427.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007262/0.6467, allocations: 309.9 kB / 427.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006529/0.6473, allocations: 228.7 kB / 428.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.6474, allocations: 0 / 428.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001719/0.6491, allocations: 0.6114 MB / 428.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.6491, allocations: 8 kB / 428.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.6492, allocations: 4 kB / 428.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.714e-05/0.6492, allocations: 4 kB / 428.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/0.6505, allocations: 148.1 kB / 428.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.007e-05/0.6505, allocations: 8 kB / 428.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.6516, allocations: 91.62 kB / 429 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.179e-05/0.6517, allocations: 27.98 kB / 429 MB, free: 14.06 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.0002023/0.6519, allocations: 136.8 kB / 429.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002067/0.6522, allocations: 67.16 kB / 429.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002868/0.6525, allocations: 81.42 kB / 429.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.657e-06/0.6525, allocations: 11.88 kB / 429.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.6525, allocations: 8 kB / 429.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.6525, allocations: 3.984 kB / 429.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001784/0.6543, allocations: 0.7946 MB / 430.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.6544, allocations: 0 / 430.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001355/0.6557, allocations: 115.9 kB / 430.2 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.317e-05/0.6558, allocations: 4.094 kB / 430.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.549e-05/0.6558, allocations: 19.98 kB / 430.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.66e-06/0.6559, allocations: 0 / 430.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.6559, allocations: 0 / 430.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002348/0.6582, allocations: 0.9765 MB / 431.2 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008025/0.6591, allocations: 196.2 kB / 431.4 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002421/0.6594, allocations: 12 kB / 431.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001756/0.6611, allocations: 67.94 kB / 431.5 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002693/0.6615, allocations: 39.89 kB / 431.5 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.371e-05/0.6615, allocations: 12 kB / 431.5 MB, free: 11.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001109/0.6627, allocations: 399.2 kB / 431.9 MB, free: 11.01 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.92e-07/0.6627, allocations: 0 / 431.9 MB, free: 11.01 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001548/0.6643, allocations: 116 kB / 432 MB, free: 10.9 MB / 362.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.004107/0.6684, allocations: 1.671 MB / 433.7 MB, free: 9.195 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002701/0.6712, allocations: 463.8 kB / 434.2 MB, free: 8.746 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.929e-06/0.6712, allocations: 0 / 434.2 MB, free: 8.746 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.6723, allocations: 224.5 kB / 434.4 MB, free: 8.527 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002107/0.6744, allocations: 154.8 kB / 434.5 MB, free: 8.383 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004913/0.6794, allocations: 1.308 MB / 435.8 MB, free: 7.023 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006742/0.6801, allocations: 0.9372 MB / 436.8 MB, free: 6.062 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006836/0.6808, allocations: 108.6 kB / 436.9 MB, free: 5.953 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005831/0.6814, allocations: 239.3 kB / 437.1 MB, free: 5.719 MB / 362.7 MB Notification: Performance of SimCode: time 1.433e-06/0.6814, allocations: 0 / 437.1 MB, free: 5.719 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06131/0.7427, allocations: 12.28 MB / 449.4 MB, free: 9.512 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003031/0.7431, allocations: 135.4 kB / 449.5 MB, free: 9.289 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.84/3.583, allocations: 0 / 449.5 MB, free: 9.289 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_res.mat does not exist to compare? outputFormat=mat