Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.WiredX,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_WiredX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.11/2.11, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.271e-05/3.281e-05, allocations: 5.406 kB / 292.7 MB, free: 8.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.109, allocations: 50.41 MB / 343.2 MB, free: 5.801 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4504/0.5595, allocations: 83.84 MB / 427 MB, free: 9.945 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/0.5598, allocations: 63.16 kB / 427.1 MB, free: 9.914 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1586/0.7185, allocations: 43.72 MB / 470.8 MB, free: 3.117 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.7185, allocations: 0 / 470.8 MB, free: 3.117 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.8e-05/0.7186, allocations: 12 kB / 470.8 MB, free: 3.105 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.001334/0.7199, allocations: 0.9435 MB / 471.7 MB, free: 2.062 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/0.72, allocations: 8.031 kB / 471.7 MB, free: 2.055 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001554/0.7202, allocations: 54.55 kB / 471.8 MB, free: 1.992 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002016/0.7204, allocations: 75.06 kB / 471.9 MB, free: 1.918 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007326/0.7211, allocations: 375.9 kB / 472.2 MB, free: 1.508 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.012e-05/0.7212, allocations: 12.19 kB / 472.3 MB, free: 1.496 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.7213, allocations: 16 kB / 472.3 MB, free: 1.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008353/0.7221, allocations: 295.8 kB / 472.6 MB, free: 1.184 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.7222, allocations: 3.938 kB / 472.6 MB, free: 1.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.31e-05/0.7223, allocations: 15.98 kB / 472.6 MB, free: 1.164 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.7223, allocations: 4 kB / 472.6 MB, free: 1.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005158/0.7228, allocations: 144.4 kB / 472.7 MB, free: 1.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002102/0.7249, allocations: 0.7667 MB / 473.5 MB, free: 208 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006486/0.7256, allocations: 214.5 kB / 473.7 MB, free: 15.98 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004964/0.7262, allocations: 190.1 kB / 473.9 MB, free: 15.8 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.7262, allocations: 0 / 473.9 MB, free: 15.8 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008796/0.7271, allocations: 432.5 kB / 474.3 MB, free: 15.34 MB / 394.7 MB Notification: Performance of pre-optimization done (n=29): time 6.011e-06/0.7271, allocations: 0 / 474.3 MB, free: 15.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=29): time 0.002223/0.7294, allocations: 0.8657 MB / 475.2 MB, free: 14.42 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002166/0.7296, allocations: 281 kB / 475.4 MB, free: 14.08 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002076/0.7317, allocations: 0.8274 MB / 476.3 MB, free: 13.25 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002076/0.732, allocations: 41.7 kB / 476.3 MB, free: 13.2 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/0.7322, allocations: 130 kB / 476.4 MB, free: 13.07 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001774/0.7324, allocations: 67.25 kB / 476.5 MB, free: 13 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.986e-05/0.7325, allocations: 8 kB / 476.5 MB, free: 13 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.7326, allocations: 334.8 kB / 476.8 MB, free: 12.66 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004775/0.7331, allocations: 140.2 kB / 477 MB, free: 12.52 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005035/0.7336, allocations: 166.2 kB / 477.1 MB, free: 12.36 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005842/0.7342, allocations: 365.5 kB / 477.5 MB, free: 11.95 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.7343, allocations: 0 / 477.5 MB, free: 11.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001966/0.7363, allocations: 0.8151 MB / 478.3 MB, free: 11.08 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002068/0.7365, allocations: 241.6 kB / 478.5 MB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.7365, allocations: 3.953 kB / 478.6 MB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.703e-05/0.7366, allocations: 7.984 kB / 478.6 MB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.716e-05/0.7366, allocations: 8 kB / 478.6 MB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.7367, allocations: 0 / 478.6 MB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005446/0.7372, allocations: 35.92 kB / 478.6 MB, free: 10.74 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004165/0.7376, allocations: 267.8 kB / 478.9 MB, free: 10.48 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.0005055/0.7382, allocations: 390.4 kB / 479.2 MB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002172/0.7384, allocations: 79.14 kB / 479.3 MB, free: 9.961 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004489/0.7389, allocations: 131 kB / 479.4 MB, free: 9.828 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.7389, allocations: 3.953 kB / 479.5 MB, free: 9.824 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.7389, allocations: 0 / 479.5 MB, free: 9.824 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.7389, allocations: 0 / 479.5 MB, free: 9.824 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00332/0.7422, allocations: 1.491 MB / 480.9 MB, free: 8.227 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.7423, allocations: 3.984 kB / 480.9 MB, free: 8.223 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.203e-05/0.7424, allocations: 4 kB / 481 MB, free: 8.219 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.018e-05/0.7424, allocations: 3.953 kB / 481 MB, free: 8.215 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001248/0.7425, allocations: 51.95 kB / 481 MB, free: 8.164 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.7425, allocations: 0 / 481 MB, free: 8.164 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.7426, allocations: 3.938 kB / 481 MB, free: 8.16 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002249/0.7448, allocations: 1.016 MB / 482 MB, free: 7.078 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001297/0.7462, allocations: 423.8 kB / 482.4 MB, free: 6.645 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000223/0.7464, allocations: 27.95 kB / 482.5 MB, free: 6.617 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005157/0.747, allocations: 35.91 kB / 482.5 MB, free: 6.582 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000303/0.7473, allocations: 67.92 kB / 482.6 MB, free: 6.516 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004131/0.7477, allocations: 275.5 kB / 482.8 MB, free: 6.246 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001693/0.7494, allocations: 0.6783 MB / 483.5 MB, free: 5.574 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.71e-07/0.7495, allocations: 0 / 483.5 MB, free: 5.574 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008288/0.7503, allocations: 92 kB / 483.6 MB, free: 5.484 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.002904/0.7532, allocations: 1.617 MB / 485.2 MB, free: 3.789 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001813/0.7551, allocations: 0.8941 MB / 486.1 MB, free: 2.797 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.408e-06/0.7552, allocations: 4.062 kB / 486.1 MB, free: 2.793 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001174/0.7564, allocations: 0.7647 MB / 486.9 MB, free: 1.93 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001729/0.7582, allocations: 225.9 kB / 487.1 MB, free: 1.711 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003817/0.762, allocations: 1.202 MB / 488.3 MB, free: 484 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009318/0.763, allocations: 0.9597 MB / 489.3 MB, free: 15.49 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000372/0.7634, allocations: 89.14 kB / 489.4 MB, free: 15.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/0.7637, allocations: 87.33 kB / 489.4 MB, free: 15.32 MB / 410.7 MB Notification: Performance of SimCode: time 1.302e-06/0.7637, allocations: 0 / 489.4 MB, free: 15.32 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04698/0.8107, allocations: 14.14 MB / 0.4918 GB, free: 1.168 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003611/0.8111, allocations: 147.9 kB / 0.4919 GB, free: 0.9414 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.711/3.522, allocations: 0 / 0.4919 GB, free: 0.9414 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX_res.mat does not exist to compare? outputFormat=mat