Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.DLATREGSRH,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_DLATREGSRH",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.03/2.03, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.095e-05/3.099e-05, allocations: 6.031 kB / 292.7 MB, free: 8.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1109, allocations: 50.41 MB / 343.2 MB, free: 5.836 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4953/0.6062, allocations: 83.4 MB / 426.6 MB, free: 10.78 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/0.6066, allocations: 64.53 kB / 426.6 MB, free: 10.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1072/0.7138, allocations: 31.08 MB / 457.7 MB, free: 272 kB / 362.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.7138, allocations: 0 / 457.7 MB, free: 272 kB / 362.7 MB Notification: Performance of Transformations before backend: time 4.591e-05/0.7139, allocations: 12 kB / 457.7 MB, free: 260 kB / 362.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.00209/0.716, allocations: 1.327 MB / 459 MB, free: 14.83 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.837e-05/0.7161, allocations: 8.031 kB / 459 MB, free: 14.82 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002194/0.7163, allocations: 62.53 kB / 459.1 MB, free: 14.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002924/0.7166, allocations: 130.5 kB / 459.2 MB, free: 14.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/0.7178, allocations: 0.5171 MB / 459.7 MB, free: 14.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.862e-05/0.7179, allocations: 23.94 kB / 459.8 MB, free: 14.03 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/0.718, allocations: 31.98 kB / 459.8 MB, free: 14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/0.7196, allocations: 0.6105 MB / 460.4 MB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.7197, allocations: 0 / 460.4 MB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.7198, allocations: 23.97 kB / 460.4 MB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.7198, allocations: 4 kB / 460.4 MB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.7209, allocations: 475.7 kB / 460.9 MB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002937/0.7239, allocations: 1.166 MB / 462.1 MB, free: 11.67 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/0.7254, allocations: 0.6859 MB / 462.8 MB, free: 10.97 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001337/0.7267, allocations: 0.6881 MB / 463.4 MB, free: 10.28 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.7268, allocations: 0 / 463.4 MB, free: 10.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001472/0.7282, allocations: 0.7416 MB / 464.2 MB, free: 9.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 3.006e-06/0.7283, allocations: 0 / 464.2 MB, free: 9.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.003208/0.7315, allocations: 1.414 MB / 465.6 MB, free: 8.031 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002972/0.7318, allocations: 333 kB / 465.9 MB, free: 7.645 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004029/0.7359, allocations: 1.623 MB / 467.5 MB, free: 6.008 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002635/0.7362, allocations: 41.7 kB / 467.6 MB, free: 5.961 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003899/0.7366, allocations: 242.4 kB / 467.8 MB, free: 5.719 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002012/0.7368, allocations: 75.16 kB / 467.9 MB, free: 5.645 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.342e-05/0.7369, allocations: 12 kB / 467.9 MB, free: 5.633 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002313/0.7371, allocations: 386.7 kB / 468.3 MB, free: 5.246 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001079/0.7382, allocations: 451.8 kB / 468.7 MB, free: 4.805 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/0.7393, allocations: 451.8 kB / 469.2 MB, free: 4.363 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009827/0.7403, allocations: 0.5832 MB / 469.8 MB, free: 3.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.7403, allocations: 4 kB / 469.8 MB, free: 3.727 MB / 378.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002924/0.7433, allocations: 1.342 MB / 471.1 MB, free: 2.328 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002994/0.7436, allocations: 293.5 kB / 471.4 MB, free: 1.992 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.7436, allocations: 0 / 471.4 MB, free: 1.992 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.7437, allocations: 4 kB / 471.4 MB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.087e-05/0.7437, allocations: 0 / 471.4 MB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.7437, allocations: 0 / 471.4 MB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006842/0.7444, allocations: 47.89 kB / 471.4 MB, free: 1.941 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002489/0.7447, allocations: 132.2 kB / 471.6 MB, free: 1.812 MB / 378.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.dLATREGSRH.delay.inertialDelaySensitive[1].x,dLATREGSRH.delay.inertialDelaySensitive[1].x,$PRE.dLATREGSRH.delay.inertialDelaySensitive[1].y,dLATREGSRH.delay.inertialDelaySensitive[1].y,dLATREGSRH.delay.inertialDelaySensitive[1].delayTime,dLATREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[1].y_old,dLATREGSRH.delay.inertialDelaySensitive[1].lh,dLATREGSRH.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREGSRH.delay.inertialDelaySensitive[2].x,dLATREGSRH.delay.inertialDelaySensitive[2].x,$PRE.dLATREGSRH.delay.inertialDelaySensitive[2].y,dLATREGSRH.delay.inertialDelaySensitive[2].y,dLATREGSRH.delay.inertialDelaySensitive[2].delayTime,dLATREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[2].y_old,dLATREGSRH.delay.inertialDelaySensitive[2].lh,dLATREGSRH.delay.inertialDelaySensitive[2].t_next,dLATREGSRH.dLATSR.dataIn[1],dLATREGSRH.dLATSR.dataIn[2],dLATREGSRH.dLATSR.dataOut[1],dLATREGSRH.dLATSR.dataOut[2],dLATREGSRH.dLATSR.enable_flag,dLATREGSRH.dLATSR.reset_set_flag,dLATREGSRH.dLATSR.nextstate[1],dLATREGSRH.dLATSR.nextstate[2],dLATREGSRH.dLATSR.next_assign_val[1],dLATREGSRH.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.0005958/0.7453, allocations: 459.7 kB / 472 MB, free: 1.309 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002581/0.7456, allocations: 142.4 kB / 472.2 MB, free: 1.168 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008296/0.7464, allocations: 248 kB / 472.4 MB, free: 0.918 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.7464, allocations: 3.938 kB / 472.4 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.7464, allocations: 3.984 kB / 472.4 MB, free: 0.9102 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.7465, allocations: 4 kB / 472.4 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005038/0.7515, allocations: 2.403 MB / 474.8 MB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/0.7516, allocations: 7.953 kB / 474.8 MB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.059e-05/0.7516, allocations: 0 / 474.8 MB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.7516, allocations: 0 / 474.8 MB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000122/0.7517, allocations: 31.98 kB / 474.9 MB, free: 14.35 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.7518, allocations: 7.938 kB / 474.9 MB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.7518, allocations: 3.984 kB / 474.9 MB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003386/0.7552, allocations: 1.626 MB / 476.5 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00196/0.7572, allocations: 0.6824 MB / 477.2 MB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003262/0.7575, allocations: 63.95 kB / 477.2 MB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006674/0.7582, allocations: 43.88 kB / 477.3 MB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00109/0.7593, allocations: 379.5 kB / 477.6 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002642/0.7596, allocations: 127.9 kB / 477.8 MB, free: 11.34 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003402/0.763, allocations: 1.332 MB / 479.1 MB, free: 10 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.11e-07/0.7631, allocations: 0 / 479.1 MB, free: 10 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009864/0.7641, allocations: 148 kB / 479.2 MB, free: 9.859 MB / 394.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,dLATREGSRH.delay.inertialDelaySensitive[1].x,dLATREGSRH.delay.inertialDelaySensitive[1].y,dLATREGSRH.delay.inertialDelaySensitive[1].delayTime,dLATREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[1].y_old,dLATREGSRH.delay.inertialDelaySensitive[1].lh,dLATREGSRH.delay.inertialDelaySensitive[1].t_next,dLATREGSRH.delay.inertialDelaySensitive[2].x,dLATREGSRH.delay.inertialDelaySensitive[2].y,dLATREGSRH.delay.inertialDelaySensitive[2].delayTime,dLATREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[2].y_old,dLATREGSRH.delay.inertialDelaySensitive[2].lh,dLATREGSRH.delay.inertialDelaySensitive[2].t_next,dLATREGSRH.dLATSR.dataIn[1],dLATREGSRH.dLATSR.dataIn[2],dLATREGSRH.dLATSR.dataOut[1],dLATREGSRH.dLATSR.dataOut[2],dLATREGSRH.dLATSR.enable_flag,dLATREGSRH.dLATSR.reset_set_flag,dLATREGSRH.dLATSR.nextstate[1],dLATREGSRH.dLATSR.nextstate[2],dLATREGSRH.dLATSR.next_assign_val[1],dLATREGSRH.dLATSR.next_assign_val[2]) * Number of discrete states: 31 (enable.y,data_0.y,reset.y,data_1.y,set.y,dLATREGSRH.dLATSR.dataOut[2],dLATREGSRH.dLATSR.dataOut[1],dLATREGSRH.dLATSR.next_assign_val[2],dLATREGSRH.dLATSR.next_assign_val[1],dLATREGSRH.dLATSR.nextstate[2],dLATREGSRH.dLATSR.nextstate[1],dLATREGSRH.dLATSR.reset_set_flag,dLATREGSRH.dLATSR.enable_flag,dLATREGSRH.delay.inertialDelaySensitive[2].y,dLATREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[2].t_next,dLATREGSRH.delay.inertialDelaySensitive[2].delayTime,dLATREGSRH.delay.inertialDelaySensitive[2].lh,dLATREGSRH.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREGSRH.delay.inertialDelaySensitive[2].x,dLATREGSRH.delay.inertialDelaySensitive[1].y,dLATREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[1].t_next,dLATREGSRH.delay.inertialDelaySensitive[1].delayTime,dLATREGSRH.delay.inertialDelaySensitive[1].lh,dLATREGSRH.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREGSRH.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.004038/0.7681, allocations: 2.282 MB / 481.5 MB, free: 7.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00342/0.7716, allocations: 1.909 MB / 483.4 MB, free: 5.492 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.7717, allocations: 0 / 483.4 MB, free: 5.492 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002205/0.7739, allocations: 1.436 MB / 484.9 MB, free: 3.957 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002159/0.7761, allocations: 298.9 kB / 485.2 MB, free: 3.672 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007872/0.784, allocations: 2.745 MB / 487.9 MB, free: 0.8789 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001603/0.7856, allocations: 1.231 MB / 489.1 MB, free: 15.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002513/0.7859, allocations: 33.52 kB / 489.2 MB, free: 15.58 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002435/0.7862, allocations: 131.4 kB / 489.3 MB, free: 15.45 MB / 410.7 MB Notification: Performance of SimCode: time 1.082e-06/0.7862, allocations: 0 / 489.3 MB, free: 15.45 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07534/0.8615, allocations: 20.57 MB / 0.4979 GB, free: 10.76 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003206/0.8619, allocations: 156.1 kB / 0.4981 GB, free: 10.53 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.985/3.847, allocations: 0 / 0.4981 GB, free: 10.53 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRH_res.mat does not exist to compare? outputFormat=mat