Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.DLATREGL,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Digital_Examples_DLATREGL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.732/1.732, allocations: 171.3 MB / 178.4 MB, free: 152 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.614e-05/2.618e-05, allocations: 4 kB / 219.6 MB, free: 6.93 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2538, allocations: 38.76 MB / 258.3 MB, free: 12.28 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1238/0.3777, allocations: 71.76 MB / 330.1 MB, free: 6.09 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/0.3779, allocations: 67.97 kB / 330.2 MB, free: 6.023 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1109/0.4889, allocations: 33.04 MB / 363.2 MB, free: 4.977 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4889, allocations: 0 / 363.2 MB, free: 4.977 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.831e-05/0.489, allocations: 8 kB / 363.2 MB, free: 4.969 MB / 314.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.001331/0.4903, allocations: 1.015 MB / 364.2 MB, free: 3.863 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.4904, allocations: 8.031 kB / 364.2 MB, free: 3.855 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001947/0.4906, allocations: 91.05 kB / 364.3 MB, free: 3.766 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008279/0.4914, allocations: 415.5 kB / 364.7 MB, free: 3.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.298e-05/0.4915, allocations: 16 kB / 364.7 MB, free: 3.305 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.564e-05/0.4916, allocations: 23.98 kB / 364.8 MB, free: 3.281 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007909/0.4924, allocations: 336.2 kB / 365.1 MB, free: 2.949 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.4934, allocations: 462.3 kB / 365.5 MB, free: 2.492 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.4935, allocations: 0 / 365.5 MB, free: 2.492 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.059e-05/0.4935, allocations: 8 kB / 365.6 MB, free: 2.484 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.4936, allocations: 4 kB / 365.6 MB, free: 2.48 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002155/0.4957, allocations: 0.8718 MB / 366.4 MB, free: 1.57 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009267/0.4967, allocations: 482.7 kB / 366.9 MB, free: 1.086 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00086/0.4976, allocations: 476.9 kB / 367.4 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.4976, allocations: 8 kB / 367.4 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2288/0.7265, allocations: 0.6238 MB / 368 MB, free: 92.64 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 6.883e-06/0.7265, allocations: 0 / 368 MB, free: 92.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.004999/0.7316, allocations: 0.8496 MB / 368.8 MB, free: 92.59 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002135/0.7318, allocations: 281.2 kB / 369.1 MB, free: 92.31 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002171/0.734, allocations: 0.9766 MB / 370.1 MB, free: 92.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001864/0.7343, allocations: 39.83 kB / 370.1 MB, free: 92.04 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.7344, allocations: 141.1 kB / 370.3 MB, free: 91.95 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001537/0.7346, allocations: 74.62 kB / 370.3 MB, free: 91.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.776e-05/0.7346, allocations: 12.59 kB / 370.4 MB, free: 91.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.783e-05/0.7347, allocations: 339.5 kB / 370.7 MB, free: 91.6 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007253/0.7355, allocations: 332.8 kB / 371 MB, free: 91.6 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007/0.7362, allocations: 326.3 kB / 371.3 MB, free: 91.59 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005092/0.7367, allocations: 227.4 kB / 371.6 MB, free: 91.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.7368, allocations: 0 / 371.6 MB, free: 91.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00197/0.7387, allocations: 0.8103 MB / 372.4 MB, free: 91.54 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002079/0.739, allocations: 253.8 kB / 372.6 MB, free: 91.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.739, allocations: 0 / 372.6 MB, free: 91.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.7391, allocations: 1.891 kB / 372.6 MB, free: 91.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.385e-05/0.7391, allocations: 5.156 kB / 372.6 MB, free: 91.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.7391, allocations: 3.5 kB / 372.6 MB, free: 91.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006051/0.7397, allocations: 38.59 kB / 372.7 MB, free: 91.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002231/0.74, allocations: 127.2 kB / 372.8 MB, free: 91.32 MB / 314.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.000496/0.7405, allocations: 407.5 kB / 373.2 MB, free: 90.99 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002104/0.7426, allocations: 0.9538 MB / 374.1 MB, free: 90.91 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000179/0.7428, allocations: 85.84 kB / 374.2 MB, free: 90.87 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004249/0.7433, allocations: 149.3 kB / 374.4 MB, free: 90.81 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.7433, allocations: 0 / 374.4 MB, free: 90.81 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.7433, allocations: 0 / 374.4 MB, free: 90.81 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.7433, allocations: 0 / 374.4 MB, free: 90.81 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002903/0.7462, allocations: 1.578 MB / 375.9 MB, free: 90.45 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.7463, allocations: 3.562 kB / 375.9 MB, free: 90.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.155e-05/0.7463, allocations: 3.75 kB / 376 MB, free: 90.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.986e-06/0.7463, allocations: 6.688 kB / 376 MB, free: 90.45 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.97e-05/0.7465, allocations: 34.47 kB / 376 MB, free: 90.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.7465, allocations: 2.406 kB / 376 MB, free: 90.45 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.7465, allocations: 0 / 376 MB, free: 90.45 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002078/0.7486, allocations: 1.036 MB / 377 MB, free: 90.28 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00135/0.75, allocations: 0.5583 MB / 377.6 MB, free: 90 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002737/0.7503, allocations: 59.5 kB / 377.6 MB, free: 89.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005372/0.7508, allocations: 42.14 kB / 377.7 MB, free: 89.97 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006016/0.7515, allocations: 233.7 kB / 377.9 MB, free: 89.92 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001923/0.7517, allocations: 126.8 kB / 378 MB, free: 89.91 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001604/0.7533, allocations: 0.804 MB / 378.8 MB, free: 89.54 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.72e-07/0.7533, allocations: 3.719 kB / 378.8 MB, free: 89.54 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008262/0.7542, allocations: 123.1 kB / 379 MB, free: 89.54 MB / 314.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.002459/0.7566, allocations: 1.673 MB / 380.6 MB, free: 88.57 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00205/0.7587, allocations: 1.465 MB / 382.1 MB, free: 87.65 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.7588, allocations: 3.719 kB / 382.1 MB, free: 87.65 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001348/0.7602, allocations: 1.113 MB / 383.2 MB, free: 86.83 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001722/0.7619, allocations: 267.7 kB / 383.5 MB, free: 86.78 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004179/0.7661, allocations: 1.829 MB / 385.3 MB, free: 86.05 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008118/0.767, allocations: 1.028 MB / 386.3 MB, free: 85.27 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002093/0.7672, allocations: 45.95 kB / 386.4 MB, free: 85.26 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/0.7674, allocations: 74.34 kB / 386.5 MB, free: 85.2 MB / 314.7 MB Notification: Performance of SimCode: time 9.41e-07/0.7674, allocations: 0 / 386.5 MB, free: 85.2 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06287/0.8303, allocations: 14.69 MB / 401.1 MB, free: 72.25 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002234/0.8306, allocations: 139.2 kB / 401.3 MB, free: 72.05 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.806/3.636, allocations: 0 / 401.3 MB, free: 72.05 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGL_res.mat does not exist to compare? outputFormat=mat