Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialState,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Blocks_Continuous_InitialState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.324/2.324, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.927e-05/3.939e-05, allocations: 4 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1128, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4555/0.5684, allocations: 83.74 MB / 405.6 MB, free: 5.766 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/0.5687, allocations: 67.97 kB / 405.7 MB, free: 5.699 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1465/0.7152, allocations: 27.95 MB / 433.6 MB, free: 9.664 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.7153, allocations: 4 kB / 433.6 MB, free: 9.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.267e-05/0.7154, allocations: 20.38 kB / 433.7 MB, free: 9.641 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.003161/0.7186, allocations: 0.9306 MB / 434.6 MB, free: 8.664 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.513e-05/0.7186, allocations: 8.031 kB / 434.6 MB, free: 8.656 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002498/0.7189, allocations: 86.52 kB / 434.7 MB, free: 8.562 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003272/0.7192, allocations: 83.06 kB / 434.8 MB, free: 8.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001785/0.721, allocations: 0.5305 MB / 435.3 MB, free: 7.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.571e-05/0.7211, allocations: 28.78 kB / 435.3 MB, free: 7.883 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001588/0.7213, allocations: 55.98 kB / 435.4 MB, free: 7.828 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/0.7227, allocations: 486 kB / 435.8 MB, free: 7.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.536e-05/0.7227, allocations: 7.859 kB / 435.9 MB, free: 7.312 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/0.7228, allocations: 16 kB / 435.9 MB, free: 7.297 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.891e-05/0.7229, allocations: 12 kB / 435.9 MB, free: 7.285 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.7239, allocations: 329 kB / 436.2 MB, free: 6.965 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006062/0.73, allocations: 1.978 MB / 438.2 MB, free: 4.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/0.7315, allocations: 468 kB / 438.6 MB, free: 4.426 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005529/0.7321, allocations: 198.6 kB / 438.8 MB, free: 4.223 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.413e-05/0.7322, allocations: 4 kB / 438.8 MB, free: 4.219 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.138e-05/0.7322, allocations: 46.86 kB / 438.9 MB, free: 4.164 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 5.901e-06/0.7322, allocations: 0 / 438.9 MB, free: 4.164 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.002357/0.7346, allocations: 0.7671 MB / 439.7 MB, free: 3.387 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001632/0.7348, allocations: 158.2 kB / 439.8 MB, free: 3.195 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.7359, allocations: 0.4958 MB / 440.3 MB, free: 2.695 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001273/0.736, allocations: 33.7 kB / 440.3 MB, free: 2.656 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003718/0.7364, allocations: 320.4 kB / 440.6 MB, free: 2.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002486/0.7367, allocations: 169.5 kB / 440.8 MB, free: 2.172 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.692e-05/0.7368, allocations: 12 kB / 440.8 MB, free: 2.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002425/0.737, allocations: 386.7 kB / 441.2 MB, free: 1.773 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006291/0.7376, allocations: 197.1 kB / 441.4 MB, free: 1.582 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007281/0.7384, allocations: 308.7 kB / 441.7 MB, free: 1.242 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000678/0.7391, allocations: 224.8 kB / 441.9 MB, free: 1.027 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.129e-05/0.7391, allocations: 4 kB / 441.9 MB, free: 1.023 MB / 362.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001776/0.7409, allocations: 0.6036 MB / 442.5 MB, free: 424 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/0.741, allocations: 8 kB / 442.5 MB, free: 416 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.741, allocations: 0 / 442.5 MB, free: 416 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.029e-05/0.741, allocations: 8 kB / 442.5 MB, free: 408 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/0.7424, allocations: 152.1 kB / 442.7 MB, free: 256 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.153e-05/0.7424, allocations: 8 kB / 442.7 MB, free: 248 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/0.7436, allocations: 95.47 kB / 442.8 MB, free: 152 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-05/0.7437, allocations: 23.98 kB / 442.8 MB, free: 128 kB / 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.0002559/0.744, allocations: 136.9 kB / 442.9 MB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002573/0.7443, allocations: 71.09 kB / 443 MB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002871/0.7445, allocations: 81.42 kB / 443.1 MB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.879e-06/0.7446, allocations: 4 kB / 443.1 MB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.7446, allocations: 4 kB / 443.1 MB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.7446, allocations: 7.984 kB / 443.1 MB, free: 15.81 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002137/0.7468, allocations: 0.7829 MB / 443.9 MB, free: 14.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.659e-06/0.7469, allocations: 0 / 443.9 MB, free: 14.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001458/0.7483, allocations: 111.9 kB / 444 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.519e-05/0.7484, allocations: 4 kB / 444 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/0.7485, allocations: 15.98 kB / 444 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.836e-06/0.7485, allocations: 4 kB / 444 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.7485, allocations: 0 / 444 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002331/0.7509, allocations: 0.9765 MB / 445 MB, free: 13.83 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004918/0.7514, allocations: 192.3 kB / 445.2 MB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001508/0.7516, allocations: 23.78 kB / 445.2 MB, free: 13.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/0.7527, allocations: 67.88 kB / 445.3 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/0.7529, allocations: 35.94 kB / 445.3 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-05/0.753, allocations: 12 kB / 445.3 MB, free: 13.49 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008333/0.7538, allocations: 403.2 kB / 445.7 MB, free: 13.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.7538, allocations: 0 / 445.7 MB, free: 13.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008982/0.7548, allocations: 112 kB / 445.8 MB, free: 12.99 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.002722/0.7575, allocations: 1.671 MB / 447.5 MB, free: 11.28 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001484/0.7591, allocations: 452.4 kB / 447.9 MB, free: 10.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.7591, allocations: 0 / 447.9 MB, free: 10.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006578/0.7598, allocations: 223.2 kB / 448.2 MB, free: 10.62 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001546/0.7613, allocations: 158.8 kB / 448.3 MB, free: 10.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004632/0.766, allocations: 1.298 MB / 449.6 MB, free: 9.125 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007771/0.7668, allocations: 0.95 MB / 450.6 MB, free: 8.152 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007948/0.7677, allocations: 108.5 kB / 450.7 MB, free: 8.043 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005718/0.7683, allocations: 231.4 kB / 450.9 MB, free: 7.82 MB / 378.7 MB Notification: Performance of SimCode: time 1.402e-06/0.7683, allocations: 0 / 450.9 MB, free: 7.82 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0934/0.8617, allocations: 12.25 MB / 463.1 MB, free: 11.65 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002245/0.862, allocations: 143.9 kB / 463.3 MB, free: 11.43 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.033/3.895, allocations: 0 / 463.3 MB, free: 11.43 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState_res.mat does not exist to compare? outputFormat=mat