Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.DFFREGL,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Digital_Examples_DFFREGL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.891/1.891, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.193e-05/3.215e-05, allocations: 4 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3145, allocations: 44.49 MB / 294.2 MB, free: 14.31 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1395/0.4541, allocations: 77.26 MB / 371.5 MB, free: 4.586 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003542/0.4545, allocations: 71.97 kB / 371.5 MB, free: 4.516 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1366/0.5911, allocations: 37.38 MB / 408.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5912, allocations: 0 / 408.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.873e-05/0.5912, allocations: 12 kB / 408.9 MB, free: 15.12 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.00138/0.5926, allocations: 1.016 MB / 410 MB, free: 14.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.5927, allocations: 8.031 kB / 410 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002405/0.5929, allocations: 90.97 kB / 410.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008424/0.5938, allocations: 411.6 kB / 410.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.399e-05/0.5939, allocations: 23.98 kB / 410.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.594, allocations: 19.94 kB / 410.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007976/0.5948, allocations: 344.2 kB / 410.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.5959, allocations: 0.4943 MB / 411.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.5959, allocations: 7.938 kB / 411.3 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.258e-05/0.596, allocations: 12 kB / 411.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.596, allocations: 0 / 411.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001889/0.5979, allocations: 0.8248 MB / 412.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009399/0.5989, allocations: 0.4906 MB / 412.7 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008757/0.5998, allocations: 488.7 kB / 413.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.5998, allocations: 0 / 413.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001162/0.601, allocations: 0.6509 MB / 413.8 MB, free: 10.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 5.5e-06/0.601, allocations: 3.984 kB / 413.8 MB, free: 10.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.00225/0.6033, allocations: 0.9134 MB / 414.7 MB, free: 9.113 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002034/0.6035, allocations: 283.3 kB / 415 MB, free: 8.781 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002097/0.6056, allocations: 0.9801 MB / 416 MB, free: 7.793 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001151/0.6057, allocations: 41.7 kB / 416 MB, free: 7.746 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.6059, allocations: 146 kB / 416.1 MB, free: 7.598 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/0.6061, allocations: 75.16 kB / 416.2 MB, free: 7.523 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.689e-05/0.6061, allocations: 16 kB / 416.2 MB, free: 7.508 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.6063, allocations: 346.8 kB / 416.6 MB, free: 7.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007324/0.6071, allocations: 340.2 kB / 416.9 MB, free: 6.828 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007133/0.6078, allocations: 332.5 kB / 417.2 MB, free: 6.504 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005211/0.6083, allocations: 253 kB / 417.5 MB, free: 6.258 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.6083, allocations: 0 / 417.5 MB, free: 6.258 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.002075/0.6104, allocations: 0.8489 MB / 418.3 MB, free: 5.402 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000237/0.6107, allocations: 243.9 kB / 418.6 MB, free: 5.121 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.6107, allocations: 3.984 kB / 418.6 MB, free: 5.117 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.6107, allocations: 4 kB / 418.6 MB, free: 5.113 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.491e-05/0.6108, allocations: 4 kB / 418.6 MB, free: 5.109 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.6108, allocations: 4 kB / 418.6 MB, free: 5.105 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005314/0.6113, allocations: 39.81 kB / 418.6 MB, free: 5.066 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002525/0.6116, allocations: 152.2 kB / 418.8 MB, free: 4.918 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: 40 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,$PRE.dFFREGL.delay.inertialDelaySensitive[1].x,dFFREGL.delay.inertialDelaySensitive[1].x,$PRE.dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[1].delayTime,dFFREGL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[1].y_old,dFFREGL.delay.inertialDelaySensitive[1].lh,dFFREGL.delay.inertialDelaySensitive[1].t_next,$PRE.dFFREGL.delay.inertialDelaySensitive[2].x,dFFREGL.delay.inertialDelaySensitive[2].x,$PRE.dFFREGL.delay.inertialDelaySensitive[2].y,dFFREGL.delay.inertialDelaySensitive[2].y,dFFREGL.delay.inertialDelaySensitive[2].delayTime,dFFREGL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[2].y_old,dFFREGL.delay.inertialDelaySensitive[2].lh,dFFREGL.delay.inertialDelaySensitive[2].t_next,$PRE.dFFREGL.dFFR.reset,dFFREGL.dFFR.reset,$PRE.dFFREGL.dFFR.clock,dFFREGL.dFFR.clock,dFFREGL.dFFR.dataIn[1],dFFREGL.dFFR.dataIn[2],dFFREGL.dFFR.dataOut[1],dFFREGL.dFFR.dataOut[2],dFFREGL.dFFR.clock_flag,dFFREGL.dFFR.reset_flag,dFFREGL.dFFR.nextstate[1],dFFREGL.dFFR.nextstate[2],dFFREGL.dFFR.next_assign_val[1],dFFREGL.dFFR.next_assign_val[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 7 * 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.0004974/0.6121, allocations: 401.8 kB / 419.2 MB, free: 4.477 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002292/0.6144, allocations: 0.9767 MB / 420.1 MB, free: 3.492 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001757/0.6146, allocations: 90.97 kB / 420.2 MB, free: 3.402 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004705/0.6151, allocations: 156 kB / 420.4 MB, free: 3.246 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.6151, allocations: 0 / 420.4 MB, free: 3.246 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.6151, allocations: 3.938 kB / 420.4 MB, free: 3.242 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.6151, allocations: 0 / 420.4 MB, free: 3.242 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003295/0.6184, allocations: 1.619 MB / 422 MB, free: 1.578 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.6185, allocations: 7.984 kB / 422 MB, free: 1.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.024e-05/0.6185, allocations: 3.938 kB / 422 MB, free: 1.566 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.924e-06/0.6185, allocations: 4 kB / 422 MB, free: 1.562 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/0.6186, allocations: 31.98 kB / 422 MB, free: 1.531 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.6187, allocations: 0 / 422 MB, free: 1.531 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.6187, allocations: 4 kB / 422.1 MB, free: 1.527 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00234/0.621, allocations: 1.072 MB / 423.1 MB, free: 448 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2506/0.8716, allocations: 0.5588 MB / 423.7 MB, free: 108.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003464/0.872, allocations: 60.67 kB / 423.7 MB, free: 108.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005698/0.8726, allocations: 34.58 kB / 423.8 MB, free: 108.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007987/0.8734, allocations: 238.8 kB / 424 MB, free: 108.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003539/0.8738, allocations: 154.6 kB / 424.2 MB, free: 108.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001857/0.8756, allocations: 0.8289 MB / 425 MB, free: 108.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.8757, allocations: 0 / 425 MB, free: 108.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007666/0.8764, allocations: 115.4 kB / 425.1 MB, free: 108.3 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: 34 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,dFFREGL.delay.inertialDelaySensitive[1].x,dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[1].delayTime,dFFREGL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[1].y_old,dFFREGL.delay.inertialDelaySensitive[1].lh,dFFREGL.delay.inertialDelaySensitive[1].t_next,dFFREGL.delay.inertialDelaySensitive[2].x,dFFREGL.delay.inertialDelaySensitive[2].y,dFFREGL.delay.inertialDelaySensitive[2].delayTime,dFFREGL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[2].y_old,dFFREGL.delay.inertialDelaySensitive[2].lh,dFFREGL.delay.inertialDelaySensitive[2].t_next,dFFREGL.dFFR.reset,dFFREGL.dFFR.clock,dFFREGL.dFFR.dataIn[1],dFFREGL.dFFR.dataIn[2],dFFREGL.dFFR.dataOut[1],dFFREGL.dFFR.dataOut[2],dFFREGL.dFFR.clock_flag,dFFREGL.dFFR.reset_flag,dFFREGL.dFFR.nextstate[1],dFFREGL.dFFR.nextstate[2],dFFREGL.dFFR.next_assign_val[1],dFFREGL.dFFR.next_assign_val[2]) * Number of discrete states: 32 (data_1.y,reset.y,data_0.y,clock.y,dFFREGL.dFFR.dataOut[2],dFFREGL.dFFR.dataOut[1],dFFREGL.dFFR.next_assign_val[2],dFFREGL.dFFR.next_assign_val[1],dFFREGL.dFFR.nextstate[2],dFFREGL.dFFR.nextstate[1],dFFREGL.dFFR.reset_flag,dFFREGL.dFFR.clock_flag,dFFREGL.dFFR.clock,dFFREGL.dFFR.reset,dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[1].t_next,dFFREGL.delay.inertialDelaySensitive[1].delayTime,dFFREGL.delay.inertialDelaySensitive[1].lh,dFFREGL.delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,dFFREGL.delay.inertialDelaySensitive[1].x,dFFREGL.delay.inertialDelaySensitive[2].y,dFFREGL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[2].t_next,dFFREGL.delay.inertialDelaySensitive[2].delayTime,dFFREGL.delay.inertialDelaySensitive[2].lh,dFFREGL.delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,dFFREGL.delay.inertialDelaySensitive[2].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 7 * 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.002677/0.8791, allocations: 1.709 MB / 426.8 MB, free: 107.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002161/0.8813, allocations: 1.486 MB / 428.3 MB, free: 107.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.8814, allocations: 1.25 kB / 428.3 MB, free: 107.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001326/0.8827, allocations: 1.098 MB / 429.4 MB, free: 106.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001839/0.8846, allocations: 275.8 kB / 429.7 MB, free: 106.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004451/0.889, allocations: 1.861 MB / 431.5 MB, free: 106.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008924/0.89, allocations: 1.041 MB / 432.6 MB, free: 105.6 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002354/0.8902, allocations: 34.64 kB / 432.6 MB, free: 105.6 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.8903, allocations: 79.08 kB / 432.7 MB, free: 105.5 MB / 362.7 MB Notification: Performance of SimCode: time 1.082e-06/0.8904, allocations: 0 / 432.7 MB, free: 105.5 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08231/0.9727, allocations: 15.72 MB / 448.4 MB, free: 99.4 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001944/0.9729, allocations: 130.5 kB / 448.5 MB, free: 99.21 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.707/3.68, allocations: 0 / 448.5 MB, free: 99.21 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGL_res.mat does not exist to compare? outputFormat=mat