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 2.013/2.013, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.432e-05/2.431e-05, allocations: 4 kB / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3151, allocations: 44.5 MB / 294.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1562/0.4714, allocations: 77.81 MB / 372 MB, free: 4.023 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/0.4717, allocations: 67.97 kB / 372.1 MB, free: 3.957 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.155/0.6267, allocations: 42.82 MB / 414.9 MB, free: 9.199 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.6268, allocations: 0 / 414.9 MB, free: 9.199 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.128e-05/0.6268, allocations: 8 kB / 414.9 MB, free: 9.191 MB / 362.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.001232/0.6281, allocations: 0.9629 MB / 415.9 MB, free: 8.129 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.6281, allocations: 8.031 kB / 415.9 MB, free: 8.121 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001969/0.6283, allocations: 75.06 kB / 416 MB, free: 8.047 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007089/0.629, allocations: 356.2 kB / 416.3 MB, free: 7.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.317e-05/0.6291, allocations: 15.88 kB / 416.3 MB, free: 7.645 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.731e-05/0.6292, allocations: 16 kB / 416.4 MB, free: 7.629 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004316/0.6297, allocations: 140.4 kB / 416.5 MB, free: 7.488 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006648/0.6303, allocations: 271 kB / 416.8 MB, free: 7.219 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.6304, allocations: 0 / 416.8 MB, free: 7.219 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.853e-05/0.6305, allocations: 16 kB / 416.8 MB, free: 7.203 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.6305, allocations: 4 kB / 416.8 MB, free: 7.199 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001927/0.6324, allocations: 0.7316 MB / 417.5 MB, free: 6.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004716/0.6329, allocations: 202.5 kB / 417.7 MB, free: 6.223 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003954/0.6333, allocations: 176.8 kB / 417.9 MB, free: 6.047 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.058e-05/0.6334, allocations: 4 kB / 417.9 MB, free: 6.043 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007153/0.6341, allocations: 413.9 kB / 418.3 MB, free: 5.602 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 3.287e-06/0.6341, allocations: 0 / 418.3 MB, free: 5.602 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.002244/0.6364, allocations: 0.6178 MB / 418.9 MB, free: 4.977 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002292/0.6366, allocations: 281 kB / 419.2 MB, free: 4.641 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00171/0.6384, allocations: 0.8 MB / 420 MB, free: 3.832 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001081/0.6385, allocations: 33.7 kB / 420 MB, free: 3.793 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.6386, allocations: 122 kB / 420.1 MB, free: 3.668 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.6388, allocations: 63.27 kB / 420.2 MB, free: 3.605 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.216e-05/0.6389, allocations: 8 kB / 420.2 MB, free: 3.598 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.639, allocations: 338.8 kB / 420.5 MB, free: 3.258 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003731/0.6394, allocations: 140.2 kB / 420.7 MB, free: 3.121 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003741/0.6398, allocations: 150.2 kB / 420.8 MB, free: 2.969 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003294/0.6401, allocations: 113.5 kB / 420.9 MB, free: 2.859 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.6402, allocations: 0 / 420.9 MB, free: 2.859 MB / 362.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001538/0.6417, allocations: 0.5751 MB / 421.5 MB, free: 2.277 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001946/0.6419, allocations: 241.6 kB / 421.7 MB, free: 1.992 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.6419, allocations: 4 kB / 421.7 MB, free: 1.988 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/0.642, allocations: 0 / 421.7 MB, free: 1.988 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.682e-05/0.642, allocations: 15.97 kB / 421.8 MB, free: 1.973 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.642, allocations: 3.984 kB / 421.8 MB, free: 1.969 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004669/0.6425, allocations: 39.81 kB / 421.8 MB, free: 1.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000393/0.6429, allocations: 259.8 kB / 422.1 MB, free: 1.676 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.0005246/0.6435, allocations: 391.5 kB / 422.4 MB, free: 1.238 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001698/0.6452, allocations: 0.6529 MB / 423.1 MB, free: 0.5781 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/0.6454, allocations: 75.16 kB / 423.2 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004056/0.6458, allocations: 123.3 kB / 423.3 MB, free: 392 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.6458, allocations: 4 kB / 423.3 MB, free: 388 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.6458, allocations: 3.984 kB / 423.3 MB, free: 384 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/0.6458, allocations: 0 / 423.3 MB, free: 384 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2387/0.8845, allocations: 1.181 MB / 424.5 MB, free: 103.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.8846, allocations: 0.5938 kB / 424.5 MB, free: 103.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.259e-05/0.8846, allocations: 7.297 kB / 424.5 MB, free: 103.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.8847, allocations: 1.062 kB / 424.5 MB, free: 103.1 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001289/0.8848, allocations: 49.03 kB / 424.5 MB, free: 103.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.8848, allocations: 0.5938 kB / 424.5 MB, free: 103.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.8848, allocations: 1.234 kB / 424.5 MB, free: 103.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/0.8866, allocations: 0.7579 MB / 425.3 MB, free: 103 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009767/0.8876, allocations: 433 kB / 425.7 MB, free: 102.8 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002191/0.8878, allocations: 20.75 kB / 425.7 MB, free: 102.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004622/0.8883, allocations: 33.84 kB / 425.8 MB, free: 102.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002807/0.8886, allocations: 77.02 kB / 425.8 MB, free: 102.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003908/0.889, allocations: 267.4 kB / 426.1 MB, free: 102.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001246/0.8902, allocations: 0.6466 MB / 426.7 MB, free: 102.6 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.8902, allocations: 1.125 kB / 426.7 MB, free: 102.6 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006378/0.8909, allocations: 86.16 kB / 426.8 MB, free: 102.6 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.001986/0.8929, allocations: 1.344 MB / 428.2 MB, free: 101.9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001174/0.8941, allocations: 0.8725 MB / 429 MB, free: 101.4 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.8941, allocations: 3.094 kB / 429 MB, free: 101.4 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007145/0.8948, allocations: 0.7511 MB / 429.8 MB, free: 100.9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.8963, allocations: 233.7 kB / 430 MB, free: 100.9 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003103/0.8995, allocations: 1.178 MB / 431.2 MB, free: 100.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006989/0.9002, allocations: 0.9571 MB / 432.2 MB, free: 99.72 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003137/0.9005, allocations: 90.81 kB / 432.3 MB, free: 99.67 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/0.9007, allocations: 90.34 kB / 432.3 MB, free: 99.65 MB / 362.7 MB Notification: Performance of SimCode: time 9.92e-07/0.9007, allocations: 0 / 432.3 MB, free: 99.65 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05343/0.9542, allocations: 13.54 MB / 445.9 MB, free: 97.43 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002348/0.9545, allocations: 125.4 kB / 446 MB, free: 97.24 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.546/3.501, allocations: 0 / 446 MB, free: 97.24 MB / 362.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