Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.DFFREGSRH,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Digital_Examples_DFFREGSRH",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.918/1.918, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.328e-05/3.342e-05, allocations: 4 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3162, allocations: 44.49 MB / 294.2 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1361/0.4524, allocations: 77.46 MB / 371.7 MB, free: 4.371 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/0.4527, allocations: 67.97 kB / 371.8 MB, free: 4.305 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1037/0.5564, allocations: 31 MB / 402.8 MB, free: 5.316 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.5565, allocations: 3.938 kB / 402.8 MB, free: 5.312 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.468e-05/0.5565, allocations: 16 kB / 402.8 MB, free: 5.297 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001973/0.5585, allocations: 1.303 MB / 404.1 MB, free: 3.895 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/0.5586, allocations: 8.031 kB / 404.1 MB, free: 3.887 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003256/0.5589, allocations: 130.5 kB / 404.2 MB, free: 3.758 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.56, allocations: 0.5167 MB / 404.7 MB, free: 3.191 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.967e-05/0.5601, allocations: 20 kB / 404.8 MB, free: 3.172 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.5602, allocations: 24 kB / 404.8 MB, free: 3.148 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001046/0.5613, allocations: 436.5 kB / 405.2 MB, free: 2.723 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/0.5627, allocations: 0.5953 MB / 405.8 MB, free: 2.121 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.5627, allocations: 0 / 405.8 MB, free: 2.121 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.687e-05/0.5628, allocations: 12 kB / 405.8 MB, free: 2.109 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.5628, allocations: 8 kB / 405.8 MB, free: 2.102 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002524/0.5654, allocations: 1.043 MB / 406.9 MB, free: 1.016 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001276/0.5667, allocations: 0.6781 MB / 407.5 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001239/0.5679, allocations: 0.657 MB / 408.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.568, allocations: 0 / 408.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001423/0.5694, allocations: 0.7515 MB / 408.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=36): time 2.585e-06/0.5694, allocations: 0 / 408.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.002753/0.5722, allocations: 1.105 MB / 410.1 MB, free: 13.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003128/0.5725, allocations: 329 kB / 410.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003538/0.5761, allocations: 1.541 MB / 411.9 MB, free: 11.83 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002023/0.5763, allocations: 41.69 kB / 412 MB, free: 11.78 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003738/0.5767, allocations: 234.5 kB / 412.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001964/0.5769, allocations: 83.06 kB / 412.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.03e-05/0.577, allocations: 15.94 kB / 412.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002435/0.5773, allocations: 378.7 kB / 412.6 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/0.5783, allocations: 432 kB / 413.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009461/0.5793, allocations: 447.9 kB / 413.5 MB, free: 10.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006347/0.5799, allocations: 288 kB / 413.8 MB, free: 9.926 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.5799, allocations: 0 / 413.8 MB, free: 9.926 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002513/0.5825, allocations: 1.029 MB / 414.8 MB, free: 8.891 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002975/0.5828, allocations: 293.5 kB / 415.1 MB, free: 8.555 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.5828, allocations: 0 / 415.1 MB, free: 8.555 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.5828, allocations: 0 / 415.1 MB, free: 8.555 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.177e-05/0.5829, allocations: 11.94 kB / 415.1 MB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.5829, allocations: 3.953 kB / 415.1 MB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006141/0.5835, allocations: 43.97 kB / 415.2 MB, free: 8.496 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002747/0.5838, allocations: 155.9 kB / 415.3 MB, free: 8.344 MB / 362.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: 43 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,set.y,$PRE.dFFREGSRH.delay.inertialDelaySensitive[1].x,dFFREGSRH.delay.inertialDelaySensitive[1].x,$PRE.dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.delay.inertialDelaySensitive[1].delayTime,dFFREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[1].y_old,dFFREGSRH.delay.inertialDelaySensitive[1].lh,dFFREGSRH.delay.inertialDelaySensitive[1].t_next,$PRE.dFFREGSRH.delay.inertialDelaySensitive[2].x,dFFREGSRH.delay.inertialDelaySensitive[2].x,$PRE.dFFREGSRH.delay.inertialDelaySensitive[2].y,dFFREGSRH.delay.inertialDelaySensitive[2].y,dFFREGSRH.delay.inertialDelaySensitive[2].delayTime,dFFREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[2].y_old,dFFREGSRH.delay.inertialDelaySensitive[2].lh,dFFREGSRH.delay.inertialDelaySensitive[2].t_next,$PRE.dFFREGSRH.dFFSR.set,dFFREGSRH.dFFSR.set,$PRE.dFFREGSRH.dFFSR.reset,dFFREGSRH.dFFSR.reset,$PRE.dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.dataIn[1],dFFREGSRH.dFFSR.dataIn[2],dFFREGSRH.dFFSR.dataOut[1],dFFREGSRH.dFFSR.dataOut[2],dFFREGSRH.dFFSR.clock_flag,dFFREGSRH.dFFSR.reset_set_flag,dFFREGSRH.dFFSR.nextstate[1],dFFREGSRH.dFFSR.nextstate[2],dFFREGSRH.dFFSR.next_assign_val[1],dFFREGSRH.dFFSR.next_assign_val[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 8 * 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.000688/0.5845, allocations: 470.3 kB / 415.8 MB, free: 7.828 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002789/0.5873, allocations: 1.171 MB / 416.9 MB, free: 6.648 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002412/0.5876, allocations: 130.5 kB / 417.1 MB, free: 6.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007763/0.5884, allocations: 244.1 kB / 417.3 MB, free: 6.273 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.5884, allocations: 3.953 kB / 417.3 MB, free: 6.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.5884, allocations: 4 kB / 417.3 MB, free: 6.266 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.228e-05/0.5884, allocations: 7.922 kB / 417.3 MB, free: 6.258 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004273/0.5927, allocations: 1.997 MB / 419.3 MB, free: 4.211 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.5927, allocations: 0 / 419.3 MB, free: 4.211 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.241e-05/0.5928, allocations: 7.984 kB / 419.3 MB, free: 4.203 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.5928, allocations: 0 / 419.3 MB, free: 4.203 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001226/0.5929, allocations: 39.94 kB / 419.4 MB, free: 4.164 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.5929, allocations: 8 kB / 419.4 MB, free: 4.156 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.5929, allocations: 0 / 419.4 MB, free: 4.156 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002943/0.5959, allocations: 1.273 MB / 420.7 MB, free: 2.863 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001861/0.5978, allocations: 0.6786 MB / 421.3 MB, free: 2.164 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003404/0.5982, allocations: 55.97 kB / 421.4 MB, free: 2.109 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006131/0.5988, allocations: 47.81 kB / 421.4 MB, free: 2.062 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009307/0.5997, allocations: 355.7 kB / 421.8 MB, free: 1.715 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002867/0.6, allocations: 155.9 kB / 421.9 MB, free: 1.562 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002999/0.603, allocations: 1.255 MB / 423.2 MB, free: 312 kB / 362.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.6031, allocations: 0 / 423.2 MB, free: 312 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009223/0.604, allocations: 144 kB / 423.3 MB, free: 168 kB / 362.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: 36 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,set.y,dFFREGSRH.delay.inertialDelaySensitive[1].x,dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.delay.inertialDelaySensitive[1].delayTime,dFFREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[1].y_old,dFFREGSRH.delay.inertialDelaySensitive[1].lh,dFFREGSRH.delay.inertialDelaySensitive[1].t_next,dFFREGSRH.delay.inertialDelaySensitive[2].x,dFFREGSRH.delay.inertialDelaySensitive[2].y,dFFREGSRH.delay.inertialDelaySensitive[2].delayTime,dFFREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[2].y_old,dFFREGSRH.delay.inertialDelaySensitive[2].lh,dFFREGSRH.delay.inertialDelaySensitive[2].t_next,dFFREGSRH.dFFSR.set,dFFREGSRH.dFFSR.reset,dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.dataIn[1],dFFREGSRH.dFFSR.dataIn[2],dFFREGSRH.dFFSR.dataOut[1],dFFREGSRH.dFFSR.dataOut[2],dFFREGSRH.dFFSR.clock_flag,dFFREGSRH.dFFSR.reset_set_flag,dFFREGSRH.dFFSR.nextstate[1],dFFREGSRH.dFFSR.nextstate[2],dFFREGSRH.dFFSR.next_assign_val[1],dFFREGSRH.dFFSR.next_assign_val[2]) * Number of discrete states: 34 (set.y,data_1.y,reset.y,data_0.y,clock.y,dFFREGSRH.dFFSR.dataOut[2],dFFREGSRH.dFFSR.dataOut[1],dFFREGSRH.dFFSR.next_assign_val[2],dFFREGSRH.dFFSR.next_assign_val[1],dFFREGSRH.dFFSR.nextstate[2],dFFREGSRH.dFFSR.nextstate[1],dFFREGSRH.dFFSR.reset_set_flag,dFFREGSRH.dFFSR.clock_flag,dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.reset,dFFREGSRH.dFFSR.set,dFFREGSRH.delay.inertialDelaySensitive[2].y,dFFREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[2].t_next,dFFREGSRH.delay.inertialDelaySensitive[2].delayTime,dFFREGSRH.delay.inertialDelaySensitive[2].lh,dFFREGSRH.delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,dFFREGSRH.delay.inertialDelaySensitive[2].x,dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[1].t_next,dFFREGSRH.delay.inertialDelaySensitive[1].delayTime,dFFREGSRH.delay.inertialDelaySensitive[1].lh,dFFREGSRH.delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,dFFREGSRH.delay.inertialDelaySensitive[1].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 8 * 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.2621/0.8661, allocations: 1.911 MB / 425.2 MB, free: 105.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002746/0.8689, allocations: 1.867 MB / 427.1 MB, free: 105.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.869, allocations: 1.281 kB / 427.1 MB, free: 105.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001615/0.8706, allocations: 1.373 MB / 428.5 MB, free: 104.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001886/0.8725, allocations: 304.7 kB / 428.8 MB, free: 104.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007319/0.8798, allocations: 2.679 MB / 431.5 MB, free: 104.1 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001929/0.8818, allocations: 1.216 MB / 432.7 MB, free: 103.3 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006993/0.8825, allocations: 186.7 kB / 432.9 MB, free: 103.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003041/0.8829, allocations: 148.3 kB / 433 MB, free: 103.2 MB / 362.7 MB Notification: Performance of SimCode: time 1.042e-06/0.8829, allocations: 0 / 433 MB, free: 103.2 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.117/0.9999, allocations: 20.85 MB / 453.8 MB, free: 92.94 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001777/1, allocations: 136.9 kB / 454 MB, free: 92.75 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.731/3.731, allocations: 0 / 454 MB, free: 92.75 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGSRH_res.mat does not exist to compare? outputFormat=mat