Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.WiredX,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Digital_Examples_WiredX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.893/1.893, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.137e-05/3.147e-05, allocations: 0 / 255.5 MB, free: 2.625 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09184/0.0919, allocations: 44.5 MB / 300 MB, free: 6.062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4341/0.5261, allocations: 78.47 MB / 378.4 MB, free: 12.79 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003758/0.5265, allocations: 70.3 kB / 378.5 MB, free: 12.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.153/0.6795, allocations: 43.15 MB / 421.7 MB, free: 4.16 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.6796, allocations: 0 / 421.7 MB, free: 4.16 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.034e-05/0.6796, allocations: 11 kB / 421.7 MB, free: 4.16 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.0009703/0.6806, allocations: 0.9473 MB / 422.6 MB, free: 3.285 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.6806, allocations: 7.781 kB / 422.6 MB, free: 3.285 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001034/0.6807, allocations: 56.42 kB / 422.7 MB, free: 3.238 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001511/0.6809, allocations: 74 kB / 422.8 MB, free: 3.199 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005764/0.6815, allocations: 360.7 kB / 423.1 MB, free: 2.926 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.641e-05/0.6815, allocations: 15.38 kB / 423.1 MB, free: 2.922 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.661e-05/0.6816, allocations: 25.98 kB / 423.2 MB, free: 2.918 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006997/0.6824, allocations: 285.7 kB / 423.4 MB, free: 2.809 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.6824, allocations: 0 / 423.4 MB, free: 2.809 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.501e-05/0.6825, allocations: 14.75 kB / 423.4 MB, free: 2.805 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.6825, allocations: 3.875 kB / 423.4 MB, free: 2.805 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004078/0.6829, allocations: 150.3 kB / 423.6 MB, free: 2.789 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001659/0.6846, allocations: 0.7774 MB / 424.4 MB, free: 2.328 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004883/0.6851, allocations: 209.4 kB / 424.6 MB, free: 2.289 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004076/0.6855, allocations: 190.9 kB / 424.8 MB, free: 2.262 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.6856, allocations: 3.75 kB / 424.8 MB, free: 2.262 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006785/0.6862, allocations: 426.5 kB / 425.2 MB, free: 1.996 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 2.575e-06/0.6863, allocations: 0 / 425.2 MB, free: 1.996 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.001715/0.688, allocations: 0.856 MB / 426 MB, free: 1.602 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.6881, allocations: 286 kB / 426.3 MB, free: 1.277 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001529/0.6897, allocations: 0.8312 MB / 427.2 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000104/0.6898, allocations: 36.89 kB / 427.2 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.654e-05/0.6899, allocations: 124.5 kB / 427.3 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.69, allocations: 67.86 kB / 427.4 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.59e-05/0.6901, allocations: 11.44 kB / 427.4 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.619e-05/0.6902, allocations: 337.1 kB / 427.7 MB, free: 448 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003803/0.6906, allocations: 140.9 kB / 427.9 MB, free: 436 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003898/0.691, allocations: 169.9 kB / 428 MB, free: 396 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004249/0.6914, allocations: 356.9 kB / 428.4 MB, free: 116 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.6914, allocations: 0 / 428.4 MB, free: 116 kB / 314.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001649/0.6931, allocations: 0.8189 MB / 429.2 MB, free: 15.73 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001813/0.6933, allocations: 244 kB / 429.4 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.6933, allocations: 0 / 429.4 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.6933, allocations: 3.984 kB / 429.4 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.982e-05/0.6934, allocations: 7.906 kB / 429.4 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.6934, allocations: 3.844 kB / 429.4 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004683/0.6939, allocations: 34.77 kB / 429.5 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000313/0.6942, allocations: 260.3 kB / 429.7 MB, free: 15.43 MB / 330.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.0004245/0.6946, allocations: 399 kB / 430.1 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.6948, allocations: 73.91 kB / 430.2 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003873/0.6952, allocations: 126.7 kB / 430.3 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.6952, allocations: 3.312 kB / 430.3 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.6952, allocations: 4 kB / 430.3 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.6953, allocations: 0 / 430.3 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00281/0.6981, allocations: 1.478 MB / 431.8 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.6981, allocations: 0 / 431.8 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.557e-05/0.6982, allocations: 11.11 kB / 431.8 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/0.6982, allocations: 3.219 kB / 431.8 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/0.6983, allocations: 43.59 kB / 431.9 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.662e-06/0.6983, allocations: 3.984 kB / 431.9 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.6983, allocations: 0 / 431.9 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002019/0.7004, allocations: 1.03 MB / 432.9 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001156/0.7016, allocations: 429.7 kB / 433.3 MB, free: 13.34 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002173/0.7018, allocations: 24.12 kB / 433.3 MB, free: 13.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004765/0.7023, allocations: 29.77 kB / 433.4 MB, free: 13.33 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002904/0.7026, allocations: 77.77 kB / 433.4 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003275/0.703, allocations: 269.1 kB / 433.7 MB, free: 13.27 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001472/0.7045, allocations: 0.6893 MB / 434.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.635e-06/0.7045, allocations: 0 / 434.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007124/0.7052, allocations: 96.19 kB / 434.5 MB, free: 12.96 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: 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.002834/0.708, allocations: 1.606 MB / 436.1 MB, free: 11.41 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001621/0.7097, allocations: 0.9076 MB / 437 MB, free: 10.59 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.7098, allocations: 0 / 437 MB, free: 10.59 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001077/0.7109, allocations: 0.7613 MB / 437.8 MB, free: 9.863 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001688/0.7126, allocations: 225 kB / 438 MB, free: 9.645 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003731/0.7164, allocations: 1.206 MB / 439.2 MB, free: 8.402 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009256/0.7173, allocations: 0.9597 MB / 440.1 MB, free: 7.414 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004124/0.7178, allocations: 93.11 kB / 440.2 MB, free: 7.32 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002224/0.718, allocations: 95.33 kB / 440.3 MB, free: 7.227 MB / 330.7 MB Notification: Performance of SimCode: time 1.313e-06/0.718, allocations: 0 / 440.3 MB, free: 7.227 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05715/0.7752, allocations: 14.12 MB / 454.5 MB, free: 8.945 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003058/0.7756, allocations: 148 kB / 454.6 MB, free: 8.719 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.873/3.648, allocations: 0 / 454.6 MB, free: 8.719 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Digital.Examples.WiredX_res.mat does not exist to compare? outputFormat=mat