Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.694/1.694, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.945e-05/2.943e-05, allocations: 4 kB / 225.1 MB, free: 2.246 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2742, allocations: 38.77 MB / 263.9 MB, free: 9.719 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1265/0.4008, allocations: 72.24 MB / 336.1 MB, free: 1.371 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/0.4011, allocations: 67.95 kB / 336.2 MB, free: 1.305 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1046/0.5058, allocations: 28.47 MB / 364.7 MB, free: 4.922 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.5058, allocations: 0 / 364.7 MB, free: 4.922 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.463e-05/0.5058, allocations: 4 kB / 364.7 MB, free: 4.918 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.0007448/0.5066, allocations: 0.6215 MB / 365.3 MB, free: 4.227 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.5067, allocations: 12.03 kB / 365.3 MB, free: 4.215 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.026e-05/0.5067, allocations: 34.56 kB / 365.3 MB, free: 4.172 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.554e-05/0.5068, allocations: 35.53 kB / 365.4 MB, free: 4.137 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004069/0.5073, allocations: 261.5 kB / 365.6 MB, free: 3.84 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/0.5073, allocations: 12 kB / 365.6 MB, free: 3.828 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.395e-05/0.5074, allocations: 8 kB / 365.6 MB, free: 3.82 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004063/0.5078, allocations: 149.5 kB / 365.8 MB, free: 3.668 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.5078, allocations: 0 / 365.8 MB, free: 3.668 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.412e-05/0.5079, allocations: 7.984 kB / 365.8 MB, free: 3.66 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.5079, allocations: 0 / 365.8 MB, free: 3.66 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000213/0.5081, allocations: 63.98 kB / 365.8 MB, free: 3.598 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.5091, allocations: 480.7 kB / 366.3 MB, free: 3.078 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002709/0.5094, allocations: 94.56 kB / 366.4 MB, free: 2.977 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002302/0.5097, allocations: 84.89 kB / 366.5 MB, free: 2.891 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.5097, allocations: 4 kB / 366.5 MB, free: 2.887 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004286/0.5101, allocations: 226.7 kB / 366.7 MB, free: 2.641 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.334e-06/0.5101, allocations: 3.938 kB / 366.7 MB, free: 2.637 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.00102/0.5112, allocations: 435.9 kB / 367.1 MB, free: 2.18 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.5113, allocations: 170.1 kB / 367.3 MB, free: 1.977 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009007/0.5122, allocations: 466.7 kB / 367.8 MB, free: 1.516 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.992e-05/0.5123, allocations: 33.64 kB / 367.8 MB, free: 1.477 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.789e-05/0.5124, allocations: 97.05 kB / 367.9 MB, free: 1.379 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.899e-05/0.5124, allocations: 35.56 kB / 367.9 MB, free: 1.344 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.624e-05/0.5125, allocations: 8 kB / 367.9 MB, free: 1.336 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.5126, allocations: 326.8 kB / 368.3 MB, free: 1.008 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.5128, allocations: 63.98 kB / 368.3 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.513, allocations: 59.97 kB / 368.4 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002787/0.5133, allocations: 170.8 kB / 368.5 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.5134, allocations: 0 / 368.5 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008979/0.5143, allocations: 412.3 kB / 369 MB, free: 268 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001065/0.5144, allocations: 122.8 kB / 369.1 MB, free: 120 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.5144, allocations: 0 / 369.1 MB, free: 120 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.5144, allocations: 4 kB / 369.1 MB, free: 116 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.215e-05/0.5145, allocations: 0 / 369.1 MB, free: 116 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.5145, allocations: 7.984 kB / 369.1 MB, free: 108 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002368/0.5147, allocations: 15.91 kB / 369.1 MB, free: 92 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.2173/0.732, allocations: 117.3 kB / 369.2 MB, free: 89.71 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.0003039/0.7324, allocations: 243.3 kB / 369.4 MB, free: 89.48 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.7325, allocations: 39.09 kB / 369.5 MB, free: 89.48 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002396/0.7328, allocations: 68.52 kB / 369.6 MB, free: 89.46 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.7328, allocations: 0.5625 kB / 369.6 MB, free: 89.46 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.7328, allocations: 0.6562 kB / 369.6 MB, free: 89.46 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.7328, allocations: 1.625 kB / 369.6 MB, free: 89.46 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001696/0.7345, allocations: 0.8341 MB / 370.4 MB, free: 89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.7345, allocations: 1.594 kB / 370.4 MB, free: 89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.181e-05/0.7346, allocations: 0.5312 kB / 370.4 MB, free: 89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.7346, allocations: 0.5 kB / 370.4 MB, free: 89 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.91e-05/0.7347, allocations: 24.61 kB / 370.4 MB, free: 89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.7347, allocations: 0.7031 kB / 370.4 MB, free: 89 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.7347, allocations: 0.75 kB / 370.4 MB, free: 89 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/0.7359, allocations: 0.553 MB / 371 MB, free: 88.74 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006006/0.7366, allocations: 258.7 kB / 371.2 MB, free: 88.6 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.7367, allocations: 17.12 kB / 371.2 MB, free: 88.6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002801/0.737, allocations: 17.28 kB / 371.3 MB, free: 88.6 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001886/0.7372, allocations: 32.23 kB / 371.3 MB, free: 88.6 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001899/0.7374, allocations: 117.8 kB / 371.4 MB, free: 88.59 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006812/0.7381, allocations: 386.5 kB / 371.8 MB, free: 88.45 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.7381, allocations: 0 / 371.8 MB, free: 88.45 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004361/0.7385, allocations: 44.81 kB / 371.8 MB, free: 88.45 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.001185/0.7397, allocations: 1.121 MB / 372.9 MB, free: 87.65 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006192/0.7404, allocations: 443.3 kB / 373.4 MB, free: 87.4 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.7404, allocations: 3.312 kB / 373.4 MB, free: 87.4 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003671/0.7408, allocations: 377.5 kB / 373.8 MB, free: 87.15 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007889/0.7416, allocations: 98.69 kB / 373.8 MB, free: 87.14 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/0.7431, allocations: 0.6212 MB / 374.5 MB, free: 86.88 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.7435, allocations: 0.8051 MB / 375.3 MB, free: 86.16 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.709e-05/0.7436, allocations: 11 kB / 375.3 MB, free: 86.15 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.89e-05/0.7437, allocations: 23.88 kB / 375.3 MB, free: 86.14 MB / 314.7 MB Notification: Performance of SimCode: time 9.72e-07/0.7437, allocations: 0 / 375.3 MB, free: 86.14 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03444/0.7781, allocations: 6.904 MB / 382.2 MB, free: 85.41 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002202/0.7784, allocations: 146 kB / 382.4 MB, free: 85.18 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.32/3.099, allocations: 3.594 kB / 382.4 MB, free: 85.18 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Digital.Examples.INV3S_res.mat does not exist to compare? outputFormat=mat