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.996/1.996, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.263e-05/2.273e-05, allocations: 4 kB / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3138, allocations: 44.5 MB / 294.2 MB, free: 14.45 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1564/0.4702, allocations: 76.91 MB / 371.1 MB, free: 5 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/0.4705, allocations: 71.95 kB / 371.2 MB, free: 4.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09675/0.5673, allocations: 27.8 MB / 399 MB, free: 9.176 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.497e-06/0.5673, allocations: 4 kB / 399 MB, free: 9.172 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.5673, allocations: 4 kB / 399 MB, free: 9.168 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007333/0.5681, allocations: 0.6177 MB / 399.6 MB, free: 8.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.5681, allocations: 8.031 kB / 399.6 MB, free: 8.473 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.5683, allocations: 39.53 kB / 399.7 MB, free: 8.434 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004048/0.5687, allocations: 263.6 kB / 399.9 MB, free: 8.137 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.5687, allocations: 16 kB / 400 MB, free: 8.121 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.572e-05/0.5688, allocations: 4 kB / 400 MB, free: 8.117 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002016/0.569, allocations: 63.91 kB / 400 MB, free: 8.055 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003392/0.5693, allocations: 137.6 kB / 400.2 MB, free: 7.914 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.5694, allocations: 0 / 400.2 MB, free: 7.914 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.163e-05/0.5694, allocations: 4 kB / 400.2 MB, free: 7.91 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.5694, allocations: 0 / 400.2 MB, free: 7.91 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009432/0.5704, allocations: 453.1 kB / 400.6 MB, free: 7.43 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002246/0.5706, allocations: 98.5 kB / 400.7 MB, free: 7.324 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/0.5708, allocations: 84.88 kB / 400.8 MB, free: 7.238 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.5709, allocations: 0 / 400.8 MB, free: 7.238 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003876/0.5713, allocations: 222.6 kB / 401 MB, free: 6.996 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.013e-06/0.5713, allocations: 4 kB / 401 MB, free: 6.992 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008704/0.5722, allocations: 309.3 kB / 401.3 MB, free: 6.684 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.5723, allocations: 166.2 kB / 401.5 MB, free: 6.484 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007931/0.5731, allocations: 452.8 kB / 401.9 MB, free: 6.039 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.086e-05/0.5732, allocations: 33.69 kB / 401.9 MB, free: 6 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.867e-05/0.5732, allocations: 97.45 kB / 402 MB, free: 5.902 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.889e-05/0.5733, allocations: 31.64 kB / 402.1 MB, free: 5.871 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/0.5734, allocations: 0 / 402.1 MB, free: 5.871 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.5735, allocations: 330.8 kB / 402.4 MB, free: 5.539 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.5737, allocations: 63.92 kB / 402.5 MB, free: 5.477 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.5739, allocations: 55.98 kB / 402.5 MB, free: 5.422 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.574, allocations: 56.52 kB / 402.6 MB, free: 5.367 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.574, allocations: 0 / 402.6 MB, free: 5.367 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000746/0.5748, allocations: 286.9 kB / 402.8 MB, free: 5.082 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000108/0.5749, allocations: 122.9 kB / 403 MB, free: 4.938 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.5749, allocations: 3.938 kB / 403 MB, free: 4.934 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.575, allocations: 0 / 403 MB, free: 4.934 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.469e-05/0.575, allocations: 4 kB / 403 MB, free: 4.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.575, allocations: 4 kB / 403 MB, free: 4.926 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002288/0.5753, allocations: 11.98 kB / 403 MB, free: 4.914 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002135/0.5755, allocations: 119.8 kB / 403.1 MB, free: 4.797 MB / 346.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.0002918/0.5758, allocations: 245.3 kB / 403.3 MB, free: 4.523 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008559/0.5767, allocations: 345 kB / 403.7 MB, free: 4.18 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.615e-05/0.5768, allocations: 35.62 kB / 403.7 MB, free: 4.145 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001947/0.577, allocations: 71.41 kB / 403.8 MB, free: 4.07 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.577, allocations: 0 / 403.8 MB, free: 4.07 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.577, allocations: 7.938 kB / 403.8 MB, free: 4.062 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.577, allocations: 4 kB / 403.8 MB, free: 4.059 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.5783, allocations: 0.6745 MB / 404.5 MB, free: 3.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.5783, allocations: 0 / 404.5 MB, free: 3.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.094e-05/0.5784, allocations: 4 kB / 404.5 MB, free: 3.336 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.5784, allocations: 0 / 404.5 MB, free: 3.336 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.445e-05/0.5784, allocations: 20.17 kB / 404.5 MB, free: 3.316 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.5784, allocations: 4 kB / 404.5 MB, free: 3.312 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5785, allocations: 0 / 404.5 MB, free: 3.312 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008879/0.5793, allocations: 446.7 kB / 404.9 MB, free: 2.859 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007026/0.5801, allocations: 256.4 kB / 405.2 MB, free: 2.59 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/0.5802, allocations: 12 kB / 405.2 MB, free: 2.578 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003621/0.5806, allocations: 12 kB / 405.2 MB, free: 2.566 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001716/0.5808, allocations: 31.95 kB / 405.2 MB, free: 2.535 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002071/0.581, allocations: 123.8 kB / 405.4 MB, free: 2.414 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006843/0.5817, allocations: 366.7 kB / 405.7 MB, free: 2.059 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5817, allocations: 4 kB / 405.7 MB, free: 2.055 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005022/0.5822, allocations: 40 kB / 405.8 MB, free: 2.016 MB / 346.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.001305/0.5836, allocations: 0.9736 MB / 406.7 MB, free: 1.016 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006533/0.5842, allocations: 429.6 kB / 407.2 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5843, allocations: 0 / 407.2 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004282/0.5847, allocations: 381.6 kB / 407.5 MB, free: 128 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008247/0.5855, allocations: 109.8 kB / 407.6 MB, free: 20 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.5873, allocations: 0.6036 MB / 408.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005582/0.5879, allocations: 0.814 MB / 409.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.784e-05/0.5879, allocations: 8.609 kB / 409.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.713e-05/0.588, allocations: 31.42 kB / 409.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of SimCode: time 9.42e-07/0.588, allocations: 0 / 409.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05132/0.6394, allocations: 6.607 MB / 415.7 MB, free: 7.836 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000278/0.6397, allocations: 132.1 kB / 415.8 MB, free: 7.641 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.247/2.887, allocations: 0 / 415.8 MB, free: 7.641 MB / 362.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