Running command: translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.WiredX") Notification: Performance of loadModel(Modelica): time 2.059/2.059, allocations: 224.7 MB / 241.1 MB, free: 1.68 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.563e-05/2.556e-05, allocations: 0 / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1109, allocations: 50.41 MB / 345 MB, free: 8.957 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.002438/0.1134, allocations: 1.451 MB / 346.4 MB, free: 7.496 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002877/0.1164, allocations: 0.8817 MB / 347.3 MB, free: 6.609 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.1165, allocations: 4 kB / 347.3 MB, free: 6.605 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001404/0.1167, allocations: 15.86 kB / 347.3 MB, free: 6.59 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001377/0.1168, allocations: 35.86 kB / 347.4 MB, free: 6.555 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003571/0.1172, allocations: 59.88 kB / 347.4 MB, free: 6.496 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002478/0.1175, allocations: 127.7 kB / 347.5 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.1176, allocations: 24.17 kB / 347.6 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008868/0.1185, allocations: 0.5109 MB / 348.1 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002578/0.1188, allocations: 143.7 kB / 348.2 MB, free: 5.695 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.869e-05/0.1189, allocations: 8 kB / 348.2 MB, free: 5.688 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.688e-05/0.119, allocations: 8 kB / 348.2 MB, free: 5.68 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001923/0.1192, allocations: 135.5 kB / 348.4 MB, free: 5.547 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001608/0.1194, allocations: 32 kB / 348.4 MB, free: 5.516 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007473/0.1201, allocations: 0.5926 MB / 349 MB, free: 4.922 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.433e-06/0.1201, allocations: 0 / 349 MB, free: 4.922 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.896e-06/0.1202, allocations: 3.938 kB / 349 MB, free: 4.918 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.359e-05/0.1202, allocations: 0 / 349 MB, free: 4.918 MB / 282.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.001196/0.1214, allocations: 0.925 MB / 349.9 MB, free: 3.895 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.1214, allocations: 8.031 kB / 349.9 MB, free: 3.887 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001872/0.1216, allocations: 75.06 kB / 350 MB, free: 3.812 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006342/0.1223, allocations: 367.6 kB / 350.4 MB, free: 3.41 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.433e-05/0.1224, allocations: 16.19 kB / 350.4 MB, free: 3.395 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.693e-05/0.1225, allocations: 24 kB / 350.4 MB, free: 3.371 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007979/0.1233, allocations: 243.2 kB / 350.6 MB, free: 3.125 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.1233, allocations: 3.984 kB / 350.6 MB, free: 3.121 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.569e-05/0.1234, allocations: 15.95 kB / 350.6 MB, free: 3.105 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.1234, allocations: 0 / 350.6 MB, free: 3.105 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004978/0.1239, allocations: 136.6 kB / 350.8 MB, free: 2.973 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001718/0.1256, allocations: 0.7393 MB / 351.5 MB, free: 2.184 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000626/0.1263, allocations: 198.5 kB / 351.7 MB, free: 1.98 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.1263, allocations: 4 kB / 351.7 MB, free: 1.977 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008139/0.1271, allocations: 385.9 kB / 352.1 MB, free: 1.562 MB / 282.7 MB Notification: Performance of pre-optimization done (n=29): time 3.917e-06/0.1272, allocations: 4 kB / 352.1 MB, free: 1.559 MB / 282.7 MB Notification: Performance of matching and sorting (n=29): time 0.002572/0.1298, allocations: 1.222 MB / 353.3 MB, free: 212 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002396/0.13, allocations: 281 kB / 353.6 MB, free: 15.87 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001877/0.1319, allocations: 0.8351 MB / 354.4 MB, free: 15.03 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001292/0.1321, allocations: 37.7 kB / 354.5 MB, free: 14.98 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.1322, allocations: 180.5 kB / 354.6 MB, free: 14.81 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.1324, allocations: 63.2 kB / 354.7 MB, free: 14.75 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.292e-05/0.1324, allocations: 16 kB / 354.7 MB, free: 14.73 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.1326, allocations: 318.8 kB / 355 MB, free: 14.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004582/0.1331, allocations: 128.2 kB / 355.2 MB, free: 14.29 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004622/0.1335, allocations: 159.9 kB / 355.3 MB, free: 14.12 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005731/0.1341, allocations: 341.5 kB / 355.6 MB, free: 13.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.748e-06/0.1341, allocations: 7.953 kB / 355.7 MB, free: 13.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001709/0.1359, allocations: 0.7253 MB / 356.4 MB, free: 12.95 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002002/0.1361, allocations: 241.6 kB / 356.6 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.1361, allocations: 4 kB / 356.6 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.1362, allocations: 0 / 356.6 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.813e-05/0.1362, allocations: 8 kB / 356.6 MB, free: 12.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.1362, allocations: 4 kB / 356.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004912/0.1367, allocations: 32 kB / 356.7 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001894/0.1369, allocations: 116.1 kB / 356.8 MB, free: 12.5 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 34 ($PRE.bUF3S1.inertialDelaySensitive.y,$PRE.bUF3S2.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,e_table2.y,x_table2.y,bUF3S2.nextstate,bUF3S2.yy,$PRE.bUF3S2.inertialDelaySensitive.x,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,$PRE.bUF3S1.inertialDelaySensitive.x,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.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.001004/0.138, allocations: 0.6162 MB / 357.4 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002128/0.1382, allocations: 83.02 kB / 357.5 MB, free: 11.74 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003341/0.1385, allocations: 126.9 kB / 357.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.1385, allocations: 0 / 357.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.926e-06/0.1386, allocations: 4 kB / 357.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.1386, allocations: 0 / 357.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002912/0.1415, allocations: 1.406 MB / 359 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.1415, allocations: 0 / 359 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.927e-05/0.1416, allocations: 4 kB / 359 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-06/0.1416, allocations: 7.938 kB / 359 MB, free: 10.08 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.651e-05/0.1417, allocations: 27.98 kB / 359 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/0.1417, allocations: 0 / 359 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.1417, allocations: 0 / 359 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002046/0.1438, allocations: 0.9375 MB / 360 MB, free: 9.051 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00109/0.1449, allocations: 423.7 kB / 360.4 MB, free: 8.617 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001957/0.1451, allocations: 24 kB / 360.4 MB, free: 8.594 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004558/0.1456, allocations: 27.92 kB / 360.4 MB, free: 8.566 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002476/0.1459, allocations: 59.92 kB / 360.5 MB, free: 8.508 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002196/0.1461, allocations: 107.9 kB / 360.6 MB, free: 8.402 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001626/0.1477, allocations: 0.6938 MB / 361.3 MB, free: 7.715 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.1478, allocations: 0 / 361.3 MB, free: 7.715 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007679/0.1486, allocations: 96 kB / 361.4 MB, free: 7.621 MB / 298.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.0003342/0.1489, allocations: 150.2 kB / 361.5 MB, free: 7.469 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001748/0.1507, allocations: 0.8857 MB / 362.4 MB, free: 6.484 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.1507, allocations: 3.938 kB / 362.4 MB, free: 6.48 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001061/0.1518, allocations: 0.753 MB / 363.2 MB, free: 5.629 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001638/0.1535, allocations: 233.7 kB / 363.4 MB, free: 5.402 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003506/0.157, allocations: 1.501 MB / 364.9 MB, free: 3.871 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009609/0.158, allocations: 0.9597 MB / 365.9 MB, free: 2.887 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002061/0.1583, allocations: 55.34 kB / 365.9 MB, free: 2.832 MB / 298.7 MB Notification: Performance of SimCode: time 1.092e-06/0.1583, allocations: 0 / 365.9 MB, free: 2.832 MB / 298.7 MB Notification: Performance of Templates: time 0.01249/0.1708, allocations: 5.268 MB / 371.2 MB, free: 13.57 MB / 314.7 MB