Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Digital_Examples_INV3S",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.552/2.552, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.315e-05/3.319e-05, allocations: 4.125 kB / 249.8 MB, free: 5.277 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1049, allocations: 44.51 MB / 294.3 MB, free: 10.67 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5112/0.6162, allocations: 76.91 MB / 371.2 MB, free: 7.109 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/0.6165, allocations: 68.8 kB / 371.2 MB, free: 7.109 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1095/0.726, allocations: 27.81 MB / 399.1 MB, free: 15.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.7261, allocations: 0 / 399.1 MB, free: 15.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.01e-05/0.7261, allocations: 3.875 kB / 399.1 MB, free: 15.82 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.0008253/0.727, allocations: 0.6164 MB / 399.7 MB, free: 15.22 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.727, allocations: 15.62 kB / 399.7 MB, free: 15.21 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.307e-05/0.7271, allocations: 34.44 kB / 399.7 MB, free: 15.18 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.7273, allocations: 38.97 kB / 399.8 MB, free: 15.16 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004848/0.7278, allocations: 267.7 kB / 400 MB, free: 14.91 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.852e-05/0.7278, allocations: 3.875 kB / 400 MB, free: 14.91 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.53e-05/0.7279, allocations: 7.75 kB / 400 MB, free: 14.91 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002646/0.7282, allocations: 60.59 kB / 400.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000411/0.7286, allocations: 143.8 kB / 400.2 MB, free: 14.84 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.7286, allocations: 0 / 400.2 MB, free: 14.84 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.268e-05/0.7287, allocations: 3.906 kB / 400.2 MB, free: 14.84 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.7287, allocations: 4 kB / 400.2 MB, free: 14.83 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.7299, allocations: 460.7 kB / 400.7 MB, free: 14.51 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002646/0.7302, allocations: 96.75 kB / 400.8 MB, free: 14.47 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002112/0.7304, allocations: 85.95 kB / 400.9 MB, free: 14.46 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.7304, allocations: 4 kB / 400.9 MB, free: 14.45 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004682/0.7309, allocations: 217 kB / 401.1 MB, free: 14.3 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 3.166e-06/0.7309, allocations: 0 / 401.1 MB, free: 14.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.001047/0.732, allocations: 308.1 kB / 401.4 MB, free: 14.22 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/0.7322, allocations: 165.1 kB / 401.6 MB, free: 14.03 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009908/0.7332, allocations: 454.7 kB / 402 MB, free: 13.81 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.868e-05/0.7333, allocations: 29.67 kB / 402 MB, free: 13.78 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.337e-05/0.7334, allocations: 107 kB / 402.1 MB, free: 13.68 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.302e-05/0.7335, allocations: 22.59 kB / 402.2 MB, free: 13.67 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.554e-05/0.7335, allocations: 7.859 kB / 402.2 MB, free: 13.66 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.7337, allocations: 325 kB / 402.5 MB, free: 13.35 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.7339, allocations: 60.41 kB / 402.5 MB, free: 13.34 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.7341, allocations: 63.22 kB / 402.6 MB, free: 13.34 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.7343, allocations: 52.61 kB / 402.6 MB, free: 13.32 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.7343, allocations: 0 / 402.6 MB, free: 13.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0009138/0.7352, allocations: 284.8 kB / 402.9 MB, free: 13.25 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001454/0.7354, allocations: 132.6 kB / 403.1 MB, free: 13.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.7354, allocations: 3.938 kB / 403.1 MB, free: 13.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.7355, allocations: 0 / 403.1 MB, free: 13.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.845e-05/0.7355, allocations: 3.75 kB / 403.1 MB, free: 13.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.7355, allocations: 0 / 403.1 MB, free: 13.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003065/0.7358, allocations: 15.8 kB / 403.1 MB, free: 13.1 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000236/0.7361, allocations: 122.2 kB / 403.2 MB, free: 13.09 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.0003323/0.7364, allocations: 243.8 kB / 403.4 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.7366, allocations: 42.62 kB / 403.5 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002412/0.7368, allocations: 65.95 kB / 403.5 MB, free: 12.78 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.7368, allocations: 3.844 kB / 403.5 MB, free: 12.78 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/0.7368, allocations: 0 / 403.5 MB, free: 12.78 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.7369, allocations: 3.938 kB / 403.6 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001549/0.7384, allocations: 0.6816 MB / 404.2 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.7385, allocations: 3.812 kB / 404.2 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.15e-05/0.7385, allocations: 0 / 404.2 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.7385, allocations: 0 / 404.2 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.959e-05/0.7386, allocations: 27.08 kB / 404.3 MB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.7386, allocations: 0 / 404.3 MB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.7386, allocations: 0 / 404.3 MB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.7397, allocations: 433.5 kB / 404.7 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006659/0.7404, allocations: 259.2 kB / 404.9 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.7405, allocations: 11.12 kB / 404.9 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003446/0.7408, allocations: 7.781 kB / 405 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001988/0.7411, allocations: 45.7 kB / 405 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001951/0.7413, allocations: 124.5 kB / 405.1 MB, free: 11.96 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007771/0.7421, allocations: 369.4 kB / 405.5 MB, free: 11.79 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.91e-07/0.7421, allocations: 0 / 405.5 MB, free: 11.79 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005194/0.7426, allocations: 42.88 kB / 405.5 MB, free: 11.79 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.00155/0.7442, allocations: 0.9819 MB / 406.5 MB, free: 11.06 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007779/0.745, allocations: 432.5 kB / 406.9 MB, free: 10.8 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.745, allocations: 0 / 406.9 MB, free: 10.8 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005068/0.7455, allocations: 375.2 kB / 407.3 MB, free: 10.53 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.7466, allocations: 105 kB / 407.4 MB, free: 10.5 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/0.7487, allocations: 0.6 MB / 408 MB, free: 10.18 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007089/0.7494, allocations: 0.8133 MB / 408.8 MB, free: 9.414 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.279e-05/0.7495, allocations: 8.562 kB / 408.8 MB, free: 9.41 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.922e-05/0.7496, allocations: 24.86 kB / 408.8 MB, free: 9.398 MB / 314.7 MB Notification: Performance of SimCode: time 1.332e-06/0.7496, allocations: 0 / 408.8 MB, free: 9.398 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06128/0.8109, allocations: 6.8 MB / 415.6 MB, free: 2.582 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003642/0.8114, allocations: 144.5 kB / 415.8 MB, free: 2.379 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.198/4.009, allocations: 0 / 415.8 MB, free: 2.379 MB / 314.7 MB "" Variables in the reference:time,iNV3S.y Variables in the result:_D_whenCondition1,_D_whenCondition2,e_table.n,e_table.t[1],e_table.t[2],e_table.t[3],e_table.x[1],e_table.x[2],e_table.x[3],e_table.y,e_table.y0,iNV3S.enable,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.tHL,iNV3S.inertialDelaySensitive.tLH,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.y0,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.y_old,iNV3S.nextstate,iNV3S.strength,iNV3S.tHL,iNV3S.tLH,iNV3S.x,iNV3S.y,iNV3S.yy,time,x_table.n,x_table.t[1],x_table.t[2],x_table.x[1],x_table.x[2],x_table.y,x_table.y0