Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.DLATREGL,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Digital_Examples_DLATREGL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.015/2.015, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.995e-05/2.999e-05, allocations: 0 / 292.2 MB, free: 8.762 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.104, allocations: 50.42 MB / 342.6 MB, free: 6.324 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4328/0.5369, allocations: 83.19 MB / 425.8 MB, free: 10.61 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/0.5372, allocations: 66.56 kB / 425.9 MB, free: 10.57 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1193/0.6566, allocations: 33.75 MB / 459.6 MB, free: 14.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.6566, allocations: 0 / 459.6 MB, free: 14.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.36e-05/0.6567, allocations: 12 kB / 459.6 MB, free: 14.01 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001503/0.6582, allocations: 1.012 MB / 460.7 MB, free: 12.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.6583, allocations: 8.031 kB / 460.7 MB, free: 12.9 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001505/0.6584, allocations: 54.55 kB / 460.7 MB, free: 12.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002047/0.6586, allocations: 90.95 kB / 460.8 MB, free: 12.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008554/0.6595, allocations: 419.6 kB / 461.2 MB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.007e-05/0.6596, allocations: 16 kB / 461.2 MB, free: 12.28 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.6597, allocations: 24 kB / 461.3 MB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/0.661, allocations: 494.2 kB / 461.7 MB, free: 11.76 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.661, allocations: 0 / 461.7 MB, free: 11.76 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.053e-05/0.6611, allocations: 19.94 kB / 461.8 MB, free: 11.74 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.6611, allocations: 0 / 461.8 MB, free: 11.74 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000883/0.662, allocations: 356.1 kB / 462.1 MB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002312/0.6643, allocations: 0.9338 MB / 463 MB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/0.6655, allocations: 498.6 kB / 463.5 MB, free: 9.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001022/0.6665, allocations: 0.4892 MB / 464 MB, free: 9.418 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.6666, allocations: 7.953 kB / 464 MB, free: 9.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001244/0.6678, allocations: 0.6266 MB / 464.6 MB, free: 8.746 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 4.549e-06/0.6678, allocations: 0 / 464.6 MB, free: 8.746 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.002656/0.6705, allocations: 1.137 MB / 465.8 MB, free: 7.559 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002331/0.6708, allocations: 283.3 kB / 466.1 MB, free: 7.227 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002411/0.6732, allocations: 1.019 MB / 467.1 MB, free: 6.199 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001721/0.6734, allocations: 41.7 kB / 467.1 MB, free: 6.152 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.6736, allocations: 196.4 kB / 467.3 MB, free: 5.957 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001908/0.6738, allocations: 75.2 kB / 467.4 MB, free: 5.883 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.872e-05/0.6739, allocations: 12 kB / 467.4 MB, free: 5.871 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.674, allocations: 322.8 kB / 467.7 MB, free: 5.547 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008501/0.6749, allocations: 343.8 kB / 468 MB, free: 5.211 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008173/0.6757, allocations: 347.8 kB / 468.4 MB, free: 4.871 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008627/0.6766, allocations: 488.9 kB / 468.9 MB, free: 4.352 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.6767, allocations: 4 kB / 468.9 MB, free: 4.348 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002487/0.6791, allocations: 1.079 MB / 469.9 MB, free: 3.219 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002847/0.6795, allocations: 251.8 kB / 470.2 MB, free: 2.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.6795, allocations: 0 / 470.2 MB, free: 2.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.6795, allocations: 0 / 470.2 MB, free: 2.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.003e-05/0.6796, allocations: 11.88 kB / 470.2 MB, free: 2.918 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.6796, allocations: 0 / 470.2 MB, free: 2.918 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000663/0.6803, allocations: 35.97 kB / 470.2 MB, free: 2.883 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002481/0.6806, allocations: 131.9 kB / 470.4 MB, free: 2.754 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: 36 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,$PRE.dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[1].x,$PRE.dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].delayTime,dLATREGL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[1].y_old,dLATREGL.delay.inertialDelaySensitive[1].lh,dLATREGL.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREGL.delay.inertialDelaySensitive[2].x,dLATREGL.delay.inertialDelaySensitive[2].x,$PRE.dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].delayTime,dLATREGL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[2].y_old,dLATREGL.delay.inertialDelaySensitive[2].lh,dLATREGL.delay.inertialDelaySensitive[2].t_next,dLATREGL.dLATR.dataIn[1],dLATREGL.dLATR.dataIn[2],dLATREGL.dLATR.dataOut[1],dLATREGL.dLATR.dataOut[2],dLATREGL.dLATR.enable_flag,dLATREGL.dLATR.reset_flag,dLATREGL.dLATR.nextstate[1],dLATREGL.dLATR.nextstate[2],dLATREGL.dLATR.next_assign_val[1],dLATREGL.dLATR.next_assign_val[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 7 * 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.0005631/0.6811, allocations: 402.1 kB / 470.8 MB, free: 2.312 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002428/0.6814, allocations: 94.95 kB / 470.9 MB, free: 2.219 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000491/0.6819, allocations: 147.6 kB / 471 MB, free: 2.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.6819, allocations: 0 / 471 MB, free: 2.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.6819, allocations: 0 / 471 MB, free: 2.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.682, allocations: 3.984 kB / 471 MB, free: 2.066 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004312/0.6863, allocations: 1.942 MB / 472.9 MB, free: 24 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.6863, allocations: 0 / 472.9 MB, free: 24 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.165e-05/0.6864, allocations: 11.95 kB / 473 MB, free: 12 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/0.6864, allocations: 0 / 473 MB, free: 12 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001444/0.6866, allocations: 35.97 kB / 473 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.6866, allocations: 0 / 473 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.6866, allocations: 0 / 473 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003069/0.6897, allocations: 1.357 MB / 474.4 MB, free: 14.56 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001667/0.6914, allocations: 0.5581 MB / 474.9 MB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002993/0.6917, allocations: 63.91 kB / 475 MB, free: 13.92 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006384/0.6924, allocations: 31.97 kB / 475 MB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006948/0.6931, allocations: 231.8 kB / 475.2 MB, free: 13.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002447/0.6934, allocations: 128 kB / 475.4 MB, free: 13.54 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002086/0.6955, allocations: 0.8539 MB / 476.2 MB, free: 12.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.71e-07/0.6955, allocations: 0 / 476.2 MB, free: 12.68 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008596/0.6964, allocations: 120 kB / 476.3 MB, free: 12.57 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: 32 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].delayTime,dLATREGL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[1].y_old,dLATREGL.delay.inertialDelaySensitive[1].lh,dLATREGL.delay.inertialDelaySensitive[1].t_next,dLATREGL.delay.inertialDelaySensitive[2].x,dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].delayTime,dLATREGL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[2].y_old,dLATREGL.delay.inertialDelaySensitive[2].lh,dLATREGL.delay.inertialDelaySensitive[2].t_next,dLATREGL.dLATR.dataIn[1],dLATREGL.dLATR.dataIn[2],dLATREGL.dLATR.dataOut[1],dLATREGL.dLATR.dataOut[2],dLATREGL.dLATR.enable_flag,dLATREGL.dLATR.reset_flag,dLATREGL.dLATR.nextstate[1],dLATREGL.dLATR.nextstate[2],dLATREGL.dLATR.next_assign_val[1],dLATREGL.dLATR.next_assign_val[2]) * Number of discrete states: 30 (enable.y,data_0.y,reset.y,data_1.y,dLATREGL.dLATR.dataOut[2],dLATREGL.dLATR.dataOut[1],dLATREGL.dLATR.next_assign_val[2],dLATREGL.dLATR.next_assign_val[1],dLATREGL.dLATR.nextstate[2],dLATREGL.dLATR.nextstate[1],dLATREGL.dLATR.reset_flag,dLATREGL.dLATR.enable_flag,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[1].t_next,dLATREGL.delay.inertialDelaySensitive[1].delayTime,dLATREGL.delay.inertialDelaySensitive[1].lh,dLATREGL.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[2].t_next,dLATREGL.delay.inertialDelaySensitive[2].delayTime,dLATREGL.delay.inertialDelaySensitive[2].lh,dLATREGL.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREGL.delay.inertialDelaySensitive[2].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 7 * 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.00359/0.7, allocations: 1.997 MB / 478.3 MB, free: 10.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002777/0.7029, allocations: 1.515 MB / 479.8 MB, free: 8.895 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/0.7029, allocations: 0 / 479.8 MB, free: 8.895 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001894/0.7048, allocations: 1.136 MB / 481 MB, free: 7.672 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001983/0.7069, allocations: 264.6 kB / 481.2 MB, free: 7.418 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005675/0.7126, allocations: 1.942 MB / 483.2 MB, free: 5.426 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001155/0.7138, allocations: 1.035 MB / 484.2 MB, free: 4.359 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001601/0.714, allocations: 75.41 kB / 484.3 MB, free: 4.285 MB / 394.7 MB Notification: Performance of SimCode: time 1.634e-06/0.714, allocations: 0 / 484.3 MB, free: 4.285 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.602/3.316, allocations: 8.912 MB / 493.2 MB, free: 11.27 MB / 410.7 MB