Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.DLATREGL,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Digital_Examples_DLATREGL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.975/1.975, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.867e-05/2.875e-05, allocations: 4 kB / 255.5 MB, free: 2.645 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09889/0.09895, allocations: 44.5 MB / 300 MB, free: 6.082 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4236/0.5226, allocations: 77.74 MB / 377.7 MB, free: 12.75 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002791/0.523, allocations: 68 kB / 377.8 MB, free: 12.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1032/0.6262, allocations: 33.36 MB / 411.1 MB, free: 6.445 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.6262, allocations: 7.938 kB / 411.1 MB, free: 6.438 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.255e-05/0.6263, allocations: 7.75 kB / 411.2 MB, free: 6.438 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.001502/0.6278, allocations: 1.007 MB / 412.2 MB, free: 5.562 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.638e-05/0.6279, allocations: 11.66 kB / 412.2 MB, free: 5.562 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001532/0.628, allocations: 53.39 kB / 412.2 MB, free: 5.52 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002392/0.6283, allocations: 85.81 kB / 412.3 MB, free: 5.477 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009787/0.6293, allocations: 412.8 kB / 412.7 MB, free: 5.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.264e-05/0.6294, allocations: 26.56 kB / 412.7 MB, free: 5.176 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/0.6295, allocations: 22.5 kB / 412.8 MB, free: 5.176 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001569/0.6311, allocations: 499.9 kB / 413.2 MB, free: 5.035 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.6312, allocations: 3.938 kB / 413.3 MB, free: 5.031 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001205/0.6313, allocations: 14.44 kB / 413.3 MB, free: 5.031 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.6313, allocations: 0 / 413.3 MB, free: 5.031 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.6325, allocations: 361.1 kB / 413.6 MB, free: 4.98 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002982/0.6355, allocations: 0.929 MB / 414.5 MB, free: 4.48 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/0.6368, allocations: 0.4933 MB / 415 MB, free: 4.41 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001174/0.638, allocations: 496.2 kB / 415.5 MB, free: 4.352 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.6381, allocations: 3.875 kB / 415.5 MB, free: 4.352 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001408/0.6395, allocations: 0.6203 MB / 416.2 MB, free: 4.055 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 4.769e-06/0.6395, allocations: 112 / 416.2 MB, free: 4.055 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.003029/0.6425, allocations: 1.147 MB / 417.3 MB, free: 3.629 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001999/0.6428, allocations: 280 kB / 417.6 MB, free: 3.336 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002845/0.6456, allocations: 1.02 MB / 418.6 MB, free: 2.934 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001521/0.6458, allocations: 41.14 kB / 418.6 MB, free: 2.902 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.646, allocations: 147.9 kB / 418.8 MB, free: 2.797 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001905/0.6462, allocations: 82.05 kB / 418.9 MB, free: 2.75 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.719e-05/0.6463, allocations: 7.594 kB / 418.9 MB, free: 2.75 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.6464, allocations: 343.2 kB / 419.2 MB, free: 2.426 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/0.6475, allocations: 337.5 kB / 419.5 MB, free: 2.387 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/0.6486, allocations: 346.7 kB / 419.9 MB, free: 2.344 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000982/0.6496, allocations: 498 kB / 420.4 MB, free: 2.059 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.6496, allocations: 0 / 420.4 MB, free: 2.059 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.003021/0.6527, allocations: 1.096 MB / 421.4 MB, free: 1.664 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002497/0.6529, allocations: 241.8 kB / 421.7 MB, free: 1.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.653, allocations: 3.844 kB / 421.7 MB, free: 1.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/0.653, allocations: 4 kB / 421.7 MB, free: 1.426 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.871e-05/0.653, allocations: 3.938 kB / 421.7 MB, free: 1.422 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.6531, allocations: 0 / 421.7 MB, free: 1.422 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007672/0.6539, allocations: 46.55 kB / 421.7 MB, free: 1.406 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002546/0.6541, allocations: 128.1 kB / 421.9 MB, free: 1.395 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.0005607/0.6547, allocations: 405.9 kB / 422.3 MB, free: 1.039 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002416/0.655, allocations: 97.38 kB / 422.4 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000601/0.6556, allocations: 143.5 kB / 422.5 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.6556, allocations: 4 kB / 422.5 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.6556, allocations: 0 / 422.5 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.6556, allocations: 0 / 422.5 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004632/0.6603, allocations: 1.935 MB / 424.4 MB, free: 20 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.6603, allocations: 0 / 424.4 MB, free: 20 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.233e-05/0.6604, allocations: 6.062 kB / 424.4 MB, free: 20 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.146e-06/0.6604, allocations: 4 kB / 424.4 MB, free: 16 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000132/0.6605, allocations: 33.66 kB / 424.5 MB, free: 12 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.6606, allocations: 0 / 424.5 MB, free: 12 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.6606, allocations: 3.938 kB / 424.5 MB, free: 8 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003823/0.6644, allocations: 1.368 MB / 425.9 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002197/0.6667, allocations: 0.5575 MB / 426.4 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000384/0.6671, allocations: 56.97 kB / 426.5 MB, free: 15.17 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008293/0.6679, allocations: 38.78 kB / 426.5 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008846/0.6688, allocations: 232.1 kB / 426.7 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002929/0.6692, allocations: 128.7 kB / 426.9 MB, free: 15.08 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002692/0.6719, allocations: 0.8516 MB / 427.7 MB, free: 14.75 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.61e-07/0.6719, allocations: 0 / 427.7 MB, free: 14.75 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001132/0.6731, allocations: 117.9 kB / 427.8 MB, free: 14.75 MB / 330.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.004442/0.6775, allocations: 2.003 MB / 429.8 MB, free: 13.64 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003393/0.681, allocations: 1.51 MB / 431.3 MB, free: 13 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.681, allocations: 0 / 431.3 MB, free: 13 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002236/0.6833, allocations: 1.137 MB / 432.5 MB, free: 12.12 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002425/0.6857, allocations: 264.7 kB / 432.7 MB, free: 12 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00654/0.6923, allocations: 1.867 MB / 434.6 MB, free: 11.05 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001521/0.6939, allocations: 1.037 MB / 435.6 MB, free: 10.16 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002793/0.6942, allocations: 36.73 kB / 435.7 MB, free: 10.14 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/0.6944, allocations: 72.98 kB / 435.7 MB, free: 10.08 MB / 330.7 MB Notification: Performance of SimCode: time 1.663e-06/0.6944, allocations: 0 / 435.7 MB, free: 10.08 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06385/0.7583, allocations: 15.42 MB / 451.2 MB, free: 10.84 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002856/0.7586, allocations: 150.2 kB / 451.3 MB, free: 10.61 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.929/3.688, allocations: 0 / 451.3 MB, free: 10.61 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGL_res.mat does not exist to compare? outputFormat=mat