Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.DFFREGSRL,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Digital_Examples_DFFREGSRL",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.46/2.46, allocations: 195 MB / 202.9 MB, free: 13.76 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.027e-05/3.043e-05, allocations: 4 kB / 249.8 MB, free: 14.78 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3844, allocations: 44.49 MB / 294.3 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1853/0.5697, allocations: 77.51 MB / 371.8 MB, free: 4.301 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002902/0.57, allocations: 67.95 kB / 371.9 MB, free: 4.234 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.129/0.6991, allocations: 32.55 MB / 404.4 MB, free: 3.684 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.265e-06/0.6992, allocations: 0 / 404.4 MB, free: 3.684 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.345e-05/0.6992, allocations: 16 kB / 404.4 MB, free: 3.668 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.002252/0.7015, allocations: 1.307 MB / 405.7 MB, free: 2.262 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.682e-05/0.7016, allocations: 15.97 kB / 405.7 MB, free: 2.246 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004218/0.702, allocations: 134.4 kB / 405.9 MB, free: 2.113 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001358/0.7034, allocations: 0.5168 MB / 406.4 MB, free: 1.547 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.202e-05/0.7035, allocations: 16 kB / 406.4 MB, free: 1.531 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/0.7036, allocations: 27.98 kB / 406.4 MB, free: 1.504 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001257/0.7049, allocations: 440.5 kB / 406.9 MB, free: 1.074 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/0.7066, allocations: 0.5914 MB / 407.5 MB, free: 488 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.7066, allocations: 3.953 kB / 407.5 MB, free: 484 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/0.7067, allocations: 15.98 kB / 407.5 MB, free: 468 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.7068, allocations: 3.938 kB / 407.5 MB, free: 464 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002969/0.7097, allocations: 1.043 MB / 408.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001633/0.7114, allocations: 0.6703 MB / 409.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001509/0.7129, allocations: 0.6646 MB / 409.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.713, allocations: 0 / 409.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00167/0.7147, allocations: 0.7593 MB / 410.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of pre-optimization done (n=36): time 3.306e-06/0.7147, allocations: 0 / 410.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.003193/0.7179, allocations: 1.097 MB / 411.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003084/0.7182, allocations: 325 kB / 412 MB, free: 11.74 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004218/0.7225, allocations: 1.534 MB / 413.6 MB, free: 10.19 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002341/0.7228, allocations: 45.7 kB / 413.6 MB, free: 10.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004291/0.7232, allocations: 238.3 kB / 413.8 MB, free: 9.902 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002211/0.7234, allocations: 79.17 kB / 413.9 MB, free: 9.824 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.7236, allocations: 11.98 kB / 413.9 MB, free: 9.812 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002994/0.7239, allocations: 386.7 kB / 414.3 MB, free: 9.426 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/0.7251, allocations: 428 kB / 414.7 MB, free: 9.004 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001135/0.7262, allocations: 431.9 kB / 415.1 MB, free: 8.582 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007666/0.727, allocations: 299.9 kB / 415.4 MB, free: 8.289 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.7271, allocations: 0 / 415.4 MB, free: 8.289 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002954/0.73, allocations: 1.033 MB / 416.5 MB, free: 7.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003401/0.7304, allocations: 285.5 kB / 416.8 MB, free: 6.922 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.7304, allocations: 0 / 416.8 MB, free: 6.922 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.7305, allocations: 3.938 kB / 416.8 MB, free: 6.918 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5e-05/0.7305, allocations: 15.92 kB / 416.8 MB, free: 6.902 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.7305, allocations: 0 / 416.8 MB, free: 6.902 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007516/0.7313, allocations: 47.95 kB / 416.8 MB, free: 6.855 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003144/0.7316, allocations: 155.9 kB / 417 MB, free: 6.703 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.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.0007014/0.7323, allocations: 478.1 kB / 417.4 MB, free: 6.18 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003226/0.7356, allocations: 1.156 MB / 418.6 MB, free: 5.016 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002921/0.7359, allocations: 134.4 kB / 418.7 MB, free: 4.883 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009255/0.7369, allocations: 252 kB / 419 MB, free: 4.633 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.7369, allocations: 4 kB / 419 MB, free: 4.629 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.7369, allocations: 0 / 419 MB, free: 4.629 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.7369, allocations: 3.938 kB / 419 MB, free: 4.625 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005175/0.7421, allocations: 2.005 MB / 421 MB, free: 2.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.7422, allocations: 0 / 421 MB, free: 2.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.49e-05/0.7422, allocations: 0 / 421 MB, free: 2.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.7422, allocations: 0 / 421 MB, free: 2.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001417/0.7424, allocations: 39.97 kB / 421 MB, free: 2.531 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.009e-05/0.7424, allocations: 4 kB / 421 MB, free: 2.527 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.7424, allocations: 3.938 kB / 421 MB, free: 2.523 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003355/0.7458, allocations: 1.265 MB / 422.3 MB, free: 1.238 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002117/0.7479, allocations: 0.6823 MB / 423 MB, free: 0.5352 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003895/0.7483, allocations: 63.95 kB / 423 MB, free: 484 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007387/0.7491, allocations: 31.97 kB / 423.1 MB, free: 452 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001035/0.7501, allocations: 359.6 kB / 423.4 MB, free: 92 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.279/1.029, allocations: 151.9 kB / 423.6 MB, free: 106.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003968/1.033, allocations: 1.26 MB / 424.8 MB, free: 106.1 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.152e-06/1.033, allocations: 3.938 kB / 424.8 MB, free: 106.1 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001065/1.034, allocations: 146.6 kB / 425 MB, free: 106.1 MB / 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,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.003554/1.038, allocations: 1.909 MB / 426.9 MB, free: 105.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003076/1.041, allocations: 1.874 MB / 428.8 MB, free: 105 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/1.041, allocations: 0 / 428.8 MB, free: 105 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001937/1.043, allocations: 1.372 MB / 430.1 MB, free: 104.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002257/1.045, allocations: 298.1 kB / 430.4 MB, free: 104.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007489/1.053, allocations: 2.686 MB / 433.1 MB, free: 103.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001397/1.054, allocations: 1.217 MB / 434.3 MB, free: 102.9 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005488/1.055, allocations: 155.2 kB / 434.5 MB, free: 102.9 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002648/1.055, allocations: 151.2 kB / 434.6 MB, free: 102.9 MB / 362.7 MB Notification: Performance of SimCode: time 1.233e-06/1.055, allocations: 0 / 434.6 MB, free: 102.9 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07602/1.131, allocations: 20.85 MB / 455.5 MB, free: 91.79 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002355/1.132, allocations: 141.4 kB / 455.6 MB, free: 91.59 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.393/4.525, allocations: 0 / 455.6 MB, free: 91.59 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Digital.Examples.DFFREGSRL_res.mat does not exist to compare? outputFormat=mat