Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.WiredX,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Digital_Examples_WiredX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.766/1.766, allocations: 171.2 MB / 183.3 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.392e-05/4.403e-05, allocations: 4 kB / 225.1 MB, free: 2.211 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2629, allocations: 38.77 MB / 263.9 MB, free: 9.691 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1264/0.3894, allocations: 73.14 MB / 337 MB, free: 452 kB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/0.3897, allocations: 71.97 kB / 337.1 MB, free: 380 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3698/0.7595, allocations: 43.6 MB / 380.7 MB, free: 89.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.7596, allocations: 0 / 380.7 MB, free: 89.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.485e-05/0.7596, allocations: 13.97 kB / 380.7 MB, free: 89.11 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.001008/0.7606, allocations: 0.9511 MB / 381.6 MB, free: 88.36 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.7607, allocations: 10.72 kB / 381.6 MB, free: 88.36 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001025/0.7608, allocations: 49.27 kB / 381.7 MB, free: 88.31 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001596/0.761, allocations: 81.22 kB / 381.8 MB, free: 88.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006088/0.7616, allocations: 364.3 kB / 382.1 MB, free: 87.99 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.761e-05/0.7616, allocations: 14.91 kB / 382.1 MB, free: 87.99 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.086e-05/0.7617, allocations: 22.19 kB / 382.2 MB, free: 87.98 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007215/0.7625, allocations: 300 kB / 382.5 MB, free: 87.9 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.7625, allocations: 3.938 kB / 382.5 MB, free: 87.89 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.863e-05/0.7626, allocations: 18.75 kB / 382.5 MB, free: 87.89 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.7626, allocations: 3.062 kB / 382.5 MB, free: 87.89 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004257/0.763, allocations: 142.2 kB / 382.6 MB, free: 87.86 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00176/0.7648, allocations: 0.7664 MB / 383.4 MB, free: 87.4 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005038/0.7653, allocations: 213.3 kB / 383.6 MB, free: 87.31 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004116/0.7658, allocations: 191.7 kB / 383.8 MB, free: 87.24 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.7658, allocations: 0 / 383.8 MB, free: 87.24 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000668/0.7665, allocations: 430.2 kB / 384.2 MB, free: 87.01 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 3.065e-06/0.7665, allocations: 0 / 384.2 MB, free: 87.01 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.001756/0.7683, allocations: 0.8672 MB / 385.1 MB, free: 86.58 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.7684, allocations: 278.6 kB / 385.3 MB, free: 86.26 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001611/0.77, allocations: 0.8288 MB / 386.2 MB, free: 85.55 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001017/0.7702, allocations: 37.7 kB / 386.2 MB, free: 85.5 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.583e-05/0.7703, allocations: 129.6 kB / 386.3 MB, free: 85.38 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.7704, allocations: 68.39 kB / 386.4 MB, free: 85.32 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-05/0.7705, allocations: 8 kB / 386.4 MB, free: 85.32 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.811e-05/0.7705, allocations: 335 kB / 386.7 MB, free: 84.99 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003822/0.7709, allocations: 142.4 kB / 386.9 MB, free: 84.86 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003967/0.7713, allocations: 161.5 kB / 387 MB, free: 84.71 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004344/0.7718, allocations: 369.3 kB / 387.4 MB, free: 84.33 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.7718, allocations: 0 / 387.4 MB, free: 84.33 MB / 314.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001588/0.7734, allocations: 0.8234 MB / 388.2 MB, free: 83.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001303/0.7736, allocations: 243.5 kB / 388.5 MB, free: 83.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.7736, allocations: 0 / 388.5 MB, free: 83.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.7736, allocations: 0 / 388.5 MB, free: 83.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.508e-05/0.7737, allocations: 19.64 kB / 388.5 MB, free: 83.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.7737, allocations: 0 / 388.5 MB, free: 83.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004624/0.7742, allocations: 27.33 kB / 388.5 MB, free: 83.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003121/0.7745, allocations: 263.5 kB / 388.8 MB, free: 82.96 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 34 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,e_table2.y,x_table2.y,bUF3S2.nextstate,bUF3S2.yy,$PRE.bUF3S2.inertialDelaySensitive.x,bUF3S2.inertialDelaySensitive.x,$PRE.bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.y_old,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.t_next,e_table1.y,x_table1.y,bUF3S1.nextstate,bUF3S1.yy,$PRE.bUF3S1.inertialDelaySensitive.x,bUF3S1.inertialDelaySensitive.x,$PRE.bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.y_old,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.t_next,wiredX.auxiliary[1],wiredX.auxiliary[2],wiredX.y,$PRE.wiredX.auxiliary[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 10 * 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.000339/0.7748, allocations: 399.5 kB / 389.1 MB, free: 82.54 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.775, allocations: 75.16 kB / 389.2 MB, free: 82.46 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000358/0.7754, allocations: 127.1 kB / 389.3 MB, free: 82.34 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.7754, allocations: 0 / 389.3 MB, free: 82.34 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.7754, allocations: 4 kB / 389.4 MB, free: 82.34 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.7754, allocations: 0 / 389.4 MB, free: 82.34 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002459/0.7779, allocations: 1.489 MB / 390.8 MB, free: 80.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-06/0.7779, allocations: 4 kB / 390.8 MB, free: 80.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.533e-05/0.7779, allocations: 4 kB / 390.8 MB, free: 80.74 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.778, allocations: 0 / 390.8 MB, free: 80.74 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.841e-05/0.7781, allocations: 47.95 kB / 390.9 MB, free: 80.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.7781, allocations: 0 / 390.9 MB, free: 80.7 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.7781, allocations: 7.938 kB / 390.9 MB, free: 80.69 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/0.7799, allocations: 1.02 MB / 391.9 MB, free: 79.6 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009424/0.7808, allocations: 431.8 kB / 392.3 MB, free: 79.16 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001719/0.781, allocations: 20 kB / 392.4 MB, free: 79.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004671/0.7815, allocations: 31.27 kB / 392.4 MB, free: 79.11 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002542/0.7818, allocations: 71.91 kB / 392.5 MB, free: 79.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003011/0.7821, allocations: 267.8 kB / 392.7 MB, free: 78.78 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00122/0.7833, allocations: 0.69 MB / 393.4 MB, free: 78.1 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.7833, allocations: 0 / 393.4 MB, free: 78.1 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005607/0.7839, allocations: 92 kB / 393.5 MB, free: 78.01 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: 29 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,e_table2.y,x_table2.y,bUF3S2.nextstate,bUF3S2.yy,bUF3S2.inertialDelaySensitive.x,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.y_old,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.t_next,e_table1.y,x_table1.y,bUF3S1.nextstate,bUF3S1.yy,bUF3S1.inertialDelaySensitive.x,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.y_old,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.t_next,wiredX.y,wiredX.auxiliary[1],wiredX.auxiliary[2]) * Number of discrete states: 27 (e_table2.y,x_table2.y,bUF3S2.yy,bUF3S2.nextstate,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.t_next,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.y_old,$whenCondition4,$whenCondition3,bUF3S2.inertialDelaySensitive.x,e_table1.y,x_table1.y,bUF3S1.yy,bUF3S1.nextstate,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.t_next,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,bUF3S1.inertialDelaySensitive.x,wiredX.auxiliary[2]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 5 * 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.002076/0.786, allocations: 1.617 MB / 395.1 MB, free: 76.32 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001214/0.7872, allocations: 0.9012 MB / 396 MB, free: 75.32 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.7872, allocations: 4 kB / 396 MB, free: 75.32 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007474/0.788, allocations: 0.7531 MB / 396.8 MB, free: 74.47 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001513/0.7895, allocations: 231 kB / 397 MB, free: 74.25 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002906/0.7924, allocations: 1.21 MB / 398.2 MB, free: 73 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006387/0.7931, allocations: 0.9633 MB / 399.2 MB, free: 72.02 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003185/0.7934, allocations: 94.53 kB / 399.3 MB, free: 71.92 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001729/0.7936, allocations: 83.34 kB / 399.4 MB, free: 71.84 MB / 314.7 MB Notification: Performance of SimCode: time 1.142e-06/0.7936, allocations: 0 / 399.4 MB, free: 71.84 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03958/0.8332, allocations: 14.15 MB / 413.5 MB, free: 57.63 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002066/0.8335, allocations: 152.9 kB / 413.7 MB, free: 57.4 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.678/3.511, allocations: 4 kB / 413.7 MB, free: 57.4 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Digital.Examples.WiredX_res.mat does not exist to compare? outputFormat=mat