Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.958/1.958, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.773e-05/2.771e-05, allocations: 11.98 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3192, allocations: 44.49 MB / 294.2 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1362/0.4554, allocations: 76.91 MB / 371.1 MB, free: 5.074 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/0.4557, allocations: 71.95 kB / 371.2 MB, free: 5.004 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09936/0.5551, allocations: 27.81 MB / 399 MB, free: 9.242 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5552, allocations: 0 / 399 MB, free: 9.242 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.722e-05/0.5552, allocations: 4 kB / 399 MB, free: 9.238 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.0007603/0.556, allocations: 0.6255 MB / 399.6 MB, free: 8.543 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.556, allocations: 8.031 kB / 399.6 MB, free: 8.535 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.5561, allocations: 43.53 kB / 399.7 MB, free: 8.492 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004428/0.5566, allocations: 263.6 kB / 399.9 MB, free: 8.195 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/0.5566, allocations: 4 kB / 399.9 MB, free: 8.191 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.918e-05/0.5567, allocations: 8 kB / 399.9 MB, free: 8.184 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002063/0.5569, allocations: 63.91 kB / 400 MB, free: 8.121 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003427/0.5573, allocations: 133.6 kB / 400.1 MB, free: 7.984 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.5573, allocations: 4 kB / 400.1 MB, free: 7.98 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.488e-05/0.5574, allocations: 4 kB / 400.1 MB, free: 7.977 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.5574, allocations: 4 kB / 400.1 MB, free: 7.973 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009449/0.5583, allocations: 449.1 kB / 400.6 MB, free: 7.496 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002325/0.5586, allocations: 98.5 kB / 400.7 MB, free: 7.391 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/0.5588, allocations: 84.89 kB / 400.8 MB, free: 7.305 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.5588, allocations: 0 / 400.8 MB, free: 7.305 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004051/0.5592, allocations: 222.7 kB / 401 MB, free: 7.062 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.074e-06/0.5593, allocations: 0 / 401 MB, free: 7.062 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008866/0.5602, allocations: 305.3 kB / 401.3 MB, free: 6.758 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/0.5603, allocations: 170.1 kB / 401.4 MB, free: 6.555 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008814/0.5612, allocations: 456.8 kB / 401.9 MB, free: 6.105 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.972e-05/0.5613, allocations: 29.7 kB / 401.9 MB, free: 6.07 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.5614, allocations: 159.9 kB / 402.1 MB, free: 5.914 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.73e-05/0.5615, allocations: 39.62 kB / 402.1 MB, free: 5.875 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/0.5615, allocations: 4 kB / 402.1 MB, free: 5.871 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.5616, allocations: 318.8 kB / 402.4 MB, free: 5.551 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/0.5618, allocations: 59.97 kB / 402.5 MB, free: 5.492 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001671/0.562, allocations: 55.98 kB / 402.5 MB, free: 5.438 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.5622, allocations: 50.08 kB / 402.6 MB, free: 5.391 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.5622, allocations: 0 / 402.6 MB, free: 5.391 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007839/0.563, allocations: 281.4 kB / 402.9 MB, free: 5.109 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001181/0.5631, allocations: 126.9 kB / 403 MB, free: 4.961 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.5632, allocations: 7.938 kB / 403 MB, free: 4.953 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.5632, allocations: 0 / 403 MB, free: 4.953 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.421e-05/0.5632, allocations: 7.938 kB / 403 MB, free: 4.945 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.5632, allocations: 0 / 403 MB, free: 4.945 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002428/0.5635, allocations: 15.98 kB / 403 MB, free: 4.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002037/0.5637, allocations: 119.8 kB / 403.1 MB, free: 4.812 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.0002533/0.564, allocations: 241.3 kB / 403.4 MB, free: 4.543 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008696/0.5648, allocations: 345 kB / 403.7 MB, free: 4.199 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.996e-05/0.5649, allocations: 35.62 kB / 403.7 MB, free: 4.164 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002092/0.5652, allocations: 67.42 kB / 403.8 MB, free: 4.094 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.5652, allocations: 0 / 403.8 MB, free: 4.094 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.5652, allocations: 8.062 kB / 403.8 MB, free: 4.086 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.5652, allocations: 3.984 kB / 403.8 MB, free: 4.082 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001319/0.5665, allocations: 0.6823 MB / 404.5 MB, free: 3.355 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.5666, allocations: 0 / 404.5 MB, free: 3.355 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.087e-06/0.5666, allocations: 4 kB / 404.5 MB, free: 3.352 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.5666, allocations: 0 / 404.5 MB, free: 3.352 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.846e-05/0.5667, allocations: 19.98 kB / 404.5 MB, free: 3.332 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.5667, allocations: 4 kB / 404.5 MB, free: 3.328 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/0.5667, allocations: 0 / 404.5 MB, free: 3.328 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009305/0.5676, allocations: 446.7 kB / 405 MB, free: 2.875 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005352/0.5682, allocations: 252.3 kB / 405.2 MB, free: 2.609 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.5683, allocations: 11.98 kB / 405.2 MB, free: 2.598 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002694/0.5686, allocations: 12 kB / 405.2 MB, free: 2.586 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001745/0.5688, allocations: 35.95 kB / 405.3 MB, free: 2.551 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001935/0.569, allocations: 123.8 kB / 405.4 MB, free: 2.43 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006667/0.5697, allocations: 370.7 kB / 405.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5697, allocations: 0 / 405.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004515/0.5701, allocations: 44 kB / 405.8 MB, free: 2.027 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.001321/0.5715, allocations: 0.9736 MB / 406.8 MB, free: 1.027 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006803/0.5722, allocations: 429.6 kB / 407.2 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5722, allocations: 0 / 407.2 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004525/0.5727, allocations: 373.6 kB / 407.6 MB, free: 148 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008213/0.5735, allocations: 105.8 kB / 407.7 MB, free: 44 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/0.5754, allocations: 0.6482 MB / 408.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007027/0.5761, allocations: 0.8179 MB / 409.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.988e-05/0.5762, allocations: 23.44 kB / 409.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of SimCode: time 1.001e-06/0.5762, allocations: 0 / 409.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.266/3.842, allocations: 4.399 MB / 413.5 MB, free: 10.04 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Digital.Examples.INV3S_res.mat does not exist to compare? outputFormat=mat