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_cpp_Modelica.Electrical.Digital.Examples.DLATREGSRL") Notification: Performance of loadModel(Modelica): time 1.979/1.979, allocations: 194.9 MB / 211.2 MB, free: 8.355 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.699e-05/2.702e-05, allocations: 7.938 kB / 258.8 MB, free: 8.727 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3072, allocations: 44.51 MB / 303.3 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DLATREGSRL): time 0.002573/0.3098, allocations: 1.44 MB / 304.7 MB, free: 11.55 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003261/0.3131, allocations: 0.9747 MB / 305.7 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001608/0.3134, allocations: 3.5 kB / 305.7 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001728/0.3135, allocations: 30.11 kB / 305.7 MB, free: 10.81 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003576/0.3139, allocations: 164.1 kB / 305.9 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004238/0.3144, allocations: 88.95 kB / 306 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004316/0.3148, allocations: 197.5 kB / 306.2 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002413/0.3151, allocations: 66.06 kB / 306.2 MB, free: 10.48 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001252/0.3163, allocations: 0.6369 MB / 306.9 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004177/0.3168, allocations: 199.6 kB / 307.1 MB, free: 9.914 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001683/0.317, allocations: 12 kB / 307.1 MB, free: 9.902 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001403/0.3171, allocations: 12 kB / 307.1 MB, free: 9.891 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000346/0.3175, allocations: 243.2 kB / 307.3 MB, free: 9.652 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003334/0.3178, allocations: 64 kB / 307.4 MB, free: 9.59 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001649/0.3195, allocations: 1.198 MB / 308.6 MB, free: 8.391 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3195, allocations: 0 / 308.6 MB, free: 8.391 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.049e-06/0.3195, allocations: 4 kB / 308.6 MB, free: 8.387 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.361e-05/0.3196, allocations: 3.938 kB / 308.6 MB, free: 8.383 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.002122/0.3217, allocations: 1.281 MB / 309.9 MB, free: 7 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.3218, allocations: 15.97 kB / 309.9 MB, free: 6.984 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003686/0.3222, allocations: 134.4 kB / 310 MB, free: 6.852 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.3232, allocations: 0.5131 MB / 310.5 MB, free: 6.289 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.509e-05/0.3233, allocations: 31.92 kB / 310.6 MB, free: 6.258 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.3234, allocations: 28 kB / 310.6 MB, free: 6.23 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001755/0.3252, allocations: 0.626 MB / 311.2 MB, free: 5.598 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.3253, allocations: 3.984 kB / 311.2 MB, free: 5.594 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.953e-05/0.3254, allocations: 19.98 kB / 311.3 MB, free: 5.574 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.3254, allocations: 0 / 311.3 MB, free: 5.574 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00128/0.3267, allocations: 483.7 kB / 311.7 MB, free: 5.102 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003022/0.3297, allocations: 1.166 MB / 312.9 MB, free: 3.879 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001671/0.3315, allocations: 0.7014 MB / 313.6 MB, free: 3.168 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.3315, allocations: 0 / 313.6 MB, free: 3.168 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001733/0.3333, allocations: 0.7641 MB / 314.4 MB, free: 2.367 MB / 250.7 MB Notification: Performance of pre-optimization done (n=33): time 3.747e-06/0.3333, allocations: 0 / 314.4 MB, free: 2.367 MB / 250.7 MB Notification: Performance of matching and sorting (n=33): time 0.004966/0.3383, allocations: 2.135 MB / 316.5 MB, free: 124 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003504/0.3387, allocations: 329 kB / 316.8 MB, free: 15.74 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004334/0.343, allocations: 1.632 MB / 318.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002264/0.3433, allocations: 45.64 kB / 318.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000367/0.3437, allocations: 256.9 kB / 318.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002113/0.3439, allocations: 83.08 kB / 318.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.168e-05/0.344, allocations: 12 kB / 318.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.3442, allocations: 322.8 kB / 319.1 MB, free: 13.37 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00123/0.3455, allocations: 459.7 kB / 319.6 MB, free: 12.92 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001249/0.3467, allocations: 482.3 kB / 320.1 MB, free: 12.44 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/0.348, allocations: 0.591 MB / 320.7 MB, free: 11.8 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.348, allocations: 4 kB / 320.7 MB, free: 11.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.003241/0.3513, allocations: 1.33 MB / 322 MB, free: 10.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003463/0.3516, allocations: 289.5 kB / 322.3 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.3517, allocations: 0 / 322.3 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.594e-05/0.3517, allocations: 7.984 kB / 322.3 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.882e-05/0.3518, allocations: 3.938 kB / 322.3 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.3518, allocations: 0 / 322.3 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007458/0.3525, allocations: 59.81 kB / 322.3 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002427/0.3528, allocations: 128.2 kB / 322.5 MB, free: 9.883 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.002278/0.3551, allocations: 0.992 MB / 323.5 MB, free: 8.828 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003236/0.3554, allocations: 134.4 kB / 323.6 MB, free: 8.695 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007439/0.3562, allocations: 251.9 kB / 323.8 MB, free: 8.441 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.3562, allocations: 3.984 kB / 323.8 MB, free: 8.438 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/0.3562, allocations: 0 / 323.8 MB, free: 8.438 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.3562, allocations: 0 / 323.8 MB, free: 8.438 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005669/0.3619, allocations: 2.435 MB / 326.3 MB, free: 5.891 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.575e-06/0.362, allocations: 0 / 326.3 MB, free: 5.891 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.132e-05/0.362, allocations: 3.984 kB / 326.3 MB, free: 5.887 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-06/0.362, allocations: 4 kB / 326.3 MB, free: 5.883 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001226/0.3622, allocations: 35.92 kB / 326.3 MB, free: 5.848 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.3622, allocations: 0 / 326.3 MB, free: 5.848 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.3622, allocations: 3.938 kB / 326.3 MB, free: 5.844 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003774/0.366, allocations: 1.653 MB / 328 MB, free: 4.121 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001978/0.368, allocations: 0.6747 MB / 328.7 MB, free: 3.426 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003661/0.3684, allocations: 59.91 kB / 328.7 MB, free: 3.367 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006506/0.3691, allocations: 39.88 kB / 328.8 MB, free: 3.328 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001017/0.3701, allocations: 375.6 kB / 329.1 MB, free: 2.961 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002571/0.3704, allocations: 127.9 kB / 329.2 MB, free: 2.836 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.003529/0.3739, allocations: 1.345 MB / 330.6 MB, free: 1.488 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.374, allocations: 4 kB / 330.6 MB, free: 1.484 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009325/0.3749, allocations: 155.9 kB / 330.7 MB, free: 1.332 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.0004057/0.3754, allocations: 197.6 kB / 330.9 MB, free: 1.133 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.003721/0.3791, allocations: 1.932 MB / 332.9 MB, free: 15.1 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.75e-06/0.3791, allocations: 3.938 kB / 332.9 MB, free: 15.1 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002392/0.3815, allocations: 1.44 MB / 334.3 MB, free: 13.56 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002118/0.3837, allocations: 314.3 kB / 334.6 MB, free: 13.26 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007629/0.3914, allocations: 3.241 MB / 337.9 MB, free: 9.973 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001731/0.3932, allocations: 1.223 MB / 339.1 MB, free: 8.719 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.116e-05/0.3933, allocations: 15.44 kB / 339.1 MB, free: 8.703 MB / 282.7 MB Notification: Performance of SimCode: time 1.213e-06/0.3933, allocations: 4 kB / 339.1 MB, free: 8.699 MB / 282.7 MB Notification: Performance of Templates: time 0.02324/0.4165, allocations: 10.12 MB / 349.2 MB, free: 14.4 MB / 298.7 MB