Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.DLATREGSRL,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Digital_Examples_DLATREGSRL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.932/1.932, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.817e-05/3.831e-05, allocations: 5.406 kB / 255.4 MB, free: 2.637 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1213, allocations: 44.51 MB / 300 MB, free: 6.074 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4593/0.5807, allocations: 78.05 MB / 378 MB, free: 12.45 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/0.581, allocations: 65.27 kB / 378.1 MB, free: 12.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1107/0.6918, allocations: 38.74 MB / 416.8 MB, free: 3.641 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.6918, allocations: 4 kB / 416.8 MB, free: 3.637 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.887e-05/0.6919, allocations: 19.44 kB / 416.8 MB, free: 3.633 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.001488/0.6934, allocations: 1.324 MB / 418.2 MB, free: 2.543 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.6934, allocations: 7.375 kB / 418.2 MB, free: 2.543 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001385/0.6936, allocations: 57.08 kB / 418.2 MB, free: 2.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002137/0.6938, allocations: 136.4 kB / 418.4 MB, free: 2.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00095/0.6948, allocations: 0.5139 MB / 418.9 MB, free: 2.078 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.17e-05/0.6948, allocations: 26.45 kB / 418.9 MB, free: 2.074 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.695, allocations: 30.75 kB / 418.9 MB, free: 2.074 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/0.6962, allocations: 0.6123 MB / 419.5 MB, free: 1.918 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.6963, allocations: 3.984 kB / 419.5 MB, free: 1.914 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.898e-05/0.6964, allocations: 22.48 kB / 419.6 MB, free: 1.91 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.6964, allocations: 0 / 419.6 MB, free: 1.91 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009126/0.6973, allocations: 469.2 kB / 420 MB, free: 1.852 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002519/0.6998, allocations: 1.167 MB / 421.2 MB, free: 1.25 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.701, allocations: 0.6963 MB / 421.9 MB, free: 1.164 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001022/0.702, allocations: 0.679 MB / 422.6 MB, free: 1.102 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.7021, allocations: 3.953 kB / 422.6 MB, free: 1.098 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001192/0.7033, allocations: 0.7446 MB / 423.3 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 3.056e-06/0.7033, allocations: 3.906 kB / 423.3 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.002616/0.7059, allocations: 1.42 MB / 424.7 MB, free: 268 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002169/0.7062, allocations: 325.5 kB / 425.1 MB, free: 15.94 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003613/0.7098, allocations: 1.621 MB / 426.7 MB, free: 15.29 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002435/0.7101, allocations: 47.62 kB / 426.7 MB, free: 15.25 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003326/0.7104, allocations: 237.2 kB / 427 MB, free: 15.14 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/0.7106, allocations: 83.73 kB / 427 MB, free: 15.09 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.864e-05/0.7107, allocations: 10 kB / 427 MB, free: 15.09 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000253/0.711, allocations: 381.2 kB / 427.4 MB, free: 14.75 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009405/0.7119, allocations: 453.9 kB / 427.9 MB, free: 14.69 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008797/0.7128, allocations: 457.1 kB / 428.3 MB, free: 14.64 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000873/0.7137, allocations: 0.5867 MB / 428.9 MB, free: 14.3 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.7137, allocations: 0 / 428.9 MB, free: 14.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002592/0.7163, allocations: 1.343 MB / 430.2 MB, free: 13.84 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002891/0.7166, allocations: 294.3 kB / 430.5 MB, free: 13.56 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.7167, allocations: 11.17 kB / 430.5 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.7167, allocations: 3.938 kB / 430.5 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.259e-05/0.7167, allocations: 0 / 430.5 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.7168, allocations: 3.25 kB / 430.5 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006204/0.7174, allocations: 47.94 kB / 430.6 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001995/0.7176, allocations: 131 kB / 430.7 MB, free: 13.52 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.0005605/0.7182, allocations: 455.6 kB / 431.2 MB, free: 13.13 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002187/0.7184, allocations: 136.1 kB / 431.3 MB, free: 13.06 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000783/0.7192, allocations: 254.3 kB / 431.5 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.7192, allocations: 0 / 431.5 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.7192, allocations: 3.875 kB / 431.5 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.7192, allocations: 0 / 431.5 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004462/0.7237, allocations: 2.405 MB / 434 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.7238, allocations: 0 / 434 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.17e-05/0.7238, allocations: 3.953 kB / 434 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.7238, allocations: 4 kB / 434 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001111/0.7239, allocations: 39.31 kB / 434 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/0.724, allocations: 0 / 434 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.724, allocations: 0 / 434 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003199/0.7272, allocations: 1.632 MB / 435.6 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001982/0.7292, allocations: 0.6785 MB / 436.3 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003003/0.7295, allocations: 63.92 kB / 436.4 MB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006305/0.7302, allocations: 43.88 kB / 436.4 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001033/0.7312, allocations: 375.6 kB / 436.8 MB, free: 9.668 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002575/0.7315, allocations: 135.9 kB / 436.9 MB, free: 9.535 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.003712/0.7352, allocations: 1.332 MB / 438.2 MB, free: 8.199 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.72e-07/0.7353, allocations: 0 / 438.2 MB, free: 8.199 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001005/0.7363, allocations: 152 kB / 438.4 MB, free: 8.051 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.004315/0.7406, allocations: 2.266 MB / 440.7 MB, free: 5.707 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00353/0.7442, allocations: 1.913 MB / 442.6 MB, free: 3.695 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.7443, allocations: 0 / 442.6 MB, free: 3.695 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002285/0.7465, allocations: 1.433 MB / 444 MB, free: 2.164 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002072/0.7486, allocations: 304 kB / 444.3 MB, free: 1.871 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007448/0.7561, allocations: 2.752 MB / 447.1 MB, free: 15.07 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001614/0.7578, allocations: 1.223 MB / 448.3 MB, free: 13.81 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002431/0.758, allocations: 41.5 kB / 448.3 MB, free: 13.77 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002461/0.7583, allocations: 131.4 kB / 448.4 MB, free: 13.64 MB / 346.7 MB Notification: Performance of SimCode: time 3.637e-06/0.7583, allocations: 0 / 448.4 MB, free: 13.64 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0614/0.8197, allocations: 20.55 MB / 469 MB, free: 8.785 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003188/0.8201, allocations: 153.7 kB / 469.1 MB, free: 8.559 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.939/3.759, allocations: 0 / 469.1 MB, free: 8.559 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGSRL_res.mat does not exist to compare? outputFormat=mat