Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.DLATREGSRL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_DLATREGSRL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.005/2.005, allocations: 225.8 MB / 239.3 MB, free: 1.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.069e-05/3.073e-05, allocations: 3.984 kB / 292.7 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1107, allocations: 50.43 MB / 343.2 MB, free: 8.98 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4496/0.5603, allocations: 83.19 MB / 426.4 MB, free: 7.977 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/0.5606, allocations: 70.83 kB / 426.4 MB, free: 7.973 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1301/0.6907, allocations: 39.13 MB / 465.6 MB, free: 3.887 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.6908, allocations: 0 / 465.6 MB, free: 3.887 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.989e-05/0.6909, allocations: 12 kB / 465.6 MB, free: 3.875 MB / 346.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.003581/0.6945, allocations: 1.328 MB / 466.9 MB, free: 2.527 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.751e-05/0.6946, allocations: 8.031 kB / 466.9 MB, free: 2.52 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003804/0.695, allocations: 59.92 kB / 467 MB, free: 2.461 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005141/0.6955, allocations: 134.4 kB / 467.1 MB, free: 2.328 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001932/0.6975, allocations: 0.5103 MB / 467.6 MB, free: 1.836 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/0.6976, allocations: 22.81 kB / 467.6 MB, free: 1.82 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002008/0.6978, allocations: 27.19 kB / 467.6 MB, free: 1.797 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002422/0.7003, allocations: 0.6123 MB / 468.3 MB, free: 1.332 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.494e-05/0.7004, allocations: 7.938 kB / 468.3 MB, free: 1.324 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001648/0.7005, allocations: 23.62 kB / 468.3 MB, free: 1.305 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.7006, allocations: 0 / 468.3 MB, free: 1.305 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00181/0.7024, allocations: 472 kB / 468.8 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004647/0.7071, allocations: 1.169 MB / 469.9 MB, free: 16 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002294/0.7095, allocations: 0.6873 MB / 470.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002198/0.7117, allocations: 0.6812 MB / 471.3 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.7118, allocations: 0 / 471.3 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002517/0.7143, allocations: 0.7442 MB / 472 MB, free: 14.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=33): time 5.44e-06/0.7144, allocations: 0 / 472 MB, free: 14.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.005101/0.7195, allocations: 1.415 MB / 473.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004751/0.7201, allocations: 332.2 kB / 473.8 MB, free: 13.06 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006532/0.7266, allocations: 1.617 MB / 475.4 MB, free: 11.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000311/0.727, allocations: 44.56 kB / 475.4 MB, free: 11.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006918/0.7277, allocations: 248.4 kB / 475.7 MB, free: 11.51 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004247/0.7282, allocations: 79.92 kB / 475.8 MB, free: 11.44 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/0.7283, allocations: 19.42 kB / 475.8 MB, free: 11.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003907/0.7287, allocations: 388.4 kB / 476.2 MB, free: 11.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001762/0.7305, allocations: 448.5 kB / 476.6 MB, free: 10.76 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001781/0.7324, allocations: 455.8 kB / 477 MB, free: 10.31 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001735/0.7342, allocations: 0.5833 MB / 477.6 MB, free: 9.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.959e-06/0.7342, allocations: 0 / 477.6 MB, free: 9.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.004672/0.7389, allocations: 1.338 MB / 479 MB, free: 8.285 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004945/0.7395, allocations: 293.5 kB / 479.2 MB, free: 7.949 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.7395, allocations: 0 / 479.2 MB, free: 7.949 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.492e-05/0.7395, allocations: 0 / 479.2 MB, free: 7.949 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.993e-05/0.7396, allocations: 15.92 kB / 479.3 MB, free: 7.934 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.7396, allocations: 0 / 479.3 MB, free: 7.934 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/0.7408, allocations: 43.88 kB / 479.3 MB, free: 7.891 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004116/0.7412, allocations: 128.2 kB / 479.4 MB, free: 7.766 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: 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.000914/0.7422, allocations: 459.7 kB / 479.9 MB, free: 7.262 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004374/0.7426, allocations: 130.5 kB / 480 MB, free: 7.133 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/0.7439, allocations: 256 kB / 480.3 MB, free: 6.879 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.744, allocations: 0 / 480.3 MB, free: 6.879 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.744, allocations: 0 / 480.3 MB, free: 6.879 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.744, allocations: 0 / 480.3 MB, free: 6.879 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008432/0.7525, allocations: 2.407 MB / 482.7 MB, free: 4.363 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.868e-06/0.7526, allocations: 0 / 482.7 MB, free: 4.363 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.341e-05/0.7526, allocations: 4 kB / 482.7 MB, free: 4.359 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.318e-06/0.7526, allocations: 0 / 482.7 MB, free: 4.359 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002508/0.7529, allocations: 35.97 kB / 482.7 MB, free: 4.324 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.511e-06/0.7529, allocations: 4 kB / 482.7 MB, free: 4.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.488e-06/0.753, allocations: 8 kB / 482.7 MB, free: 4.312 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005362/0.7583, allocations: 1.645 MB / 484.4 MB, free: 2.598 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002945/0.7613, allocations: 0.6746 MB / 485 MB, free: 1.902 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005157/0.7619, allocations: 63.95 kB / 485.1 MB, free: 1.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/0.763, allocations: 35.97 kB / 485.1 MB, free: 1.805 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00153/0.7646, allocations: 379.6 kB / 485.5 MB, free: 1.434 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004247/0.7651, allocations: 127.9 kB / 485.6 MB, free: 1.309 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0045/0.7696, allocations: 1.336 MB / 487 MB, free: 15.97 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.343e-06/0.7696, allocations: 0 / 487 MB, free: 15.97 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001016/0.7707, allocations: 148 kB / 487.1 MB, free: 15.82 MB / 378.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.004305/0.775, allocations: 2.269 MB / 489.4 MB, free: 13.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003642/0.7787, allocations: 1.92 MB / 491.3 MB, free: 11.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.7787, allocations: 0 / 491.3 MB, free: 11.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00237/0.7811, allocations: 1.429 MB / 492.7 MB, free: 9.934 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002244/0.7834, allocations: 300.9 kB / 493 MB, free: 9.645 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01084/0.7943, allocations: 2.745 MB / 495.8 MB, free: 6.852 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003577/0.798, allocations: 1.219 MB / 497 MB, free: 5.602 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000357/0.7984, allocations: 41.48 kB / 497 MB, free: 5.555 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000362/0.7988, allocations: 139.4 kB / 497.2 MB, free: 5.418 MB / 378.7 MB Notification: Performance of SimCode: time 1.503e-06/0.7988, allocations: 0 / 497.2 MB, free: 5.418 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06429/0.8631, allocations: 20.57 MB / 0.5056 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003088/0.8634, allocations: 151.8 kB / 0.5057 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.077/3.94, allocations: 0 / 0.5057 GB, free: 0.5039 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRL_res.mat does not exist to compare? outputFormat=mat