Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.434/2.434, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.132e-05/3.126e-05, allocations: 10.03 kB / 292.7 MB, free: 8.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1079, allocations: 50.42 MB / 343.2 MB, free: 5.832 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4309/0.5389, allocations: 82.96 MB / 426.1 MB, free: 10.89 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/0.5392, allocations: 68.47 kB / 426.2 MB, free: 10.86 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1047/0.6439, allocations: 28.42 MB / 454.6 MB, free: 3.316 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.6439, allocations: 0 / 454.6 MB, free: 3.316 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.422e-05/0.6439, allocations: 4 kB / 454.6 MB, free: 3.312 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007379/0.6447, allocations: 0.6186 MB / 455.2 MB, free: 2.645 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.6448, allocations: 12.02 kB / 455.2 MB, free: 2.633 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.027e-05/0.6448, allocations: 42.06 kB / 455.3 MB, free: 2.586 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.883e-05/0.6449, allocations: 39.58 kB / 455.3 MB, free: 2.547 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004409/0.6454, allocations: 267.3 kB / 455.6 MB, free: 2.254 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.698e-05/0.6454, allocations: 8 kB / 455.6 MB, free: 2.246 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.226e-05/0.6455, allocations: 12 kB / 455.6 MB, free: 2.234 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004028/0.6459, allocations: 140.8 kB / 455.7 MB, free: 2.113 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.6459, allocations: 0 / 455.7 MB, free: 2.113 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.198e-05/0.646, allocations: 4 kB / 455.7 MB, free: 2.109 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.646, allocations: 4 kB / 455.7 MB, free: 2.105 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002171/0.6462, allocations: 66.42 kB / 455.8 MB, free: 2.047 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.6473, allocations: 484.5 kB / 456.3 MB, free: 1.523 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002686/0.6476, allocations: 98.5 kB / 456.4 MB, free: 1.418 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002339/0.6478, allocations: 88.89 kB / 456.5 MB, free: 1.328 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.6479, allocations: 7.984 kB / 456.5 MB, free: 1.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004399/0.6483, allocations: 234.5 kB / 456.7 MB, free: 1.066 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 3.116e-06/0.6483, allocations: 0 / 456.7 MB, free: 1.066 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.001075/0.6494, allocations: 432 kB / 457.1 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.6496, allocations: 166.2 kB / 457.3 MB, free: 424 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009423/0.6505, allocations: 470.5 kB / 457.7 MB, free: 15.95 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.295e-05/0.6506, allocations: 29.7 kB / 457.8 MB, free: 15.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.813e-05/0.6507, allocations: 101.1 kB / 457.9 MB, free: 15.81 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.039e-05/0.6508, allocations: 23.66 kB / 457.9 MB, free: 15.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.035e-05/0.6508, allocations: 8 kB / 457.9 MB, free: 15.78 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.6509, allocations: 326.8 kB / 458.2 MB, free: 15.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002171/0.6512, allocations: 67.97 kB / 458.3 MB, free: 15.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002035/0.6514, allocations: 63.92 kB / 458.4 MB, free: 15.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002687/0.6517, allocations: 170.8 kB / 458.5 MB, free: 15.13 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.6517, allocations: 0 / 458.5 MB, free: 15.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0009735/0.6527, allocations: 408.1 kB / 458.9 MB, free: 14.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001379/0.6528, allocations: 134.8 kB / 459 MB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.6529, allocations: 3.953 kB / 459.1 MB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.6529, allocations: 0 / 459.1 MB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.614e-05/0.6529, allocations: 0 / 459.1 MB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.653, allocations: 7.938 kB / 459.1 MB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002877/0.6533, allocations: 11.98 kB / 459.1 MB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002088/0.6535, allocations: 115.9 kB / 459.2 MB, free: 14.41 MB / 378.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.0002745/0.6538, allocations: 241.5 kB / 459.4 MB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.861e-05/0.6539, allocations: 43.53 kB / 459.5 MB, free: 14.1 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002308/0.6541, allocations: 63.44 kB / 459.5 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.6541, allocations: 11.94 kB / 459.5 MB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.6541, allocations: 0 / 459.5 MB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.6542, allocations: 0 / 459.5 MB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001554/0.6557, allocations: 0.8331 MB / 460.4 MB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.6557, allocations: 0 / 460.4 MB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.126e-05/0.6558, allocations: 3.938 kB / 460.4 MB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.097e-05/0.6558, allocations: 7.953 kB / 460.4 MB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.8e-05/0.6559, allocations: 19.98 kB / 460.4 MB, free: 13.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.6559, allocations: 8 kB / 460.4 MB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.6559, allocations: 0 / 460.4 MB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.657, allocations: 0.5489 MB / 461 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005654/0.6576, allocations: 252.4 kB / 461.2 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.945e-05/0.6577, allocations: 15.95 kB / 461.2 MB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002738/0.658, allocations: 12 kB / 461.2 MB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001771/0.6582, allocations: 39.89 kB / 461.3 MB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001947/0.6584, allocations: 123.8 kB / 461.4 MB, free: 12.03 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00073/0.6591, allocations: 388.9 kB / 461.8 MB, free: 11.65 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6591, allocations: 0 / 461.8 MB, free: 11.65 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004256/0.6596, allocations: 40 kB / 461.8 MB, free: 11.61 MB / 378.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.001476/0.661, allocations: 1.117 MB / 462.9 MB, free: 10.44 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007904/0.6619, allocations: 441.6 kB / 463.4 MB, free: 9.961 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.6619, allocations: 0 / 463.4 MB, free: 9.961 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005046/0.6624, allocations: 389.5 kB / 463.7 MB, free: 9.531 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008492/0.6633, allocations: 104.3 kB / 463.8 MB, free: 9.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001885/0.6652, allocations: 0.6145 MB / 464.5 MB, free: 8.773 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006137/0.6658, allocations: 0.8143 MB / 465.3 MB, free: 7.934 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.14e-05/0.6659, allocations: 8.656 kB / 465.3 MB, free: 7.922 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.157e-05/0.666, allocations: 31.42 kB / 465.3 MB, free: 7.891 MB / 378.7 MB Notification: Performance of SimCode: time 1.573e-06/0.666, allocations: 0 / 465.3 MB, free: 7.891 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03551/0.7015, allocations: 7.043 MB / 472.4 MB, free: 0.8984 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003559/0.7019, allocations: 139.2 kB / 472.5 MB, free: 0.6797 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.51/3.212, allocations: 0 / 472.5 MB, free: 0.6797 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S_res.mat does not exist to compare? outputFormat=mat