Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.WiredX,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_WiredX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.101/2.101, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.002e-05/3.004e-05, allocations: 0 / 292.2 MB, free: 8.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1171, allocations: 50.41 MB / 342.6 MB, free: 5.812 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4445/0.5617, allocations: 83.86 MB / 426.5 MB, free: 9.969 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003092/0.5621, allocations: 70.2 kB / 426.6 MB, free: 9.934 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1854/0.7475, allocations: 43.71 MB / 470.3 MB, free: 3.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.288e-06/0.7476, allocations: 7.938 kB / 470.3 MB, free: 3.152 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.487e-05/0.7476, allocations: 12 kB / 470.3 MB, free: 3.141 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.001375/0.749, allocations: 0.9435 MB / 471.2 MB, free: 2.098 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/0.7491, allocations: 8.031 kB / 471.2 MB, free: 2.09 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001609/0.7493, allocations: 54.55 kB / 471.3 MB, free: 2.027 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002058/0.7495, allocations: 79.06 kB / 471.4 MB, free: 1.949 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007487/0.7503, allocations: 371.9 kB / 471.7 MB, free: 1.543 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.791e-05/0.7503, allocations: 16.19 kB / 471.8 MB, free: 1.527 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.7504, allocations: 20 kB / 471.8 MB, free: 1.508 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008839/0.7513, allocations: 291.8 kB / 472.1 MB, free: 1.215 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.7514, allocations: 4 kB / 472.1 MB, free: 1.211 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.922e-05/0.7515, allocations: 8 kB / 472.1 MB, free: 1.203 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.7515, allocations: 4 kB / 472.1 MB, free: 1.199 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004966/0.752, allocations: 148.4 kB / 472.2 MB, free: 1.055 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002138/0.7542, allocations: 0.7667 MB / 473 MB, free: 244 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006515/0.7549, allocations: 206.5 kB / 473.2 MB, free: 28 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005365/0.7554, allocations: 188.9 kB / 473.4 MB, free: 15.84 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.7555, allocations: 7.938 kB / 473.4 MB, free: 15.83 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000856/0.7563, allocations: 430.1 kB / 473.8 MB, free: 15.38 MB / 394.7 MB Notification: Performance of pre-optimization done (n=29): time 6.623e-06/0.7564, allocations: 0 / 473.8 MB, free: 15.38 MB / 394.7 MB Notification: Performance of matching and sorting (n=29): time 0.002142/0.7585, allocations: 0.8652 MB / 474.7 MB, free: 14.45 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001987/0.7588, allocations: 285 kB / 474.9 MB, free: 14.11 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002059/0.7608, allocations: 0.8274 MB / 475.8 MB, free: 13.28 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001816/0.7611, allocations: 37.7 kB / 475.8 MB, free: 13.23 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.7612, allocations: 130 kB / 475.9 MB, free: 13.11 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/0.7614, allocations: 67.17 kB / 476 MB, free: 13.04 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.066e-05/0.7615, allocations: 8 kB / 476 MB, free: 13.04 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.7617, allocations: 334.8 kB / 476.3 MB, free: 12.7 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004692/0.7622, allocations: 140.2 kB / 476.5 MB, free: 12.56 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000471/0.7626, allocations: 166.2 kB / 476.6 MB, free: 12.39 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006171/0.7633, allocations: 361.5 kB / 477 MB, free: 11.99 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.7633, allocations: 4 kB / 477 MB, free: 11.99 MB / 394.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001973/0.7653, allocations: 0.8151 MB / 477.8 MB, free: 11.12 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002343/0.7656, allocations: 245.6 kB / 478 MB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.7656, allocations: 7.953 kB / 478.1 MB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.7656, allocations: 0 / 478.1 MB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.434e-05/0.7657, allocations: 4 kB / 478.1 MB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.7657, allocations: 4 kB / 478.1 MB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005401/0.7663, allocations: 31.88 kB / 478.1 MB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004099/0.7667, allocations: 271.8 kB / 478.4 MB, free: 10.52 MB / 394.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.0004993/0.7672, allocations: 394.4 kB / 478.7 MB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002122/0.7674, allocations: 75.16 kB / 478.8 MB, free: 10 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004248/0.7679, allocations: 134.9 kB / 478.9 MB, free: 9.863 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.7679, allocations: 7.938 kB / 479 MB, free: 9.855 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.7679, allocations: 0 / 479 MB, free: 9.855 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.7679, allocations: 0 / 479 MB, free: 9.855 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00333/0.7713, allocations: 1.496 MB / 480.4 MB, free: 8.254 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.7713, allocations: 0 / 480.4 MB, free: 8.254 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.566e-05/0.7714, allocations: 4 kB / 480.5 MB, free: 8.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-05/0.7714, allocations: 7.953 kB / 480.5 MB, free: 8.242 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000124/0.7715, allocations: 47.95 kB / 480.5 MB, free: 8.195 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.7715, allocations: 0 / 480.5 MB, free: 8.195 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.7716, allocations: 0 / 480.5 MB, free: 8.195 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002265/0.7738, allocations: 1.008 MB / 481.5 MB, free: 7.121 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001296/0.7752, allocations: 435.8 kB / 481.9 MB, free: 6.676 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002077/0.7754, allocations: 23.95 kB / 482 MB, free: 6.652 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004903/0.7759, allocations: 27.98 kB / 482 MB, free: 6.625 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003105/0.7763, allocations: 75.84 kB / 482.1 MB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000432/0.7767, allocations: 271.5 kB / 482.3 MB, free: 6.285 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001641/0.7784, allocations: 0.69 MB / 483 MB, free: 5.602 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.202e-06/0.7784, allocations: 0 / 483 MB, free: 5.602 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007851/0.7792, allocations: 92 kB / 483.1 MB, free: 5.512 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: 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.002822/0.782, allocations: 1.61 MB / 484.7 MB, free: 3.828 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001663/0.7837, allocations: 0.8976 MB / 485.6 MB, free: 2.832 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.7838, allocations: 4 kB / 485.6 MB, free: 2.828 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001079/0.7849, allocations: 0.7687 MB / 486.4 MB, free: 1.961 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/0.7866, allocations: 231.1 kB / 486.6 MB, free: 1.738 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003849/0.7904, allocations: 1.198 MB / 487.8 MB, free: 0.5039 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009987/0.7915, allocations: 0.9636 MB / 488.8 MB, free: 15.51 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003849/0.7919, allocations: 93.06 kB / 488.9 MB, free: 15.42 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002175/0.7922, allocations: 79.36 kB / 488.9 MB, free: 15.34 MB / 410.7 MB Notification: Performance of SimCode: time 1.452e-06/0.7922, allocations: 0 / 488.9 MB, free: 15.34 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05336/0.8455, allocations: 14.13 MB / 0.4913 GB, free: 1.195 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003151/0.8459, allocations: 151.3 kB / 0.4914 GB, free: 0.9688 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.583/3.429, allocations: 0 / 0.4914 GB, free: 0.9688 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX_res.mat does not exist to compare? outputFormat=mat