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 2.007/2.007, allocations: 171.3 MB / 178.4 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.904e-05/2.93e-05, allocations: 4 kB / 219.6 MB, free: 6.945 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2646, allocations: 38.77 MB / 258.3 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1295/0.3942, allocations: 72.48 MB / 330.8 MB, free: 5.301 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/0.3945, allocations: 67.97 kB / 330.9 MB, free: 5.234 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3716/0.7661, allocations: 43.29 MB / 374.2 MB, free: 90.05 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.7662, allocations: 0 / 374.2 MB, free: 90.05 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.199e-05/0.7662, allocations: 7.531 kB / 374.2 MB, free: 90.05 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.0009886/0.7672, allocations: 0.9452 MB / 375.1 MB, free: 89.35 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.7673, allocations: 11.88 kB / 375.1 MB, free: 89.35 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001652/0.7675, allocations: 78.69 kB / 375.2 MB, free: 89.31 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005823/0.7681, allocations: 374.7 kB / 375.6 MB, free: 89.04 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.593e-05/0.7681, allocations: 11.22 kB / 375.6 MB, free: 89.04 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.774e-05/0.7682, allocations: 15.84 kB / 375.6 MB, free: 89.04 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00037/0.7686, allocations: 141.7 kB / 375.7 MB, free: 89.04 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006075/0.7692, allocations: 273.3 kB / 376 MB, free: 89.01 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.7693, allocations: 3.75 kB / 376 MB, free: 89.01 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.68e-05/0.7693, allocations: 9.781 kB / 376 MB, free: 89.01 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.7694, allocations: 0 / 376 MB, free: 89.01 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001644/0.771, allocations: 0.7323 MB / 376.8 MB, free: 88.71 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004156/0.7715, allocations: 199.9 kB / 377 MB, free: 88.69 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003396/0.7718, allocations: 178.8 kB / 377.1 MB, free: 88.68 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.922e-05/0.7719, allocations: 3.406 kB / 377.1 MB, free: 88.68 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006087/0.7725, allocations: 419.9 kB / 377.5 MB, free: 88.5 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 3.487e-06/0.7725, allocations: 0 / 377.5 MB, free: 88.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.001529/0.774, allocations: 0.6181 MB / 378.2 MB, free: 88.43 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.7742, allocations: 288.1 kB / 378.4 MB, free: 88.11 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00145/0.7756, allocations: 0.7955 MB / 379.2 MB, free: 87.83 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001084/0.7757, allocations: 36.3 kB / 379.3 MB, free: 87.8 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.924e-05/0.7758, allocations: 129.4 kB / 379.4 MB, free: 87.71 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.776, allocations: 58.45 kB / 379.5 MB, free: 87.69 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.465e-05/0.7761, allocations: 6.625 kB / 379.5 MB, free: 87.69 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.314e-05/0.7761, allocations: 335.6 kB / 379.8 MB, free: 87.38 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003133/0.7765, allocations: 132.1 kB / 379.9 MB, free: 87.38 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003666/0.7768, allocations: 156.6 kB / 380.1 MB, free: 87.36 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002857/0.7772, allocations: 115.9 kB / 380.2 MB, free: 87.35 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.7772, allocations: 0 / 380.2 MB, free: 87.35 MB / 314.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001363/0.7785, allocations: 0.5754 MB / 380.8 MB, free: 87.3 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000138/0.7787, allocations: 249.1 kB / 381 MB, free: 87.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.7787, allocations: 0 / 381 MB, free: 87.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.7787, allocations: 0 / 381 MB, free: 87.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.17e-05/0.7788, allocations: 3.688 kB / 381 MB, free: 87.05 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.7788, allocations: 11.67 kB / 381 MB, free: 87.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004685/0.7793, allocations: 29.38 kB / 381.1 MB, free: 87.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003235/0.7796, allocations: 266.1 kB / 381.3 MB, free: 87.02 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.0003489/0.78, allocations: 387.5 kB / 381.7 MB, free: 86.65 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001551/0.7816, allocations: 0.6561 MB / 382.3 MB, free: 86.57 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/0.7817, allocations: 78.19 kB / 382.4 MB, free: 86.54 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004109/0.7822, allocations: 130.3 kB / 382.5 MB, free: 86.47 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.7822, allocations: 3.953 kB / 382.6 MB, free: 86.47 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.7822, allocations: 4 kB / 382.6 MB, free: 86.46 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.7822, allocations: 7.406 kB / 382.6 MB, free: 86.46 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002198/0.7844, allocations: 1.186 MB / 383.7 MB, free: 85.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.7844, allocations: 0 / 383.7 MB, free: 85.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.787e-05/0.7845, allocations: 3.688 kB / 383.8 MB, free: 85.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.443e-06/0.7845, allocations: 3.375 kB / 383.8 MB, free: 85.96 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.713e-05/0.7846, allocations: 43.08 kB / 383.8 MB, free: 85.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.7846, allocations: 3.75 kB / 383.8 MB, free: 85.96 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.7846, allocations: 4 kB / 383.8 MB, free: 85.95 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/0.7862, allocations: 0.7634 MB / 384.6 MB, free: 85.66 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009575/0.7872, allocations: 424.6 kB / 385 MB, free: 85.4 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002081/0.7874, allocations: 21.8 kB / 385 MB, free: 85.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000455/0.7879, allocations: 30.17 kB / 385 MB, free: 85.39 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002581/0.7881, allocations: 73.56 kB / 385.1 MB, free: 85.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003177/0.7885, allocations: 277.9 kB / 385.4 MB, free: 85.34 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001199/0.7897, allocations: 0.6499 MB / 386 MB, free: 85 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.7897, allocations: 0 / 386 MB, free: 85 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006303/0.7903, allocations: 89.88 kB / 386.1 MB, free: 85 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.001895/0.7922, allocations: 1.332 MB / 387.4 MB, free: 84.18 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00113/0.7934, allocations: 0.8844 MB / 388.3 MB, free: 83.49 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.7934, allocations: 0 / 388.3 MB, free: 83.49 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006833/0.7941, allocations: 0.7411 MB / 389.1 MB, free: 82.83 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/0.7956, allocations: 238.4 kB / 389.3 MB, free: 82.77 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003014/0.7987, allocations: 1.186 MB / 390.5 MB, free: 82.04 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006595/0.7994, allocations: 0.9564 MB / 391.4 MB, free: 81.14 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003147/0.7997, allocations: 92.59 kB / 391.5 MB, free: 81.05 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001792/0.7999, allocations: 85.78 kB / 391.6 MB, free: 80.98 MB / 314.7 MB Notification: Performance of SimCode: time 1.082e-06/0.7999, allocations: 0 / 391.6 MB, free: 80.98 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06027/0.8602, allocations: 13.55 MB / 405.2 MB, free: 68.31 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000222/0.8605, allocations: 129.1 kB / 405.3 MB, free: 68.12 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.535/3.395, allocations: 0 / 405.3 MB, free: 68.12 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