Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.DFFREGSRH,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_DFFREGSRH",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.11/2.11, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.474e-05/3.485e-05, allocations: 4 kB / 292.7 MB, free: 8.289 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1133, allocations: 50.41 MB / 343.1 MB, free: 5.848 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.448/0.5613, allocations: 83.53 MB / 426.7 MB, free: 10.3 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/0.5617, allocations: 69.95 kB / 426.8 MB, free: 10.26 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1088/0.6705, allocations: 31.52 MB / 458.3 MB, free: 15.6 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.469e-06/0.6705, allocations: 4 kB / 458.3 MB, free: 15.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.558e-05/0.6706, allocations: 12 kB / 458.3 MB, free: 15.58 MB / 378.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.002214/0.6728, allocations: 1.303 MB / 459.6 MB, free: 14.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/0.6729, allocations: 12.03 kB / 459.6 MB, free: 14.17 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002236/0.6731, allocations: 58.53 kB / 459.7 MB, free: 14.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002907/0.6734, allocations: 134.5 kB / 459.8 MB, free: 13.97 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/0.6747, allocations: 0.5129 MB / 460.3 MB, free: 13.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-05/0.6748, allocations: 31.81 kB / 460.3 MB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/0.675, allocations: 39.97 kB / 460.4 MB, free: 13.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001561/0.6766, allocations: 0.6105 MB / 461 MB, free: 12.72 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.6766, allocations: 0 / 461 MB, free: 12.72 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.6768, allocations: 19.98 kB / 461 MB, free: 12.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.6768, allocations: 4 kB / 461 MB, free: 12.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/0.6779, allocations: 459.7 kB / 461.5 MB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002862/0.6808, allocations: 1.084 MB / 462.5 MB, free: 11.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001549/0.6824, allocations: 0.682 MB / 463.2 MB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001413/0.6839, allocations: 0.6767 MB / 463.9 MB, free: 9.738 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.6839, allocations: 8 kB / 463.9 MB, free: 9.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001683/0.6856, allocations: 0.7555 MB / 464.7 MB, free: 8.938 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 4.959e-06/0.6857, allocations: 3.938 kB / 464.7 MB, free: 8.934 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.003249/0.689, allocations: 1.407 MB / 466.1 MB, free: 7.469 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002735/0.6893, allocations: 325 kB / 466.4 MB, free: 7.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004269/0.6936, allocations: 1.598 MB / 468 MB, free: 5.477 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000259/0.6939, allocations: 49.7 kB / 468 MB, free: 5.422 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004213/0.6943, allocations: 234.4 kB / 468.3 MB, free: 5.188 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002576/0.6946, allocations: 91.08 kB / 468.4 MB, free: 5.098 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.213e-05/0.6947, allocations: 15.98 kB / 468.4 MB, free: 5.082 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002453/0.695, allocations: 386.7 kB / 468.8 MB, free: 4.695 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001142/0.6961, allocations: 444 kB / 469.2 MB, free: 4.258 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001121/0.6973, allocations: 451.9 kB / 469.6 MB, free: 3.816 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.6984, allocations: 0.5911 MB / 470.2 MB, free: 3.176 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.6985, allocations: 0 / 470.2 MB, free: 3.176 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.003085/0.7016, allocations: 1.347 MB / 471.6 MB, free: 1.773 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003504/0.702, allocations: 289.5 kB / 471.8 MB, free: 1.441 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.702, allocations: 0 / 471.8 MB, free: 1.441 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.521e-05/0.7021, allocations: 0 / 471.8 MB, free: 1.441 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.001e-05/0.7021, allocations: 7.938 kB / 471.9 MB, free: 1.434 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.7021, allocations: 3.984 kB / 471.9 MB, free: 1.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007596/0.7029, allocations: 39.97 kB / 471.9 MB, free: 1.391 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003344/0.7033, allocations: 155.9 kB / 472.1 MB, free: 1.238 MB / 378.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.0006952/0.704, allocations: 474.4 kB / 472.5 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003087/0.7043, allocations: 134.4 kB / 472.6 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008188/0.7051, allocations: 247.7 kB / 472.9 MB, free: 348 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.7052, allocations: 0 / 472.9 MB, free: 348 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.7052, allocations: 0 / 472.9 MB, free: 348 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.7052, allocations: 0 / 472.9 MB, free: 348 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005664/0.7109, allocations: 2.4 MB / 475.3 MB, free: 13.83 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/0.7109, allocations: 0 / 475.3 MB, free: 13.83 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.957e-05/0.711, allocations: 4 kB / 475.3 MB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.767e-06/0.711, allocations: 0 / 475.3 MB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001685/0.7112, allocations: 39.97 kB / 475.3 MB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.754e-06/0.7112, allocations: 4 kB / 475.3 MB, free: 13.78 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.7112, allocations: 0 / 475.3 MB, free: 13.78 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004844/0.7161, allocations: 1.622 MB / 477 MB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002138/0.7183, allocations: 0.6824 MB / 477.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000359/0.7187, allocations: 63.95 kB / 477.7 MB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006816/0.7194, allocations: 43.91 kB / 477.7 MB, free: 11.28 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009786/0.7204, allocations: 351.6 kB / 478.1 MB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003101/0.7207, allocations: 167.8 kB / 478.3 MB, free: 10.77 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003547/0.7243, allocations: 1.315 MB / 479.6 MB, free: 9.453 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.132e-06/0.7243, allocations: 4 kB / 479.6 MB, free: 9.449 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001016/0.7253, allocations: 152 kB / 479.7 MB, free: 9.301 MB / 394.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.004433/0.7298, allocations: 2.265 MB / 482 MB, free: 6.957 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003916/0.7338, allocations: 1.909 MB / 483.9 MB, free: 4.949 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.7339, allocations: 0 / 483.9 MB, free: 4.949 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00248/0.7364, allocations: 1.39 MB / 485.3 MB, free: 3.461 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002293/0.7387, allocations: 304.2 kB / 485.6 MB, free: 3.168 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008153/0.7469, allocations: 2.704 MB / 488.3 MB, free: 424 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001873/0.7489, allocations: 1.221 MB / 489.5 MB, free: 15.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006179/0.7495, allocations: 199 kB / 489.7 MB, free: 14.97 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003024/0.7498, allocations: 147.4 kB / 489.8 MB, free: 14.83 MB / 410.7 MB Notification: Performance of SimCode: time 1.473e-06/0.7499, allocations: 0 / 489.8 MB, free: 14.83 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07098/0.8208, allocations: 22.05 MB / 0.4999 GB, free: 8.551 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003222/0.8212, allocations: 150.8 kB / 0.5 GB, free: 8.324 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.026/3.847, allocations: 0 / 0.5 GB, free: 8.324 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH_res.mat does not exist to compare? outputFormat=mat