Running command: translateModel(Modelica.Electrical.Digital.Examples.DLATREGSRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREGSRL.delay.inertialDelaySensitive.1..x|dLATREGSRL.delay.inertialDelaySensitive.1..y|dLATREGSRL.delay.inertialDelaySensitive.2..x|dLATREGSRL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGSRL") Notification: Performance of loadModel(Modelica): time 1.904/1.904, allocations: 194.9 MB / 210.6 MB, free: 9.121 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.174e-05/3.185e-05, allocations: 4 kB / 258.8 MB, free: 8.832 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3467, allocations: 44.5 MB / 303.3 MB, free: 12.91 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DLATREGSRL): time 0.002493/0.3492, allocations: 1.439 MB / 304.7 MB, free: 11.72 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003145/0.3524, allocations: 0.9785 MB / 305.7 MB, free: 11 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001598/0.3526, allocations: 4.344 kB / 305.7 MB, free: 11 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001704/0.3528, allocations: 25.06 kB / 305.8 MB, free: 10.97 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003442/0.3532, allocations: 168 kB / 305.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004087/0.3536, allocations: 97.38 kB / 306 MB, free: 10.81 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004162/0.354, allocations: 193.2 kB / 306.2 MB, free: 10.67 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002195/0.3543, allocations: 73.91 kB / 306.3 MB, free: 10.63 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001167/0.3554, allocations: 0.632 MB / 306.9 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003798/0.3558, allocations: 199.6 kB / 307.1 MB, free: 9.922 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.356, allocations: 12 kB / 307.1 MB, free: 9.91 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000134/0.3561, allocations: 12 kB / 307.1 MB, free: 9.898 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003077/0.3565, allocations: 243.2 kB / 307.4 MB, free: 9.66 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003192/0.3568, allocations: 56 kB / 307.4 MB, free: 9.605 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001521/0.3583, allocations: 1.203 MB / 308.6 MB, free: 8.402 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3584, allocations: 0 / 308.6 MB, free: 8.402 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.936e-06/0.3584, allocations: 4 kB / 308.6 MB, free: 8.398 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.543e-05/0.3584, allocations: 0 / 308.6 MB, free: 8.398 MB / 250.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.001906/0.3603, allocations: 1.293 MB / 309.9 MB, free: 7.004 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.3604, allocations: 8.031 kB / 309.9 MB, free: 6.996 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003424/0.3607, allocations: 146.3 kB / 310.1 MB, free: 6.852 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009791/0.3617, allocations: 0.5092 MB / 310.6 MB, free: 6.293 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.945e-05/0.3618, allocations: 23.98 kB / 310.6 MB, free: 6.27 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/0.362, allocations: 28 kB / 310.6 MB, free: 6.242 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001681/0.3637, allocations: 0.6221 MB / 311.3 MB, free: 5.613 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.3637, allocations: 4 kB / 311.3 MB, free: 5.609 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.366e-05/0.3638, allocations: 19.98 kB / 311.3 MB, free: 5.59 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.3639, allocations: 4 kB / 311.3 MB, free: 5.586 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.3651, allocations: 475.7 kB / 311.7 MB, free: 5.121 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002794/0.368, allocations: 1.182 MB / 312.9 MB, free: 3.883 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/0.3696, allocations: 0.6975 MB / 313.6 MB, free: 3.176 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.3696, allocations: 4 kB / 313.6 MB, free: 3.172 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001652/0.3713, allocations: 0.7524 MB / 314.4 MB, free: 2.383 MB / 250.7 MB Notification: Performance of pre-optimization done (n=33): time 3.356e-06/0.3713, allocations: 4 kB / 314.4 MB, free: 2.379 MB / 250.7 MB Notification: Performance of matching and sorting (n=33): time 0.004772/0.3761, allocations: 2.139 MB / 316.5 MB, free: 132 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002986/0.3765, allocations: 325.1 kB / 316.8 MB, free: 15.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004257/0.3807, allocations: 1.632 MB / 318.5 MB, free: 14.1 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002081/0.381, allocations: 41.7 kB / 318.5 MB, free: 14.05 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004035/0.3814, allocations: 254.3 kB / 318.8 MB, free: 13.8 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001842/0.3816, allocations: 75.02 kB / 318.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.265e-05/0.3817, allocations: 12 kB / 318.8 MB, free: 13.72 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000256/0.382, allocations: 390.7 kB / 319.2 MB, free: 13.33 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001159/0.3831, allocations: 455.7 kB / 319.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001188/0.3843, allocations: 490.2 kB / 320.2 MB, free: 12.39 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.3855, allocations: 0.5949 MB / 320.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.3855, allocations: 0 / 320.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.005276/0.3908, allocations: 1.358 MB / 322.1 MB, free: 10.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004173/0.3912, allocations: 301.6 kB / 322.4 MB, free: 9.992 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.3913, allocations: 0 / 322.4 MB, free: 9.992 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.957e-05/0.3913, allocations: 4 kB / 322.4 MB, free: 9.988 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.341e-05/0.3914, allocations: 3.938 kB / 322.4 MB, free: 9.984 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.3914, allocations: 4 kB / 322.4 MB, free: 9.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009651/0.3924, allocations: 47.75 kB / 322.5 MB, free: 9.934 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003205/0.3927, allocations: 128.2 kB / 322.6 MB, free: 9.809 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 37 ($PRE.dLATREGSRL.delay.inertialDelaySensitive[2].y,$PRE.dLATREGSRL.delay.inertialDelaySensitive[1].y,$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,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,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.002634/0.3954, allocations: 0.9998 MB / 323.6 MB, free: 8.746 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003904/0.3958, allocations: 130.5 kB / 323.7 MB, free: 8.617 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009184/0.3967, allocations: 255.9 kB / 324 MB, free: 8.359 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.3968, allocations: 0 / 324 MB, free: 8.359 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.3968, allocations: 0 / 324 MB, free: 8.359 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.3968, allocations: 0 / 324 MB, free: 8.359 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005681/0.4025, allocations: 2.431 MB / 326.4 MB, free: 5.816 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.4025, allocations: 0 / 326.4 MB, free: 5.816 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.531e-05/0.4026, allocations: 4 kB / 326.4 MB, free: 5.812 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.638e-06/0.4026, allocations: 4 kB / 326.4 MB, free: 5.809 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001085/0.4027, allocations: 31.98 kB / 326.4 MB, free: 5.777 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.4027, allocations: 0 / 326.4 MB, free: 5.777 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.4027, allocations: 3.938 kB / 326.4 MB, free: 5.773 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003561/0.4063, allocations: 1.654 MB / 328.1 MB, free: 4.051 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001838/0.4082, allocations: 0.6746 MB / 328.8 MB, free: 3.355 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003308/0.4085, allocations: 59.97 kB / 328.8 MB, free: 3.297 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000606/0.4092, allocations: 47.89 kB / 328.9 MB, free: 3.25 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009953/0.4102, allocations: 371.6 kB / 329.2 MB, free: 2.887 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002309/0.4104, allocations: 135.9 kB / 329.4 MB, free: 2.754 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.003353/0.4138, allocations: 1.345 MB / 330.7 MB, free: 1.406 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.4138, allocations: 0 / 330.7 MB, free: 1.406 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009218/0.4148, allocations: 155.8 kB / 330.9 MB, free: 1.254 MB / 266.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.00039/0.4152, allocations: 197.6 kB / 331.1 MB, free: 1.055 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.003617/0.4188, allocations: 1.928 MB / 333 MB, free: 15.03 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/0.4188, allocations: 0 / 333 MB, free: 15.03 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002411/0.4213, allocations: 1.448 MB / 334.4 MB, free: 13.48 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001981/0.4233, allocations: 312.3 kB / 334.7 MB, free: 13.18 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007057/0.4304, allocations: 3.138 MB / 337.9 MB, free: 10.01 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001566/0.432, allocations: 1.223 MB / 339.1 MB, free: 8.754 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002317/0.4322, allocations: 45.42 kB / 339.1 MB, free: 8.707 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.326e-05/0.4323, allocations: 15.44 kB / 339.2 MB, free: 8.691 MB / 282.7 MB Notification: Performance of SimCode: time 9.62e-07/0.4323, allocations: 0 / 339.2 MB, free: 8.691 MB / 282.7 MB Notification: Performance of Templates: time 0.03435/0.4667, allocations: 15.2 MB / 354.4 MB, free: 9.145 MB / 298.7 MB