Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.WiredX,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_WiredX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.994/1.994, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.331e-05/3.336e-05, allocations: 4 kB / 269.4 MB, free: 6.309 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.101, allocations: 47.58 MB / 317 MB, free: 6.641 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4373/0.5384, allocations: 82.71 MB / 399.7 MB, free: 5.32 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/0.5387, allocations: 63.72 kB / 399.8 MB, free: 5.289 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1757/0.7144, allocations: 43.17 MB / 443 MB, free: 1.625 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.7145, allocations: 4 kB / 443 MB, free: 1.621 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.314e-05/0.7145, allocations: 8 kB / 443 MB, free: 1.613 MB / 346.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.001222/0.7158, allocations: 0.959 MB / 443.9 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.7158, allocations: 12.03 kB / 443.9 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001095/0.7159, allocations: 53.86 kB / 444 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001782/0.7161, allocations: 75.16 kB / 444.1 MB, free: 468 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006846/0.7168, allocations: 370.3 kB / 444.4 MB, free: 72 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.12e-05/0.7169, allocations: 8.188 kB / 444.4 MB, free: 64 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.717, allocations: 19.5 kB / 444.5 MB, free: 48 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007991/0.7178, allocations: 298 kB / 444.8 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.7178, allocations: 0 / 444.8 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.903e-05/0.7179, allocations: 11.52 kB / 444.8 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.718, allocations: 4 kB / 444.8 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004549/0.7184, allocations: 145.8 kB / 444.9 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001974/0.7204, allocations: 0.7741 MB / 445.7 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005564/0.721, allocations: 210.5 kB / 445.9 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004737/0.7215, allocations: 188.8 kB / 446.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.7215, allocations: 0 / 446.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008007/0.7223, allocations: 421.9 kB / 446.5 MB, free: 14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 2.835e-06/0.7224, allocations: 0 / 446.5 MB, free: 14 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.002038/0.7244, allocations: 0.8614 MB / 447.3 MB, free: 13.08 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001764/0.7246, allocations: 285 kB / 447.6 MB, free: 12.74 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001805/0.7264, allocations: 0.8313 MB / 448.5 MB, free: 11.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001085/0.7265, allocations: 37.7 kB / 448.5 MB, free: 11.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.7267, allocations: 122 kB / 448.6 MB, free: 11.74 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/0.7268, allocations: 63.27 kB / 448.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.084e-05/0.7269, allocations: 8 kB / 448.7 MB, free: 11.67 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.7271, allocations: 338.8 kB / 449 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004528/0.7275, allocations: 148.2 kB / 449.2 MB, free: 11.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004554/0.728, allocations: 170.2 kB / 449.3 MB, free: 11.01 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005501/0.7286, allocations: 365.3 kB / 449.7 MB, free: 10.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.7286, allocations: 3.938 kB / 449.7 MB, free: 10.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001869/0.7305, allocations: 0.8074 MB / 450.5 MB, free: 9.738 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002255/0.7307, allocations: 241.6 kB / 450.7 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.7307, allocations: 4 kB / 450.7 MB, free: 9.449 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.7308, allocations: 0 / 450.7 MB, free: 9.449 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.441e-05/0.7308, allocations: 11.98 kB / 450.7 MB, free: 9.438 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.7308, allocations: 7.938 kB / 450.8 MB, free: 9.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004944/0.7314, allocations: 31.92 kB / 450.8 MB, free: 9.398 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003961/0.7318, allocations: 267.8 kB / 451 MB, free: 9.137 MB / 362.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.0004414/0.7322, allocations: 390.5 kB / 451.4 MB, free: 8.699 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001684/0.7324, allocations: 75.16 kB / 451.5 MB, free: 8.625 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004089/0.7328, allocations: 131 kB / 451.6 MB, free: 8.492 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.7328, allocations: 0 / 451.6 MB, free: 8.492 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.7329, allocations: 0 / 451.6 MB, free: 8.492 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.7329, allocations: 4 kB / 451.6 MB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003075/0.736, allocations: 1.491 MB / 453.1 MB, free: 6.891 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.736, allocations: 3.938 kB / 453.1 MB, free: 6.887 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.689e-05/0.7361, allocations: 12 kB / 453.1 MB, free: 6.875 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.061e-05/0.7361, allocations: 4 kB / 453.1 MB, free: 6.871 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001215/0.7362, allocations: 43.95 kB / 453.2 MB, free: 6.828 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.7362, allocations: 0 / 453.2 MB, free: 6.828 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.7362, allocations: 0 / 453.2 MB, free: 6.828 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002224/0.7385, allocations: 1.027 MB / 454.2 MB, free: 5.734 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001134/0.7396, allocations: 427.8 kB / 454.6 MB, free: 5.297 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001894/0.7398, allocations: 24 kB / 454.7 MB, free: 5.273 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004764/0.7403, allocations: 31.89 kB / 454.7 MB, free: 5.242 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003096/0.7407, allocations: 75.89 kB / 454.8 MB, free: 5.168 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004161/0.7411, allocations: 263.6 kB / 455 MB, free: 4.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001528/0.7426, allocations: 0.69 MB / 455.7 MB, free: 4.227 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.7426, allocations: 0 / 455.7 MB, free: 4.227 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006531/0.7433, allocations: 92 kB / 455.8 MB, free: 4.137 MB / 362.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.002622/0.7459, allocations: 1.606 MB / 457.4 MB, free: 2.453 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001576/0.7475, allocations: 0.8975 MB / 458.3 MB, free: 1.457 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.7476, allocations: 4 kB / 458.3 MB, free: 1.453 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.7486, allocations: 0.757 MB / 459.1 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001594/0.7502, allocations: 230.1 kB / 459.3 MB, free: 384 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003486/0.7537, allocations: 1.206 MB / 460.5 MB, free: 15.13 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009057/0.7546, allocations: 0.9635 MB / 461.5 MB, free: 14.14 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003395/0.755, allocations: 85.14 kB / 461.5 MB, free: 14.06 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002098/0.7552, allocations: 87.34 kB / 461.6 MB, free: 13.97 MB / 378.7 MB Notification: Performance of SimCode: time 1.463e-06/0.7552, allocations: 0 / 461.6 MB, free: 13.97 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05085/0.8061, allocations: 14.14 MB / 475.8 MB, free: 15.68 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002665/0.8064, allocations: 156 kB / 475.9 MB, free: 15.45 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.668/3.474, allocations: 0 / 475.9 MB, free: 15.45 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX_res.mat does not exist to compare? outputFormat=mat