Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.944/1.944, allocations: 194.9 MB / 208 MB, free: 3.184 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.179e-05/3.192e-05, allocations: 4 kB / 255.4 MB, free: 2.633 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09162/0.09169, allocations: 44.5 MB / 299.9 MB, free: 6.074 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4076/0.4994, allocations: 77.58 MB / 377.5 MB, free: 12.77 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003104/0.4998, allocations: 67.95 kB / 377.6 MB, free: 12.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0896/0.5894, allocations: 28.03 MB / 405.6 MB, free: 9.324 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5894, allocations: 0 / 405.6 MB, free: 9.324 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.287e-05/0.5895, allocations: 3.875 kB / 405.6 MB, free: 9.324 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006179/0.5901, allocations: 0.6168 MB / 406.2 MB, free: 8.723 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.5902, allocations: 7.75 kB / 406.2 MB, free: 8.723 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.046e-05/0.5902, allocations: 37.62 kB / 406.3 MB, free: 8.684 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.566e-05/0.5903, allocations: 39.03 kB / 406.3 MB, free: 8.664 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003645/0.5907, allocations: 262 kB / 406.6 MB, free: 8.422 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.5907, allocations: 10.81 kB / 406.6 MB, free: 8.418 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.367e-05/0.5908, allocations: 11.75 kB / 406.6 MB, free: 8.414 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003658/0.5912, allocations: 144.4 kB / 406.7 MB, free: 8.348 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.5912, allocations: 0 / 406.7 MB, free: 8.348 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.951e-05/0.5913, allocations: 7.156 kB / 406.7 MB, free: 8.348 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.5913, allocations: 3.906 kB / 406.8 MB, free: 8.348 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002155/0.5915, allocations: 60.45 kB / 406.8 MB, free: 8.344 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009525/0.5925, allocations: 488.2 kB / 407.3 MB, free: 7.984 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002337/0.5927, allocations: 100.6 kB / 407.4 MB, free: 7.953 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002017/0.5929, allocations: 89.42 kB / 407.5 MB, free: 7.938 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.593, allocations: 7.922 kB / 407.5 MB, free: 7.93 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003732/0.5934, allocations: 225.5 kB / 407.7 MB, free: 7.773 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.404e-06/0.5934, allocations: 4 kB / 407.7 MB, free: 7.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009143/0.5943, allocations: 438.8 kB / 408.1 MB, free: 7.559 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.148e-05/0.5944, allocations: 161.5 kB / 408.3 MB, free: 7.371 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007904/0.5952, allocations: 471.8 kB / 408.8 MB, free: 7.141 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.83e-05/0.5953, allocations: 29.61 kB / 408.8 MB, free: 7.109 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.297e-05/0.5953, allocations: 96.8 kB / 408.9 MB, free: 7.027 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.82e-05/0.5954, allocations: 38.39 kB / 408.9 MB, free: 7.004 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.404e-05/0.5954, allocations: 3.906 kB / 408.9 MB, free: 7.004 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.858e-05/0.5955, allocations: 324.7 kB / 409.2 MB, free: 6.684 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001814/0.5957, allocations: 64.55 kB / 409.3 MB, free: 6.676 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001741/0.5959, allocations: 67.84 kB / 409.4 MB, free: 6.668 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/0.5961, allocations: 166.6 kB / 409.5 MB, free: 6.535 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.5961, allocations: 0 / 409.5 MB, free: 6.535 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007866/0.5969, allocations: 411.9 kB / 409.9 MB, free: 6.336 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.065e-05/0.597, allocations: 125.9 kB / 410.1 MB, free: 6.203 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.5971, allocations: 0 / 410.1 MB, free: 6.203 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.5971, allocations: 0 / 410.1 MB, free: 6.203 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.564e-05/0.5971, allocations: 3.312 kB / 410.1 MB, free: 6.203 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.5971, allocations: 3.938 kB / 410.1 MB, free: 6.199 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002605/0.5974, allocations: 19.61 kB / 410.1 MB, free: 6.191 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001498/0.5976, allocations: 115.6 kB / 410.2 MB, free: 6.18 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,$PRE.iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.x,$PRE.iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.t_next) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * 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.0001934/0.5978, allocations: 246.4 kB / 410.4 MB, free: 5.934 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.423e-05/0.5979, allocations: 42.34 kB / 410.5 MB, free: 5.914 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001965/0.5981, allocations: 65.56 kB / 410.5 MB, free: 5.879 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.5981, allocations: 0 / 410.5 MB, free: 5.879 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.5981, allocations: 3.938 kB / 410.5 MB, free: 5.875 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.5981, allocations: 0 / 410.5 MB, free: 5.875 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/0.5995, allocations: 0.8529 MB / 411.4 MB, free: 5.316 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.5995, allocations: 0 / 411.4 MB, free: 5.316 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.509e-05/0.5996, allocations: 0 / 411.4 MB, free: 5.316 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.5996, allocations: 0 / 411.4 MB, free: 5.316 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.507e-05/0.5996, allocations: 19.58 kB / 411.4 MB, free: 5.312 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.5996, allocations: 0 / 411.4 MB, free: 5.312 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.5997, allocations: 0 / 411.4 MB, free: 5.312 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009246/0.6006, allocations: 0.5596 MB / 412 MB, free: 4.992 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005149/0.6011, allocations: 252.4 kB / 412.2 MB, free: 4.816 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.437e-05/0.6012, allocations: 11.12 kB / 412.2 MB, free: 4.816 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002762/0.6015, allocations: 15.73 kB / 412.2 MB, free: 4.812 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001667/0.6017, allocations: 34.45 kB / 412.3 MB, free: 4.801 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001533/0.6019, allocations: 122.6 kB / 412.4 MB, free: 4.785 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006841/0.6026, allocations: 388.3 kB / 412.8 MB, free: 4.605 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6026, allocations: 3.938 kB / 412.8 MB, free: 4.602 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004361/0.603, allocations: 38.69 kB / 412.8 MB, free: 4.602 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,iNV3S.yy,iNV3S.nextstate,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,iNV3S.inertialDelaySensitive.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * 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.00122/0.6043, allocations: 1.123 MB / 413.9 MB, free: 3.746 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000657/0.605, allocations: 447.7 kB / 414.4 MB, free: 3.477 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.605, allocations: 0 / 414.4 MB, free: 3.477 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003697/0.6054, allocations: 383.8 kB / 414.8 MB, free: 3.215 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007997/0.6062, allocations: 102 kB / 414.9 MB, free: 3.18 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.6079, allocations: 0.6141 MB / 415.5 MB, free: 2.852 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000561/0.6085, allocations: 0.8066 MB / 416.3 MB, free: 18.09 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.941e-05/0.6086, allocations: 12.61 kB / 416.3 MB, free: 18.08 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.669e-05/0.6087, allocations: 25.72 kB / 416.3 MB, free: 18.07 MB / 330.7 MB Notification: Performance of SimCode: time 1.333e-06/0.6087, allocations: 0 / 416.3 MB, free: 18.07 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03441/0.6431, allocations: 7.04 MB / 423.4 MB, free: 14.5 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002677/0.6435, allocations: 148.4 kB / 423.5 MB, free: 14.27 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.535/3.179, allocations: 0 / 423.5 MB, free: 14.27 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Digital.Examples.INV3S_res.mat does not exist to compare? outputFormat=mat