Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.DLATREGSRL,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Digital_Examples_DLATREGSRL",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.286/2.286, allocations: 195 MB / 202.9 MB, free: 6.73 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.027e-05/3.014e-05, allocations: 3.281 kB / 249.8 MB, free: 5.25 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09945/0.09952, allocations: 44.5 MB / 294.3 MB, free: 10.67 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4675/0.567, allocations: 77.4 MB / 371.7 MB, free: 7.246 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/0.5674, allocations: 69.56 kB / 371.8 MB, free: 7.246 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1317/0.6991, allocations: 38.5 MB / 410.3 MB, free: 9.172 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.6992, allocations: 4 kB / 410.3 MB, free: 9.168 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.876e-05/0.6993, allocations: 16 kB / 410.3 MB, free: 9.152 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.003732/0.7031, allocations: 1.323 MB / 411.6 MB, free: 7.809 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.368e-05/0.7032, allocations: 12.03 kB / 411.6 MB, free: 7.797 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006298/0.7038, allocations: 133.8 kB / 411.7 MB, free: 7.668 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001845/0.7057, allocations: 0.5107 MB / 412.2 MB, free: 7.176 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.7058, allocations: 19.98 kB / 412.3 MB, free: 7.156 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002/0.706, allocations: 27.44 kB / 412.3 MB, free: 7.133 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001792/0.7078, allocations: 448.5 kB / 412.7 MB, free: 6.832 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00233/0.7102, allocations: 0.5962 MB / 413.3 MB, free: 6.375 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.7103, allocations: 0 / 413.3 MB, free: 6.375 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/0.7104, allocations: 11.98 kB / 413.3 MB, free: 6.363 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.7104, allocations: 4 kB / 413.3 MB, free: 6.359 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004608/0.715, allocations: 1.134 MB / 414.5 MB, free: 5.438 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001491/0.7166, allocations: 0.6764 MB / 415.2 MB, free: 5.055 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001323/0.7179, allocations: 0.6626 MB / 415.8 MB, free: 4.691 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.718, allocations: 0 / 415.8 MB, free: 4.691 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001612/0.7196, allocations: 0.7459 MB / 416.6 MB, free: 4.055 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 2.985e-06/0.7196, allocations: 0 / 416.6 MB, free: 4.055 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.00313/0.7228, allocations: 1.091 MB / 417.7 MB, free: 3.211 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003079/0.7231, allocations: 332.7 kB / 418 MB, free: 2.848 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004097/0.7272, allocations: 1.556 MB / 419.5 MB, free: 1.434 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002643/0.7275, allocations: 37.7 kB / 419.6 MB, free: 1.391 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004673/0.728, allocations: 254.3 kB / 419.8 MB, free: 1.137 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002734/0.7283, allocations: 67.17 kB / 419.9 MB, free: 1.07 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.7284, allocations: 16.11 kB / 419.9 MB, free: 1.055 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002948/0.7288, allocations: 394.6 kB / 420.3 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001174/0.7299, allocations: 431.8 kB / 420.7 MB, free: 244 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/0.7312, allocations: 443.8 kB / 421.1 MB, free: 15.8 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007945/0.732, allocations: 291.4 kB / 421.4 MB, free: 15.52 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.7321, allocations: 0 / 421.4 MB, free: 15.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.003265/0.7353, allocations: 1.027 MB / 422.5 MB, free: 14.48 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003772/0.7357, allocations: 293.5 kB / 422.7 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.7358, allocations: 0 / 422.7 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.529e-05/0.7358, allocations: 7.953 kB / 422.7 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.958e-05/0.7359, allocations: 3.938 kB / 422.7 MB, free: 14.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.7359, allocations: 4 kB / 422.8 MB, free: 14.13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007679/0.7367, allocations: 47.86 kB / 422.8 MB, free: 14.08 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002818/0.737, allocations: 120.2 kB / 422.9 MB, free: 13.96 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: 37 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,set.y,$PRE.dLATREGSRL.delay.inertialDelaySensitive[1].x,dLATREGSRL.delay.inertialDelaySensitive[1].x,$PRE.dLATREGSRL.delay.inertialDelaySensitive[1].y,dLATREGSRL.delay.inertialDelaySensitive[1].y,dLATREGSRL.delay.inertialDelaySensitive[1].delayTime,dLATREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[1].y_old,dLATREGSRL.delay.inertialDelaySensitive[1].lh,dLATREGSRL.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREGSRL.delay.inertialDelaySensitive[2].x,dLATREGSRL.delay.inertialDelaySensitive[2].x,$PRE.dLATREGSRL.delay.inertialDelaySensitive[2].y,dLATREGSRL.delay.inertialDelaySensitive[2].y,dLATREGSRL.delay.inertialDelaySensitive[2].delayTime,dLATREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[2].y_old,dLATREGSRL.delay.inertialDelaySensitive[2].lh,dLATREGSRL.delay.inertialDelaySensitive[2].t_next,dLATREGSRL.dLATSR.dataIn[1],dLATREGSRL.dLATSR.dataIn[2],dLATREGSRL.dLATSR.dataOut[1],dLATREGSRL.dLATSR.dataOut[2],dLATREGSRL.dLATSR.enable_flag,dLATREGSRL.dLATSR.reset_set_flag,dLATREGSRL.dLATSR.nextstate[1],dLATREGSRL.dLATSR.nextstate[2],dLATREGSRL.dLATSR.next_assign_val[1],dLATREGSRL.dLATSR.next_assign_val[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 8 * 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.0007157/0.7377, allocations: 459.5 kB / 423.4 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00324/0.7409, allocations: 1.187 MB / 424.6 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003009/0.7413, allocations: 134.5 kB / 424.7 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009154/0.7422, allocations: 248.3 kB / 424.9 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.7422, allocations: 4 kB / 424.9 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.7423, allocations: 0 / 424.9 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.7423, allocations: 0 / 424.9 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005295/0.7476, allocations: 2.017 MB / 426.9 MB, free: 9.828 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.7477, allocations: 0 / 426.9 MB, free: 9.828 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.18e-05/0.7477, allocations: 0 / 426.9 MB, free: 9.828 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-05/0.7477, allocations: 7.953 kB / 427 MB, free: 9.82 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001401/0.7479, allocations: 35.97 kB / 427 MB, free: 9.785 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.7479, allocations: 4 kB / 427 MB, free: 9.781 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.7479, allocations: 0 / 427 MB, free: 9.781 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003319/0.7512, allocations: 1.265 MB / 428.3 MB, free: 8.496 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002148/0.7534, allocations: 0.6824 MB / 428.9 MB, free: 7.793 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004051/0.7539, allocations: 55.92 kB / 429 MB, free: 7.738 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007242/0.7546, allocations: 39.97 kB / 429 MB, free: 7.699 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001186/0.7558, allocations: 383.2 kB / 429.4 MB, free: 7.328 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002915/0.7561, allocations: 132 kB / 429.5 MB, free: 7.199 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.003611/0.7597, allocations: 1.267 MB / 430.8 MB, free: 5.93 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.92e-07/0.7598, allocations: 0 / 430.8 MB, free: 5.93 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001103/0.7609, allocations: 140 kB / 430.9 MB, free: 5.793 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: 33 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,set.y,dLATREGSRL.delay.inertialDelaySensitive[1].x,dLATREGSRL.delay.inertialDelaySensitive[1].y,dLATREGSRL.delay.inertialDelaySensitive[1].delayTime,dLATREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[1].y_old,dLATREGSRL.delay.inertialDelaySensitive[1].lh,dLATREGSRL.delay.inertialDelaySensitive[1].t_next,dLATREGSRL.delay.inertialDelaySensitive[2].x,dLATREGSRL.delay.inertialDelaySensitive[2].y,dLATREGSRL.delay.inertialDelaySensitive[2].delayTime,dLATREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[2].y_old,dLATREGSRL.delay.inertialDelaySensitive[2].lh,dLATREGSRL.delay.inertialDelaySensitive[2].t_next,dLATREGSRL.dLATSR.dataIn[1],dLATREGSRL.dLATSR.dataIn[2],dLATREGSRL.dLATSR.dataOut[1],dLATREGSRL.dLATSR.dataOut[2],dLATREGSRL.dLATSR.enable_flag,dLATREGSRL.dLATSR.reset_set_flag,dLATREGSRL.dLATSR.nextstate[1],dLATREGSRL.dLATSR.nextstate[2],dLATREGSRL.dLATSR.next_assign_val[1],dLATREGSRL.dLATSR.next_assign_val[2]) * Number of discrete states: 31 (enable.y,data_0.y,reset.y,data_1.y,set.y,dLATREGSRL.dLATSR.dataOut[2],dLATREGSRL.dLATSR.dataOut[1],dLATREGSRL.dLATSR.next_assign_val[2],dLATREGSRL.dLATSR.next_assign_val[1],dLATREGSRL.dLATSR.nextstate[2],dLATREGSRL.dLATSR.nextstate[1],dLATREGSRL.dLATSR.reset_set_flag,dLATREGSRL.dLATSR.enable_flag,dLATREGSRL.delay.inertialDelaySensitive[2].y,dLATREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[2].t_next,dLATREGSRL.delay.inertialDelaySensitive[2].delayTime,dLATREGSRL.delay.inertialDelaySensitive[2].lh,dLATREGSRL.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREGSRL.delay.inertialDelaySensitive[2].x,dLATREGSRL.delay.inertialDelaySensitive[1].y,dLATREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[1].t_next,dLATREGSRL.delay.inertialDelaySensitive[1].delayTime,dLATREGSRL.delay.inertialDelaySensitive[1].lh,dLATREGSRL.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREGSRL.delay.inertialDelaySensitive[1].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 4 * 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.003995/0.7649, allocations: 1.927 MB / 432.9 MB, free: 3.836 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003605/0.7685, allocations: 1.878 MB / 434.7 MB, free: 1.859 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.7686, allocations: 0 / 434.7 MB, free: 1.859 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002516/0.7711, allocations: 1.409 MB / 436.2 MB, free: 360 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002519/0.7737, allocations: 310.4 kB / 436.5 MB, free: 52 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008769/0.7825, allocations: 2.726 MB / 439.2 MB, free: 13.28 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001841/0.7844, allocations: 1.227 MB / 440.4 MB, free: 12.02 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002785/0.7847, allocations: 38.59 kB / 440.4 MB, free: 11.98 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002918/0.785, allocations: 131.4 kB / 440.6 MB, free: 11.86 MB / 346.7 MB Notification: Performance of SimCode: time 1.132e-06/0.785, allocations: 0 / 440.6 MB, free: 11.86 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08833/0.8734, allocations: 19.86 MB / 460.4 MB, free: 7.684 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003488/0.8738, allocations: 138.7 kB / 460.6 MB, free: 7.492 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.315/4.189, allocations: 0 / 460.6 MB, free: 7.492 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Digital.Examples.DLATREGSRL_res.mat does not exist to compare? outputFormat=mat