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 1.635/1.635, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.102e-05/3.11e-05, allocations: 0 / 225.1 MB, free: 2.246 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2502, allocations: 38.76 MB / 263.9 MB, free: 9.727 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1271/0.3774, allocations: 73.16 MB / 337 MB, free: 472 kB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/0.3777, allocations: 71.97 kB / 337.1 MB, free: 400 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.364/0.7417, allocations: 43.62 MB / 380.7 MB, free: 89.14 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.7418, allocations: 0 / 380.7 MB, free: 89.14 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.894e-05/0.7418, allocations: 7.875 kB / 380.7 MB, free: 89.14 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.0009501/0.7428, allocations: 0.9465 MB / 381.7 MB, free: 88.4 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.7428, allocations: 14.12 kB / 381.7 MB, free: 88.39 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001242/0.7429, allocations: 46.44 kB / 381.7 MB, free: 88.35 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/0.7431, allocations: 83.39 kB / 381.8 MB, free: 88.31 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005735/0.7437, allocations: 363.2 kB / 382.2 MB, free: 88.03 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.883e-05/0.7438, allocations: 14.62 kB / 382.2 MB, free: 88.02 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.785e-05/0.7439, allocations: 21.34 kB / 382.2 MB, free: 88.02 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006934/0.7446, allocations: 294 kB / 382.5 MB, free: 87.94 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.7446, allocations: 0 / 382.5 MB, free: 87.94 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.759e-05/0.7447, allocations: 18.22 kB / 382.5 MB, free: 87.93 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.7447, allocations: 0 / 382.5 MB, free: 87.93 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004123/0.7451, allocations: 154.5 kB / 382.7 MB, free: 87.89 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001667/0.7468, allocations: 0.7685 MB / 383.4 MB, free: 87.44 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004983/0.7473, allocations: 212.2 kB / 383.6 MB, free: 87.34 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000407/0.7477, allocations: 182 kB / 383.8 MB, free: 87.28 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.7478, allocations: 2.969 kB / 383.8 MB, free: 87.28 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006697/0.7485, allocations: 430.8 kB / 384.2 MB, free: 87.05 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 3.497e-06/0.7485, allocations: 0 / 384.2 MB, free: 87.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.00174/0.7502, allocations: 0.8701 MB / 385.1 MB, free: 86.6 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/0.7504, allocations: 288.1 kB / 385.4 MB, free: 86.27 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001642/0.752, allocations: 0.8234 MB / 386.2 MB, free: 85.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001118/0.7522, allocations: 37.7 kB / 386.2 MB, free: 85.47 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.73e-05/0.7523, allocations: 129.5 kB / 386.4 MB, free: 85.35 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.7524, allocations: 58.06 kB / 386.4 MB, free: 85.3 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.749e-05/0.7525, allocations: 12 kB / 386.4 MB, free: 85.29 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.888e-05/0.7526, allocations: 330.3 kB / 386.8 MB, free: 84.97 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003769/0.7529, allocations: 139.5 kB / 386.9 MB, free: 84.84 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003931/0.7534, allocations: 173 kB / 387.1 MB, free: 84.69 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004457/0.7538, allocations: 368 kB / 387.4 MB, free: 84.3 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.7538, allocations: 3.938 kB / 387.4 MB, free: 84.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001602/0.7554, allocations: 0.8187 MB / 388.3 MB, free: 83.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001312/0.7556, allocations: 240.7 kB / 388.5 MB, free: 83.22 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.7556, allocations: 0 / 388.5 MB, free: 83.22 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.7556, allocations: 0 / 388.5 MB, free: 83.22 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.261e-05/0.7557, allocations: 7.844 kB / 388.5 MB, free: 83.22 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.7557, allocations: 8.031 kB / 388.5 MB, free: 83.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000461/0.7562, allocations: 36.02 kB / 388.5 MB, free: 83.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003129/0.7565, allocations: 260.8 kB / 388.8 MB, free: 82.94 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.0003384/0.7569, allocations: 392.4 kB / 389.2 MB, free: 82.51 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.757, allocations: 75.16 kB / 389.2 MB, free: 82.44 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003643/0.7574, allocations: 128.7 kB / 389.4 MB, free: 82.32 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.7574, allocations: 0 / 389.4 MB, free: 82.32 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.7574, allocations: 4 kB / 389.4 MB, free: 82.32 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.7574, allocations: 7.422 kB / 389.4 MB, free: 82.31 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00241/0.7599, allocations: 1.474 MB / 390.9 MB, free: 80.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.7599, allocations: 4 kB / 390.9 MB, free: 80.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.493e-05/0.7599, allocations: 7.984 kB / 390.9 MB, free: 80.76 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.7599, allocations: 0 / 390.9 MB, free: 80.76 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.6e-05/0.7601, allocations: 43.97 kB / 390.9 MB, free: 80.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.7601, allocations: 0 / 390.9 MB, free: 80.71 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.7601, allocations: 3.75 kB / 390.9 MB, free: 80.71 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001757/0.7618, allocations: 1.039 MB / 392 MB, free: 79.61 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009356/0.7628, allocations: 427.9 kB / 392.4 MB, free: 79.18 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002037/0.763, allocations: 20 kB / 392.4 MB, free: 79.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004539/0.7635, allocations: 27.97 kB / 392.4 MB, free: 79.13 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002568/0.7638, allocations: 71.92 kB / 392.5 MB, free: 79.06 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000302/0.7641, allocations: 271.7 kB / 392.8 MB, free: 78.79 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001221/0.7653, allocations: 0.69 MB / 393.4 MB, free: 78.11 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.7653, allocations: 0 / 393.4 MB, free: 78.11 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005991/0.7659, allocations: 92 kB / 393.5 MB, free: 78.02 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.00207/0.768, allocations: 1.613 MB / 395.2 MB, free: 76.33 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001222/0.7693, allocations: 0.9083 MB / 396.1 MB, free: 75.33 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.7693, allocations: 0 / 396.1 MB, free: 75.33 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000736/0.77, allocations: 0.757 MB / 396.8 MB, free: 74.48 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001482/0.7715, allocations: 223.5 kB / 397 MB, free: 74.26 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003088/0.7746, allocations: 1.209 MB / 398.2 MB, free: 73.02 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006844/0.7753, allocations: 0.9598 MB / 399.2 MB, free: 72.04 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003194/0.7757, allocations: 94.53 kB / 399.3 MB, free: 71.94 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001826/0.7759, allocations: 91.33 kB / 399.4 MB, free: 71.85 MB / 314.7 MB Notification: Performance of SimCode: time 1.473e-06/0.7759, allocations: 0 / 399.4 MB, free: 71.85 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03937/0.8153, allocations: 14.13 MB / 413.5 MB, free: 57.66 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002381/0.8156, allocations: 151.7 kB / 413.7 MB, free: 57.43 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.779/3.595, allocations: 0 / 413.7 MB, free: 57.43 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