Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.DFFREGL,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Digital_Examples_DFFREGL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.673/1.673, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.36e-05/3.37e-05, allocations: 4 kB / 225.1 MB, free: 2.25 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2538, allocations: 38.76 MB / 263.9 MB, free: 9.738 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1305/0.3844, allocations: 72.62 MB / 336.5 MB, free: 1.012 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/0.3847, allocations: 67.95 kB / 336.6 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3445/0.7292, allocations: 37.48 MB / 374 MB, free: 90.29 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.7293, allocations: 3.844 kB / 374 MB, free: 90.29 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.022e-05/0.7293, allocations: 14.28 kB / 374.1 MB, free: 90.29 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001246/0.7306, allocations: 1.007 MB / 375.1 MB, free: 89.67 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.7307, allocations: 10.75 kB / 375.1 MB, free: 89.67 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001706/0.7308, allocations: 55.91 kB / 375.1 MB, free: 89.63 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001958/0.731, allocations: 84.78 kB / 375.2 MB, free: 89.59 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008033/0.7319, allocations: 422.5 kB / 375.6 MB, free: 89.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.87e-05/0.732, allocations: 17.91 kB / 375.6 MB, free: 89.32 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.7321, allocations: 28.31 kB / 375.7 MB, free: 89.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.7332, allocations: 0.4986 MB / 376.2 MB, free: 89.28 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.7332, allocations: 0 / 376.2 MB, free: 89.28 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.503e-05/0.7333, allocations: 18.83 kB / 376.2 MB, free: 89.28 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.7333, allocations: 3.844 kB / 376.2 MB, free: 89.28 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007678/0.7341, allocations: 346.2 kB / 376.5 MB, free: 89.28 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001808/0.7359, allocations: 0.8682 MB / 377.4 MB, free: 88.95 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009547/0.7369, allocations: 0.4909 MB / 377.9 MB, free: 88.93 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008399/0.7378, allocations: 493.5 kB / 378.4 MB, free: 88.92 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.7378, allocations: 3.969 kB / 378.4 MB, free: 88.92 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001038/0.7389, allocations: 0.6444 MB / 379 MB, free: 88.74 MB / 314.7 MB Notification: Performance of pre-optimization done (n=34): time 3.767e-06/0.7389, allocations: 0 / 379 MB, free: 88.74 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.002299/0.7412, allocations: 1.15 MB / 380.2 MB, free: 88.41 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001575/0.7415, allocations: 282.8 kB / 380.4 MB, free: 88.12 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002079/0.7435, allocations: 1.027 MB / 381.5 MB, free: 87.65 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002087/0.7438, allocations: 44.77 kB / 381.5 MB, free: 87.62 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.7439, allocations: 141.6 kB / 381.6 MB, free: 87.49 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/0.7441, allocations: 81.36 kB / 381.7 MB, free: 87.44 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.259e-05/0.7442, allocations: 11.88 kB / 381.7 MB, free: 87.44 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.955e-05/0.7443, allocations: 346.5 kB / 382.1 MB, free: 87.11 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007199/0.745, allocations: 340.3 kB / 382.4 MB, free: 87 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006854/0.7457, allocations: 348.5 kB / 382.8 MB, free: 86.89 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000653/0.7464, allocations: 487.9 kB / 383.2 MB, free: 86.58 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.7464, allocations: 0 / 383.2 MB, free: 86.58 MB / 314.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.002044/0.7485, allocations: 1.104 MB / 384.3 MB, free: 86.07 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001909/0.7487, allocations: 245.6 kB / 384.6 MB, free: 85.83 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.7488, allocations: 0 / 384.6 MB, free: 85.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.722e-05/0.7488, allocations: 7.531 kB / 384.6 MB, free: 85.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.895e-05/0.7488, allocations: 7.328 kB / 384.6 MB, free: 85.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.7489, allocations: 3.438 kB / 384.6 MB, free: 85.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005729/0.7494, allocations: 34.33 kB / 384.6 MB, free: 85.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002094/0.7497, allocations: 156 kB / 384.8 MB, free: 85.81 MB / 314.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.0004712/0.7501, allocations: 407.9 kB / 385.2 MB, free: 85.46 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002026/0.7504, allocations: 85.34 kB / 385.3 MB, free: 85.42 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004119/0.7508, allocations: 148 kB / 385.4 MB, free: 85.33 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.7508, allocations: 7.875 kB / 385.4 MB, free: 85.33 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.7508, allocations: 0 / 385.4 MB, free: 85.33 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.7508, allocations: 0 / 385.4 MB, free: 85.33 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003485/0.7543, allocations: 1.941 MB / 387.3 MB, free: 83.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/0.7544, allocations: 4 kB / 387.4 MB, free: 83.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.353e-05/0.7544, allocations: 7.875 kB / 387.4 MB, free: 83.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.538e-06/0.7544, allocations: 6.719 kB / 387.4 MB, free: 83.81 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001043/0.7546, allocations: 40.5 kB / 387.4 MB, free: 83.78 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.7546, allocations: 0 / 387.4 MB, free: 83.78 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.7546, allocations: 0 / 387.4 MB, free: 83.78 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002389/0.757, allocations: 1.353 MB / 388.8 MB, free: 82.5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001422/0.7585, allocations: 0.5614 MB / 389.3 MB, free: 82.01 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002668/0.7588, allocations: 61.66 kB / 389.4 MB, free: 81.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005535/0.7593, allocations: 38.56 kB / 389.4 MB, free: 81.93 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005871/0.7599, allocations: 241.9 kB / 389.7 MB, free: 81.76 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002077/0.7602, allocations: 159.6 kB / 389.8 MB, free: 81.61 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001705/0.7619, allocations: 0.8528 MB / 390.7 MB, free: 80.86 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.02e-07/0.7619, allocations: 0 / 390.7 MB, free: 80.86 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008235/0.7628, allocations: 120 kB / 390.8 MB, free: 80.74 MB / 314.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.002834/0.7656, allocations: 1.989 MB / 392.8 MB, free: 78.83 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002172/0.7678, allocations: 1.496 MB / 394.3 MB, free: 77.29 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.7679, allocations: 0 / 394.3 MB, free: 77.29 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001327/0.7692, allocations: 1.102 MB / 395.4 MB, free: 76.1 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00194/0.7712, allocations: 288.8 kB / 395.7 MB, free: 75.84 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00451/0.7758, allocations: 1.862 MB / 397.5 MB, free: 73.93 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008109/0.7766, allocations: 1.039 MB / 398.6 MB, free: 72.86 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002339/0.7769, allocations: 41.34 kB / 398.6 MB, free: 72.83 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.777, allocations: 75.41 kB / 398.7 MB, free: 72.75 MB / 314.7 MB Notification: Performance of SimCode: time 2.424e-06/0.777, allocations: 0 / 398.7 MB, free: 72.75 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04525/0.8223, allocations: 16.39 MB / 415.1 MB, free: 56.25 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002712/0.8227, allocations: 153 kB / 415.2 MB, free: 56.02 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.548/3.371, allocations: 0 / 415.2 MB, free: 56.02 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGL_res.mat does not exist to compare? outputFormat=mat