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.792/1.792, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.989e-05/3.007e-05, allocations: 7.984 kB / 255.4 MB, free: 3.117 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08881/0.08886, allocations: 44.5 MB / 299.9 MB, free: 6.562 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3896/0.4785, allocations: 77.57 MB / 377.5 MB, free: 12.76 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/0.4788, allocations: 70.84 kB / 377.6 MB, free: 12.76 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08595/0.5648, allocations: 28.02 MB / 405.6 MB, free: 9.406 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5648, allocations: 0 / 405.6 MB, free: 9.406 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.5649, allocations: 3.875 kB / 405.6 MB, free: 9.406 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.0005814/0.5655, allocations: 0.6196 MB / 406.2 MB, free: 8.805 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.5655, allocations: 7.781 kB / 406.2 MB, free: 8.805 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.94e-05/0.5656, allocations: 45.67 kB / 406.3 MB, free: 8.762 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.225e-05/0.5657, allocations: 35.16 kB / 406.3 MB, free: 8.742 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003496/0.566, allocations: 260.6 kB / 406.6 MB, free: 8.504 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.5661, allocations: 11.91 kB / 406.6 MB, free: 8.496 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.088e-05/0.5661, allocations: 9.594 kB / 406.6 MB, free: 8.496 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003507/0.5665, allocations: 148.5 kB / 406.7 MB, free: 8.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.5665, allocations: 0 / 406.7 MB, free: 8.43 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.863e-05/0.5666, allocations: 3.969 kB / 406.7 MB, free: 8.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.5666, allocations: 0 / 406.7 MB, free: 8.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001886/0.5668, allocations: 63.59 kB / 406.8 MB, free: 8.422 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008485/0.5676, allocations: 489.4 kB / 407.3 MB, free: 8.062 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002237/0.5679, allocations: 105.4 kB / 407.4 MB, free: 8.031 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001939/0.5681, allocations: 86.73 kB / 407.4 MB, free: 8.016 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.5681, allocations: 0 / 407.4 MB, free: 8.016 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003436/0.5685, allocations: 231.4 kB / 407.7 MB, free: 7.859 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.355e-06/0.5685, allocations: 4 kB / 407.7 MB, free: 7.855 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008927/0.5694, allocations: 432.7 kB / 408.1 MB, free: 7.645 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.797e-05/0.5695, allocations: 165.6 kB / 408.3 MB, free: 7.453 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007354/0.5702, allocations: 465.6 kB / 408.7 MB, free: 7.227 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.369e-05/0.5703, allocations: 33.08 kB / 408.7 MB, free: 7.195 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.667e-05/0.5704, allocations: 161.3 kB / 408.9 MB, free: 7.047 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.541e-05/0.5704, allocations: 33.5 kB / 408.9 MB, free: 7.023 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/0.5705, allocations: 3.656 kB / 408.9 MB, free: 7.023 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.174e-05/0.5705, allocations: 329.8 kB / 409.3 MB, free: 6.699 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/0.5707, allocations: 61.39 kB / 409.3 MB, free: 6.695 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.5709, allocations: 64.64 kB / 409.4 MB, free: 6.688 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001999/0.5711, allocations: 173.7 kB / 409.6 MB, free: 6.551 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.5711, allocations: 0 / 409.6 MB, free: 6.551 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007458/0.5719, allocations: 405.2 kB / 410 MB, free: 6.359 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.778e-05/0.572, allocations: 123.2 kB / 410.1 MB, free: 6.227 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.572, allocations: 3.938 kB / 410.1 MB, free: 6.223 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.572, allocations: 3.844 kB / 410.1 MB, free: 6.223 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.199e-05/0.5721, allocations: 64 / 410.1 MB, free: 6.223 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.5721, allocations: 11.94 kB / 410.1 MB, free: 6.211 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002332/0.5723, allocations: 15.03 kB / 410.1 MB, free: 6.211 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001491/0.5725, allocations: 116.2 kB / 410.2 MB, free: 6.199 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.0001748/0.5727, allocations: 242.6 kB / 410.5 MB, free: 5.953 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.178e-05/0.5728, allocations: 39 kB / 410.5 MB, free: 5.934 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001579/0.5729, allocations: 64.88 kB / 410.6 MB, free: 5.902 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.5729, allocations: 0 / 410.6 MB, free: 5.902 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.573, allocations: 0 / 410.6 MB, free: 5.902 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.573, allocations: 15.89 kB / 410.6 MB, free: 5.891 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/0.5742, allocations: 0.8318 MB / 411.4 MB, free: 5.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.5742, allocations: 0 / 411.4 MB, free: 5.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.334e-06/0.5742, allocations: 0 / 411.4 MB, free: 5.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.5742, allocations: 0 / 411.4 MB, free: 5.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.967e-05/0.5743, allocations: 22.83 kB / 411.4 MB, free: 5.336 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.5743, allocations: 3.875 kB / 411.4 MB, free: 5.336 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5743, allocations: 0 / 411.4 MB, free: 5.336 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008631/0.5752, allocations: 0.5568 MB / 412 MB, free: 5.016 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000451/0.5757, allocations: 260.1 kB / 412.2 MB, free: 4.836 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.925e-05/0.5758, allocations: 10.56 kB / 412.3 MB, free: 4.836 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002516/0.576, allocations: 11.59 kB / 412.3 MB, free: 4.836 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/0.5762, allocations: 33.95 kB / 412.3 MB, free: 4.824 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001453/0.5764, allocations: 122.4 kB / 412.4 MB, free: 4.809 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005977/0.577, allocations: 388 kB / 412.8 MB, free: 4.629 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.577, allocations: 3.938 kB / 412.8 MB, free: 4.625 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004113/0.5774, allocations: 46.53 kB / 412.8 MB, free: 4.621 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.001133/0.5785, allocations: 1.118 MB / 414 MB, free: 3.766 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006071/0.5792, allocations: 445.7 kB / 414.4 MB, free: 3.496 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5792, allocations: 0 / 414.4 MB, free: 3.496 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003573/0.5796, allocations: 384.3 kB / 414.8 MB, free: 3.23 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007762/0.5803, allocations: 114.1 kB / 414.9 MB, free: 3.188 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.5819, allocations: 0.6509 MB / 415.5 MB, free: 2.828 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006013/0.5826, allocations: 0.8107 MB / 416.3 MB, free: 18.07 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.341e-05/0.5826, allocations: 25.19 kB / 416.4 MB, free: 18.06 MB / 330.7 MB Notification: Performance of SimCode: time 1.032e-06/0.5826, allocations: 0 / 416.4 MB, free: 18.06 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.625/3.208, allocations: 4.4 MB / 420.8 MB, free: 15.86 MB / 330.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