Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.WiredX,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Digital_Examples_WiredX",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.501/2.501, allocations: 195 MB / 202.9 MB, free: 6.637 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.824e-05/2.829e-05, allocations: 3.125 kB / 249.7 MB, free: 5.316 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1063, allocations: 44.52 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5155/0.6218, allocations: 77.8 MB / 372.1 MB, free: 7.262 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003488/0.6223, allocations: 68.19 kB / 372.1 MB, free: 7.262 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1875/0.8097, allocations: 42.83 MB / 415 MB, free: 6.887 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.8098, allocations: 0 / 415 MB, free: 6.887 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.165e-05/0.8098, allocations: 8 kB / 415 MB, free: 6.879 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.001467/0.8113, allocations: 0.9531 MB / 415.9 MB, free: 5.871 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/0.8114, allocations: 8.031 kB / 415.9 MB, free: 5.863 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001462/0.8116, allocations: 49.42 kB / 416 MB, free: 5.809 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002312/0.8118, allocations: 79.06 kB / 416.1 MB, free: 5.73 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008425/0.8127, allocations: 355.5 kB / 416.4 MB, free: 5.375 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.288e-05/0.8127, allocations: 13.69 kB / 416.4 MB, free: 5.363 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001557/0.8129, allocations: 29.39 kB / 416.4 MB, free: 5.336 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005626/0.8135, allocations: 135.6 kB / 416.6 MB, free: 5.234 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009086/0.8144, allocations: 271.7 kB / 416.8 MB, free: 5.004 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.8144, allocations: 3.938 kB / 416.8 MB, free: 5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/0.8146, allocations: 8.75 kB / 416.9 MB, free: 4.992 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.8146, allocations: 3.984 kB / 416.9 MB, free: 4.988 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002339/0.8169, allocations: 0.7466 MB / 417.6 MB, free: 4.211 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000595/0.8176, allocations: 194.5 kB / 417.8 MB, free: 4.012 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005199/0.8181, allocations: 176.8 kB / 418 MB, free: 3.836 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.8181, allocations: 0 / 418 MB, free: 3.836 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009345/0.8191, allocations: 425.8 kB / 418.4 MB, free: 3.383 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 3.196e-06/0.8191, allocations: 0 / 418.4 MB, free: 3.383 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.002247/0.8214, allocations: 0.6104 MB / 419 MB, free: 2.766 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002047/0.8216, allocations: 285 kB / 419.3 MB, free: 2.426 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002122/0.8237, allocations: 0.7883 MB / 420.1 MB, free: 1.629 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001358/0.8239, allocations: 37.7 kB / 420.1 MB, free: 1.586 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.8241, allocations: 126 kB / 420.2 MB, free: 1.457 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001773/0.8243, allocations: 70.94 kB / 420.3 MB, free: 1.391 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.115e-05/0.8244, allocations: 4 kB / 420.3 MB, free: 1.387 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002132/0.8246, allocations: 338.8 kB / 420.6 MB, free: 1.047 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004731/0.8251, allocations: 132.2 kB / 420.8 MB, free: 0.918 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005018/0.8256, allocations: 158.2 kB / 420.9 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004223/0.826, allocations: 115.9 kB / 421 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.8261, allocations: 0 / 421 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.002095/0.8282, allocations: 0.5713 MB / 421.6 MB, free: 68 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003012/0.8285, allocations: 241.6 kB / 421.8 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.8285, allocations: 0 / 421.8 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.8285, allocations: 0 / 421.8 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.789e-05/0.8286, allocations: 15.92 kB / 421.8 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.8286, allocations: 3.938 kB / 421.9 MB, free: 15.76 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005966/0.8293, allocations: 27.89 kB / 421.9 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005489/0.8298, allocations: 263.8 kB / 422.1 MB, free: 15.48 MB / 330.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.0005758/0.8304, allocations: 395.5 kB / 422.5 MB, free: 15.03 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002336/0.8307, allocations: 75.16 kB / 422.6 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005044/0.8312, allocations: 135.3 kB / 422.7 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.8312, allocations: 0 / 422.7 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/0.8312, allocations: 4 kB / 422.7 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.709e-06/0.8312, allocations: 3.984 kB / 422.7 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003445/0.8347, allocations: 1.174 MB / 423.9 MB, free: 13.6 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.8347, allocations: 4 kB / 423.9 MB, free: 13.6 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.689e-05/0.8348, allocations: 7.984 kB / 423.9 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.989e-06/0.8348, allocations: 4 kB / 423.9 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001582/0.835, allocations: 43.97 kB / 424 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.835, allocations: 3.938 kB / 424 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.835, allocations: 0 / 424 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002398/0.8374, allocations: 0.7597 MB / 424.7 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001342/0.8388, allocations: 427.7 kB / 425.1 MB, free: 12.33 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002562/0.8391, allocations: 31.92 kB / 425.2 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006054/0.8397, allocations: 27.98 kB / 425.2 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003644/0.8401, allocations: 75.91 kB / 425.3 MB, free: 12.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005584/0.8407, allocations: 263.6 kB / 425.5 MB, free: 11.94 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001731/0.8424, allocations: 0.6431 MB / 426.2 MB, free: 11.3 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.8424, allocations: 0 / 426.2 MB, free: 11.3 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008139/0.8432, allocations: 88 kB / 426.3 MB, free: 11.21 MB / 330.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.002996/0.8463, allocations: 1.354 MB / 427.6 MB, free: 9.828 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001789/0.8481, allocations: 0.8741 MB / 428.5 MB, free: 8.855 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.8481, allocations: 0 / 428.5 MB, free: 8.855 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001217/0.8493, allocations: 0.7489 MB / 429.2 MB, free: 8.012 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002084/0.8515, allocations: 227.7 kB / 429.5 MB, free: 7.789 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004459/0.8559, allocations: 1.189 MB / 430.7 MB, free: 6.555 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001221/0.8572, allocations: 0.9598 MB / 431.6 MB, free: 5.57 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004571/0.8577, allocations: 100.9 kB / 431.7 MB, free: 5.473 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000278/0.858, allocations: 87.36 kB / 431.8 MB, free: 5.387 MB / 330.7 MB Notification: Performance of SimCode: time 1.533e-06/0.858, allocations: 0 / 431.8 MB, free: 5.387 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09356/0.9516, allocations: 13.92 MB / 445.7 MB, free: 7.312 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003763/0.952, allocations: 141.7 kB / 445.9 MB, free: 7.113 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.469/4.421, allocations: 0 / 445.9 MB, free: 7.113 MB / 346.7 MB "" Variables in the reference:time,wiredX.y Variables in the result:_D_whenCondition1,_D_whenCondition2,_D_whenCondition3,_D_whenCondition4,bUF3S1.enable,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.tHL,bUF3S1.inertialDelaySensitive.tLH,bUF3S1.inertialDelaySensitive.t_next,bUF3S1.inertialDelaySensitive.x,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.y0,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.y_old,bUF3S1.nextstate,bUF3S1.strength,bUF3S1.tHL,bUF3S1.tLH,bUF3S1.x,bUF3S1.y,bUF3S1.yy,bUF3S2.enable,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.tHL,bUF3S2.inertialDelaySensitive.tLH,bUF3S2.inertialDelaySensitive.t_next,bUF3S2.inertialDelaySensitive.x,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.y0,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.y_old,bUF3S2.nextstate,bUF3S2.strength,bUF3S2.tHL,bUF3S2.tLH,bUF3S2.x,bUF3S2.y,bUF3S2.yy,e_table1.n,e_table1.t[1],e_table1.t[2],e_table1.t[3],e_table1.x[1],e_table1.x[2],e_table1.x[3],e_table1.y,e_table1.y0,e_table2.n,e_table2.t[1],e_table2.t[2],e_table2.t[3],e_table2.x[1],e_table2.x[2],e_table2.x[3],e_table2.y,e_table2.y0,time,wiredX.auxiliary[1],wiredX.auxiliary[2],wiredX.n,wiredX.x[1],wiredX.x[2],wiredX.y,x_table1.n,x_table1.t[1],x_table1.t[2],x_table1.t[3],x_table1.x[1],x_table1.x[2],x_table1.x[3],x_table1.y,x_table1.y0,x_table2.n,x_table2.t[1],x_table2.t[2],x_table2.x[1],x_table2.x[2],x_table2.y,x_table2.y0