Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialState,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_InitialState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.777/2.777, allocations: 249.5 MB / 261.6 MB, free: 2.156 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.97e-05/4.977e-05, allocations: 10.59 kB / 323.5 MB, free: 4.219 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4164/0.4165, allocations: 58.83 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.193/0.6096, allocations: 96.01 MB / 478.3 MB, free: 12.37 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/0.6099, allocations: 59.97 kB / 478.4 MB, free: 12.31 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.1465/0.7565, allocations: 28.01 MB / 0.4945 GB, free: 212 kB / 426.8 MB Notification: Performance of FrontEnd: time 2.745e-06/0.7565, allocations: 4 kB / 0.4945 GB, free: 208 kB / 426.8 MB Notification: Performance of Transformations before backend: time 0.0001403/0.7567, allocations: 20 kB / 0.4945 GB, free: 188 kB / 426.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.004698/0.7614, allocations: 0.9542 MB / 0.4955 GB, free: 15.18 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 8.013e-05/0.7615, allocations: 12.02 kB / 0.4955 GB, free: 15.17 MB / 442.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000392/0.7619, allocations: 82.53 kB / 0.4955 GB, free: 15.08 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005386/0.7625, allocations: 90.97 kB / 0.4956 GB, free: 14.99 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002835/0.7654, allocations: 0.5548 MB / 0.4962 GB, free: 14.39 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.756e-05/0.7656, allocations: 41 kB / 0.4962 GB, free: 14.36 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002377/0.7658, allocations: 63.84 kB / 0.4963 GB, free: 14.29 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002092/0.7679, allocations: 0.5466 MB / 0.4968 GB, free: 13.69 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.414e-05/0.768, allocations: 7.984 kB / 0.4968 GB, free: 13.68 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/0.7681, allocations: 24 kB / 0.4968 GB, free: 13.66 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-05/0.7682, allocations: 12 kB / 0.4969 GB, free: 13.64 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001709/0.7699, allocations: 356.9 kB / 0.4972 GB, free: 13.3 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009637/0.7796, allocations: 2.706 MB / 0.4998 GB, free: 10.49 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002014/0.7817, allocations: 472 kB / 0.5003 GB, free: 10 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008486/0.7825, allocations: 194.6 kB / 0.5005 GB, free: 9.801 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.553e-05/0.7827, allocations: 7.984 kB / 0.5005 GB, free: 9.793 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.239e-05/0.7827, allocations: 39 kB / 0.5005 GB, free: 9.746 MB / 442.8 MB Notification: Performance of pre-optimization done (n=43): time 5.39e-06/0.7828, allocations: 4 kB / 0.5005 GB, free: 9.742 MB / 442.8 MB Notification: Performance of matching and sorting (n=44): time 0.00356/0.7863, allocations: 0.8071 MB / 0.5013 GB, free: 8.926 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001375/0.7865, allocations: 136.5 kB / 0.5014 GB, free: 8.762 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001844/0.7884, allocations: 0.5429 MB / 0.502 GB, free: 8.211 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001224/0.7885, allocations: 37.7 kB / 0.502 GB, free: 8.168 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006366/0.7892, allocations: 360 kB / 0.5023 GB, free: 7.812 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003723/0.7896, allocations: 177.6 kB / 0.5025 GB, free: 7.637 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.239e-05/0.7897, allocations: 12 kB / 0.5025 GB, free: 7.625 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0002445/0.79, allocations: 330 kB / 0.5028 GB, free: 7.297 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0011/0.7911, allocations: 201.5 kB / 0.503 GB, free: 7.102 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001341/0.7925, allocations: 361.8 kB / 0.5034 GB, free: 6.676 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/0.7937, allocations: 257 kB / 0.5036 GB, free: 6.426 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/0.7937, allocations: 0 / 0.5036 GB, free: 6.426 MB / 442.8 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00302/0.7968, allocations: 0.6665 MB / 0.5043 GB, free: 5.754 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.001086/0.7979, allocations: 1.738 MB / 0.506 GB, free: 3.879 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.162e-05/0.7979, allocations: 4 kB / 0.506 GB, free: 3.875 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.557e-05/0.798, allocations: 8 kB / 0.506 GB, free: 3.867 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002302/0.8003, allocations: 167.7 kB / 0.5061 GB, free: 3.703 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.776e-05/0.8004, allocations: 11.98 kB / 0.5062 GB, free: 3.691 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/0.8023, allocations: 91.58 kB / 0.5062 GB, free: 3.602 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.8024, allocations: 24 kB / 0.5063 GB, free: 3.578 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.8025, allocations: 6.344 kB / 0.5063 GB, free: 3.574 MB / 442.8 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002766/0.8053, allocations: 0.5675 MB / 0.5068 GB, free: 3.008 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/0.8053, allocations: 4 kB / 0.5068 GB, free: 3.004 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.247e-05/0.8053, allocations: 12 kB / 0.5068 GB, free: 2.992 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00215/0.8075, allocations: 151.8 kB / 0.507 GB, free: 2.844 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.427e-05/0.8076, allocations: 15.88 kB / 0.507 GB, free: 2.828 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/0.8093, allocations: 91.56 kB / 0.5071 GB, free: 2.738 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.8095, allocations: 27.94 kB / 0.5071 GB, free: 2.711 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * 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.0003512/0.8098, allocations: 136.8 kB / 0.5072 GB, free: 2.57 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003887/0.8102, allocations: 83.11 kB / 0.5073 GB, free: 2.488 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004185/0.8107, allocations: 90.06 kB / 0.5074 GB, free: 2.398 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.519e-05/0.8107, allocations: 4 kB / 0.5074 GB, free: 2.395 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.8108, allocations: 0 / 0.5074 GB, free: 2.395 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/0.8108, allocations: 0 / 0.5074 GB, free: 2.395 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002825/0.8136, allocations: 0.8218 MB / 0.5082 GB, free: 1.516 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.8137, allocations: 0 / 0.5082 GB, free: 1.516 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00225/0.8159, allocations: 119.9 kB / 0.5083 GB, free: 1.398 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.331e-05/0.816, allocations: 0 / 0.5083 GB, free: 1.398 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001212/0.8161, allocations: 16 kB / 0.5083 GB, free: 1.383 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-05/0.8161, allocations: 4 kB / 0.5084 GB, free: 1.379 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.286e-06/0.8162, allocations: 4 kB / 0.5084 GB, free: 1.375 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003328/0.8195, allocations: 0.9958 MB / 0.5093 GB, free: 356 kB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000671/0.8202, allocations: 196.2 kB / 0.5095 GB, free: 140 kB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002266/0.8205, allocations: 16 kB / 0.5095 GB, free: 124 kB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001808/0.8223, allocations: 63.94 kB / 0.5096 GB, free: 60 kB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002524/0.8226, allocations: 39.94 kB / 0.5096 GB, free: 20 kB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.77e-05/0.8227, allocations: 15.94 kB / 0.5096 GB, free: 4 kB / 442.8 MB Notification: Performance of sorting global known variables: time 0.001386/0.8241, allocations: 431.2 kB / 0.5101 GB, free: 15.59 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.263e-06/0.8241, allocations: 8 kB / 0.5101 GB, free: 15.58 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.002014/0.8262, allocations: 196 kB / 0.5103 GB, free: 15.39 MB / 458.8 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 (44): * Single equations (assignments): 44 * 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.004075/0.8303, allocations: 1.694 MB / 0.5119 GB, free: 13.65 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.00376/0.8341, allocations: 0.7949 MB / 0.5127 GB, free: 12.86 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.8341, allocations: 0.75 kB / 0.5127 GB, free: 12.86 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.8352, allocations: 215.8 kB / 0.5129 GB, free: 12.64 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002497/0.8377, allocations: 169 kB / 0.513 GB, free: 12.48 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007065/0.8448, allocations: 1.387 MB / 0.5144 GB, free: 11.04 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001071/0.8459, allocations: 0.9706 MB / 0.5154 GB, free: 10.04 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.002117/0.8481, allocations: 207.1 kB / 0.5155 GB, free: 9.84 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008451/0.849, allocations: 247.4 kB / 0.5158 GB, free: 9.602 MB / 458.8 MB Notification: Performance of SimCode: time 1.853e-06/0.849, allocations: 0 / 0.5158 GB, free: 9.602 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4168/1.266, allocations: 14.62 MB / 0.5301 GB, free: 129.5 MB / 458.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002481/1.266, allocations: 152.7 kB / 0.5302 GB, free: 129.3 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.18/4.446, allocations: 0 / 0.5302 GB, free: 129.3 MB / 458.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState_res.mat does not exist to compare? outputFormat=mat