Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.DFFREGSRL,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Digital_Examples_DFFREGSRL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.906/1.906, allocations: 194.9 MB / 208 MB, free: 3.191 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.421e-05/3.433e-05, allocations: 4 kB / 255.4 MB, free: 2.637 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0908/0.09087, allocations: 44.51 MB / 300 MB, free: 6.07 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4009/0.4918, allocations: 78.16 MB / 378.1 MB, free: 12.75 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/0.4921, allocations: 70.25 kB / 378.2 MB, free: 12.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09433/0.5865, allocations: 32.75 MB / 410.9 MB, free: 5.996 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.5866, allocations: 0 / 410.9 MB, free: 5.996 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.968e-05/0.5866, allocations: 19.44 kB / 411 MB, free: 5.992 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001621/0.5882, allocations: 1.299 MB / 412.3 MB, free: 4.918 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.5883, allocations: 11.41 kB / 412.3 MB, free: 4.918 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001719/0.5885, allocations: 61.66 kB / 412.3 MB, free: 4.871 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002408/0.5887, allocations: 131.9 kB / 412.5 MB, free: 4.805 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009894/0.5897, allocations: 0.5085 MB / 413 MB, free: 4.457 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.762e-05/0.5898, allocations: 22.56 kB / 413 MB, free: 4.457 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.5899, allocations: 26.88 kB / 413 MB, free: 4.457 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.5913, allocations: 0.6306 MB / 413.6 MB, free: 4.285 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.5913, allocations: 0 / 413.6 MB, free: 4.285 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.5e-05/0.5914, allocations: 18.95 kB / 413.7 MB, free: 4.281 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.5914, allocations: 4 kB / 413.7 MB, free: 4.277 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009785/0.5924, allocations: 460.5 kB / 414.1 MB, free: 4.219 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00234/0.5948, allocations: 1.073 MB / 415.2 MB, free: 3.645 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.596, allocations: 0.6971 MB / 415.9 MB, free: 3.555 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001084/0.5971, allocations: 0.672 MB / 416.6 MB, free: 3.492 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.5972, allocations: 0 / 416.6 MB, free: 3.492 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001266/0.5984, allocations: 0.7643 MB / 417.3 MB, free: 3.164 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 2.936e-06/0.5985, allocations: 0 / 417.3 MB, free: 3.164 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.002743/0.6012, allocations: 1.414 MB / 418.7 MB, free: 2.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001785/0.6014, allocations: 327.2 kB / 419.1 MB, free: 2.332 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003489/0.605, allocations: 1.601 MB / 420.7 MB, free: 1.688 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000248/0.6052, allocations: 43.33 kB / 420.7 MB, free: 1.656 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002951/0.6056, allocations: 244.3 kB / 420.9 MB, free: 1.531 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001807/0.6057, allocations: 85.08 kB / 421 MB, free: 1.484 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.377e-05/0.6058, allocations: 11.19 kB / 421 MB, free: 1.484 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.606, allocations: 390.7 kB / 421.4 MB, free: 1.137 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009225/0.6069, allocations: 446.8 kB / 421.9 MB, free: 1.078 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008651/0.6078, allocations: 455.2 kB / 422.3 MB, free: 1.023 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007964/0.6086, allocations: 0.582 MB / 422.9 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.6087, allocations: 3.875 kB / 422.9 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002465/0.6111, allocations: 1.342 MB / 424.2 MB, free: 240 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002722/0.6114, allocations: 294.9 kB / 424.5 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.6115, allocations: 0 / 424.5 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.6115, allocations: 0 / 424.5 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.243e-05/0.6116, allocations: 7.812 kB / 424.5 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.6116, allocations: 0 / 424.5 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006907/0.6123, allocations: 45.75 kB / 424.6 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002296/0.6125, allocations: 153.7 kB / 424.7 MB, free: 15.93 MB / 330.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.dFFREGSRL.delay.inertialDelaySensitive[1].x,dFFREGSRL.delay.inertialDelaySensitive[1].x,$PRE.dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,$PRE.dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[2].x,$PRE.dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,$PRE.dFFREGSRL.dFFSR.set,dFFREGSRL.dFFSR.set,$PRE.dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.reset,$PRE.dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.dataIn[1],dFFREGSRL.dFFSR.dataIn[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.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.0006207/0.6132, allocations: 476.1 kB / 425.2 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002682/0.6134, allocations: 129.8 kB / 425.3 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008078/0.6143, allocations: 247 kB / 425.5 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.6143, allocations: 3.875 kB / 425.6 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.6143, allocations: 4 kB / 425.6 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/0.6143, allocations: 0 / 425.6 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005146/0.6195, allocations: 2.4 MB / 428 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.6195, allocations: 0 / 428 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.464e-05/0.6196, allocations: 0 / 428 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-05/0.6196, allocations: 3.984 kB / 428 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001267/0.6197, allocations: 42.06 kB / 428 MB, free: 14.24 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.6197, allocations: 4 kB / 428 MB, free: 14.24 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.6197, allocations: 4 kB / 428 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003224/0.623, allocations: 1.622 MB / 429.6 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002032/0.6251, allocations: 0.6716 MB / 430.3 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003194/0.6254, allocations: 68.3 kB / 430.4 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006169/0.6261, allocations: 38.09 kB / 430.4 MB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008755/0.627, allocations: 363.3 kB / 430.8 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002384/0.6272, allocations: 154.2 kB / 430.9 MB, free: 13.13 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.003156/0.6304, allocations: 1.318 MB / 432.2 MB, free: 12.62 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6304, allocations: 3.094 kB / 432.2 MB, free: 12.62 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008946/0.6313, allocations: 150.7 kB / 432.4 MB, free: 12.62 MB / 330.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,dFFREGSRL.delay.inertialDelaySensitive[1].x,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,dFFREGSRL.dFFSR.set,dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.dataIn[1],dFFREGSRL.dFFSR.dataIn[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.dFFSR.next_assign_val[2]) * Number of discrete states: 34 (set.y,data_1.y,reset.y,data_0.y,clock.y,dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.next_assign_val[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.set,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,dFFREGSRL.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.003772/0.6351, allocations: 2.27 MB / 434.6 MB, free: 11.42 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003895/0.6391, allocations: 1.903 MB / 436.6 MB, free: 9.512 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/0.6391, allocations: 0 / 436.6 MB, free: 9.512 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002386/0.6415, allocations: 1.397 MB / 437.9 MB, free: 8.02 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002236/0.6438, allocations: 293.8 kB / 438.2 MB, free: 7.734 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007478/0.6514, allocations: 2.719 MB / 441 MB, free: 4.965 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001636/0.6531, allocations: 1.213 MB / 442.2 MB, free: 3.73 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004946/0.6536, allocations: 159 kB / 442.3 MB, free: 3.574 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002836/0.6539, allocations: 151.4 kB / 442.5 MB, free: 3.426 MB / 330.7 MB Notification: Performance of SimCode: time 1.152e-06/0.6539, allocations: 0 / 442.5 MB, free: 3.426 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07794/0.7318, allocations: 22.04 MB / 464.5 MB, free: 13.03 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002749/0.7322, allocations: 164.6 kB / 464.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.875/3.607, allocations: 4 kB / 464.7 MB, free: 12.79 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGSRL_res.mat does not exist to compare? outputFormat=mat